Gemini Lasswell
4997032c05
Restore some public debugging functions removed in Emacs 27
...
* lisp/emacs-lisp/backtrace.el (backtrace--to-string): New function.
(backtrace-to-string): Use it. Fix whitespace (bug#40728).
* lisp/emacs-lisp/debug.el (debugger-insert-backtrace): New function.
Mark it as obsolete.
(debugger-toggle-locals, debug-help-follow): New aliases.
2020-10-01 20:00:19 +02:00
Lars Ingebrigtsen
d00eb41fc2
Fix loading WSDL data again
...
* lisp/net/soap-client.el (soap-make-wsdl): Change the WSDL
namespace back again.
2020-10-01 19:42:45 +02:00
Lars Ingebrigtsen
2017bf0dd1
Fix restoring data in visual-line-mode
...
* lisp/simple.el (visual-line-mode): Only save values once, even
if the mode is switched on twice (bug#43730). This makes both
previously set local values for variables like truncate-lines, as
well as default values for truncate-lines restorable.
* lisp/emulation/cua-base.el (cua-mode): Ditto.
2020-10-01 18:49:45 +02:00
Andrea Corallo
ddf1b1931c
* test/src/comp-tests.el (comp-tests-bootstrap): Tag it as expensive.
2020-10-01 18:04:00 +02:00
Stefan Kangas
af72f6d510
Silence byte-compiler in two tests
...
* test/lisp/obsolete/cl-tests.el (require):
* test/lisp/simple-tests.el (simple-test-count-words-bug-41761):
Silence byte-compiler.
2020-10-01 15:34:46 +02:00
Stefan Kangas
c6fa0ad315
; Prefer https to http in many URLs
...
These were all tested with https and confirmed working.
2020-10-01 15:28:15 +02:00
Stefan Kangas
379c059263
Remove some obsolete URLs
...
* lisp/net/newst-backend.el (newsticker--raw-url-list-defaults):
Remove some obsolete URLs.
2020-10-01 15:28:14 +02:00
Stefan Kangas
b03f74e0f2
Don't quote lambdas in several places
...
* admin/find-gc.el (find-gc-unsafe):
* lisp/align.el (align-rules-list):
* lisp/comint.el (comint-arguments):
* lisp/double.el (isearch-mode-map):
* lisp/ehelp.el (electric-help-command-loop):
* lisp/emacs-lisp/cl-macs.el (cl-defstruct):
* lisp/emulation/cua-rect.el (cua--copy-rectangle-as-kill)
(cua-copy-rectangle-as-text):
* lisp/eshell/esh-var.el (eshell-parse-variable-ref):
* lisp/hexl.el (hexl-insert-multibyte-char):
* lisp/international/titdic-cnv.el (tsang-quick-converter)
(ziranma-converter):
* lisp/language/tibet-util.el (tibetan-decompose-precomposition-alist):
* lisp/mail/mailalias.el (mail-get-names):
* lisp/mh-e/mh-e.el (mh-auto-fields-list, mh-identity-default):
* lisp/mouse.el (mouse-buffer-menu-map, mouse-buffer-menu-alist):
* lisp/play/gametree.el (gametree-make-heading-function):
* lisp/shell.el (shell--command-completion-data):
* lisp/talk.el (talk-update-buffers):
* lisp/tempo.el (tempo-insert-template, tempo-is-user-element)
(tempo-build-collection):
* lisp/term.el (term-input-filter, term-pager-help):
* lisp/textmodes/table.el (table-delete-column):
* lisp/url/url-cache.el (url-cache-create-filename-human-readable):
* lisp/textmodes/tex-mode.el (latex-imenu-create-index): Don't quote
lambdas.
2020-10-01 15:28:14 +02:00
Stefan Kangas
6cbc253aa0
Don't recommend quoting lambdas
...
* doc/misc/calc.texi (Symbolic Lisp Functions):
* doc/misc/cl.texi (Obsolete Lexical Binding):
* lisp/master.el:
* lisp/progmodes/sql.el (sql-interactive-mode):
* lisp/textmodes/flyspell.el (flyspell-mode):
* lisp/textmodes/ispell.el (ispell-message):
* lisp/textmodes/table.el: Doc fixes; don't recommend quoting
lambdas.
2020-10-01 15:28:14 +02:00
Glenn Morris
6a4b931c21
; Auto-commit of loaddefs files.
2020-10-01 06:27:29 -07:00
Glenn Morris
08bda922b4
; Auto-commit of loaddefs files.
2020-10-01 06:11:26 -07:00
Michael Albinus
2af6b3147d
Clarification in Tramp manual
...
* doc/misc/tramp.texi: Harmonize "Git" spelling.
(Frequently Asked Questions): Describe Emacs version mismatch.
2020-10-01 14:23:20 +02:00
Michael Albinus
8fbaca7d41
Check Emacs version used for Tramp compilation
...
* lisp/net/tramp-compat.el (tramp-compat-emacs-compiled-version):
New defconst. Raise a warning, when it is not equal to the Emacs
version.
2020-10-01 12:16:59 +02:00
Michael Albinus
0aa1e2d9d0
Use Fkeywordp in dbusbind.c, again
...
* src/dbusbind.c (XD_KEYWORDP): New macro.
(XD_DBUS_TYPE_P, Fdbus__init_bus, xd_read_queued_messages): Use it.
2020-10-01 11:20:38 +02:00
Michael Albinus
d8a9588034
Revert last change in dbusbind.c
...
* src/dbusbind.c (XD_DBUS_TYPE_P, Fdbus__init_bus)
(xd_read_queued_messages): Revert last change. (Bug#43724)
2020-10-01 10:32:50 +02:00
Andrea Corallo
2cc82563d2
* lisp/emacs-lisp/comp.el (comp-c-func-name): Add autoload cookie.
2020-10-01 07:55:00 +02:00
Lars Ingebrigtsen
648de09e71
Remove mml-sec-test that assumes the first signature
...
This is no longer supported; the user is asked for what signature to
use.
2020-10-01 05:19:49 +02:00
Lars Ingebrigtsen
26a8821250
Make mml-sec-tests not hang waiting for input
...
* lisp/gnus/mml-sec.el (mml-secure-epg-sign): Only query if we're
running interactively. This makes a test not hang.
2020-10-01 05:17:01 +02:00
Pip Cet
59c343ba0d
Don't optimize away star patterns in minibuffer file name completion
...
* lisp/minibuffer.el (completion-pcm--optimize-pattern): Keep
'star in the pattern (bug#41705).
2020-10-01 05:06:41 +02:00
Lars Ingebrigtsen
c150b9a244
Fix the end-of-query prompt in multi-occur and multi-isearch when fido
...
* lisp/misearch.el (multi-isearch-read-buffers): Ditto.
* lisp/replace.el (multi-occur--prompt): New function (bug#41633).
(multi-occur): Use it.
2020-10-01 03:01:33 +02:00
Alex Bochannek
d11627a7ca
Make gnus-base64-repad a bit stricter again
...
* lisp/gnus/gnus-util.el (gnus-base64-repad): Make the code a bit
stricter again.
2020-10-01 02:44:58 +02:00
Robert Pluim
7518596857
Query for the signer when sending signed mail (with unknown signer)
...
* lisp/gnus/mml-sec.el (mml-secure-sender-sign-query): New
function (bug#40118).
(mml-secure-epg-sign): Use it to determine the signer (bug#40118).
* lisp/gnus/mml-sec.el
(mml-secure-allow-signing-with-unknown-recipient): Remove.
2020-10-01 02:14:17 +02:00
martin rudalics
aea7788b92
Fix segfault in some cases when restoring a selected window
...
* src/xdisp.c (restore_selected_window): Fix the more grave
problems caused by a function deleting the previously selected
frame or window (bug#39977).
2020-10-01 02:00:06 +02:00
Boruch Baum
5d6e65d57a
Split auto-revert-buffers into several functions
...
* lisp/autorevert.el (auto-revert--buffer-candidates)
(auto-revert-buffer): Refactor out...
(auto-revert-buffers): ... from here.
2020-10-01 01:53:30 +02:00
Lars Ingebrigtsen
af32299331
Fix up previous window excursion patch in epa--select-keys
...
* lisp/epa.el (epa--select-keys): Use save-window-excursion
instead of open-coding the macro.
2020-10-01 01:44:05 +02:00
Stefan Monnier
fdaceeb8b4
* lisp/term.el: Make C-/ undo in a nested Emacs subprocess
...
(term-send-C-_): New function.
(term-raw-map): Use it for `C-/`, as is done in xterm and friends.
2020-09-30 19:17:26 -04:00
Stefan Monnier
8f6bde6371
* doc/emacs/basic.texi (Basic Undo): Explain the C-/ situation in xterm
...
AFAICT, in ttys you can send a `C-_` to Emacs either by pressing
`C-/` (e.g. xterm, uxterm, rxvt, xfce4-terminal, gnome-terminal)
or by pressing `C--` (e.g. rxvt, Linux console).
2020-09-30 19:08:47 -04:00
Richard M Stallman
dc3a59f7a1
When recipient has no public key, make offer to skip it optional.
...
* epa-mail.el (epa-mail-offer-skip): New option.
(epa-mail-encrypt): If epa-mail-offer-skip is nil,
don't offer to skip a keyless recipient, just cause error.
2020-09-30 18:44:42 -04:00
Richard M Stallman
0434c1a9a6
Clarify previous undo keys change
...
Clarify which terminals allow C-/ and which make C-_ easy to type.
2020-09-30 18:15:43 -04:00
Lars Ingebrigtsen
5b0d8d0f28
Further doc fixes for dotimes about RESULT
...
* lisp/subr.el (dotimes): Be even more explicit about RESULT
(bug#16206).
2020-09-30 20:31:44 +02:00
Eli Zaretskii
19042966f2
Minor documentation copyedits
...
* etc/NEWS:
* doc/emacs/dired.texi (Dired Enter): Fix wording, punctuation,
and typos in doc of 'dired-switches-in-mode-line'.
2020-09-30 19:38:55 +03:00
Vladimir Nikishkin
d923370551
Fix problem with parsing . as a symbol in bovine
...
* lisp/cedet/semantic/bovine/scm.el (semantic-lex-scheme-symbol):
Symbols do not have to start with a word-constituent character
(bug#40034). In particular, symbols like : and . are valid.
Copyright-paperwork-exempt: yes
2020-09-30 18:32:32 +02:00
Drew Adams
cc3e369ab0
Allow controlling the Dired switches shown in the mode line
...
* doc/emacs/dired.texi (Dired Enter): Document it (bug#41250).
* lisp/dired.el (dired-switches-in-mode-line): New variable (bug#41250).
(dired-sort-set-mode-line): Use it.
2020-09-30 17:59:59 +02:00
Lars Ingebrigtsen
0bd221b29f
Fix problem of having the wrong window selected after saving foo.gpg
...
* lisp/epa.el (epa--select-keys): Restore the window configuration
after selecting the key to use (bug#43703). This also ensures
that the buffer we were editing ends up as the current buffer
after saving it, instead of selecting a different window.
2020-09-30 17:36:39 +02:00
Andrea Corallo
ec23b719e5
* Improve some docstring in src/comp.c
...
* src/comp.c (Fcomp_el_to_eln_filename)
(Fcomp__compile_ctxt_to_file): Improve docstring.
(Fcomp__compile_ctxt_to_file): Rename 'file_name' -> 'filename'.
(Fnative_comp_available_p): Improve docstring.
2020-09-30 17:06:04 +02:00
Eli Zaretskii
a190a446ee
Fix 'move-to-column' when invisible text follows a TAB
...
* src/indent.c (scan_for_column): Accept 2 more arguments, and
report through them the position corresponding to PREVCOL. All
callers changed.
(Fmove_to_column): Use the prev_col's position to test for a TAB
instead of assuming that the TAB is just before point (which is
false when there's invisible text around). (Bug#43587)
* test/src/indent-tests.el: New file.
2020-09-30 17:33:58 +03:00
Lars Ingebrigtsen
56d6e29d80
Clarify the "Forgot to expand macro" message
...
* lisp/emacs-lisp/bytecomp.el (byte-compile-form): Make the
define-after-use warning for macros clearer (bug#43678).
2020-09-30 16:12:32 +02:00
Andrea Corallo
86e37ea8c5
* .gitlab-ci.yml: Uncomment some testing to align with master.
2020-09-30 16:04:24 +02:00
Eli Zaretskii
ed99a1eb89
Minor fixes of recent changes
...
* lisp/emacs-lisp/generic.el (define-generic-mode): Fix typos.
* etc/NEWS: Adjust an entry due to recent changes.
2020-09-30 16:56:08 +03:00
Michael Albinus
b7224f9629
Stricter checks for D-Bus compound types.
...
* src/dbusbind.c (XD_DBUS_TYPE_P, Fdbus__init_bus)
(xd_read_queued_messages): Use Fkeywordp instead of SYMBOLP.
(xd_signature): Stricter checks for compound types.
* test/lisp/net/dbus-tests.el (dbus-test01-compound-types): Extend test.
2020-09-30 15:28:53 +02:00
Michael Albinus
17ecfa8698
Minor code cleanup in dbus-tests.el
...
* test/lisp/net/dbus-tests.el (dbus--tests-dir): Make it a defconst.
(dbus--test-method-reentry-handler): Mark args as unused.
(dbus-test04-method-reentry): Tag it :expensive-test. Fix typo.
(dbus-test06-property-types): Remove duplicate test.
(dbus--test-introspect): Use `insert-file-contents-literally'.
(dbus--test-validate-property): Mark expected-annotations as unused.
(dbus--test-validate-m-or-s): Remove superfluous le-clause.
2020-09-30 12:40:08 +02:00
Hugh Daschbach
d5f9a07862
Add D-Bus method-call reentrant test
...
* test/lisp/net/dbus-tests.el (dbus--tests-method-reentry-handler):
New defun.
(dbus-test04-method-reentry): New test. (Bug#43251)
2020-09-30 11:27:22 +02:00
Hugh Daschbach
2018090987
* test/lisp/net/dbus-tests.el: Add timeout tests.
...
(dbus-test04-call-method-timeout, dbus-test07-introspection-timeout):
New tests.
2020-09-30 11:23:24 +02:00
Hugh Daschbach
0bc19c17fd
Add D-Bus introspection tests
...
* lisp/net/dbus.el (dbus-annotation-deprecated): New defconst.
* test/lisp/net/dbus-tests.el (dbus--tests-dir): New defvar.
(dbus--test-introspect, dbus--test-validate-interface)
(dbus--test-validate-annotations, dbus--test-validate-property)
(dbus--test-validate-m-or-s, dbus--test-validate-signal)
(dbus--test-validate-method): New defuns.
(dbus-test07-introspection): New test.
* test/lisp/net/dbus-resources/org.gnu.Emacs.TestDBus.xml:
New test data.
2020-09-30 11:19:41 +02:00
Hugh Daschbach
7e581607e7
* test/lisp/net/dbus-tests.el: Add property tests. (Bug#43252)
...
(dbus--test-run-property-test, dbus--test-property): New defuns.
(dbus-test06-property-types): New test for property registration,
set, get.
2020-09-30 11:09:17 +02:00
Andrea Corallo
6eb5a8c492
Merge remote-tracking branch 'savannah/master' into clean-up
2020-09-30 09:09:39 +02:00
Stefan Monnier
6c0f1c26d2
Don't have C-x = bug out in a "C" locale with non-ASCII chars
...
* lisp/simple.el (what-cursor-position): Ensure that we always
have a coding system here, even if the locale is "C" (bug#40702).
2020-09-30 05:43:07 +02:00
Lars Ingebrigtsen
fcdcdea324
Fix whitespace regexp in gnus-base64-repad
...
* lisp/gnus/gnus-util.el (gnus-base64-repad): Fix the whitespace
regexp.
2020-09-30 05:05:09 +02:00
Lars Ingebrigtsen
1993c4e300
Fix gnus-base64-repad test failures
2020-09-30 05:05:09 +02:00
Stefan Monnier
52afb2b104
* lisp/emacs-lisp/cl-macs.el (hash-table): Define the type's typep test
2020-09-29 22:28:23 -04:00