summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Don't quote lambdas in several placesStefan Kangas2020-10-0122-46/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Don't recommend quoting lambdasStefan Kangas2020-10-017-19/+19
| | | | | | | | | | | | | | | | | | | | | | * 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.
* | ; Auto-commit of loaddefs files.Glenn Morris2020-10-011-36/+132
| |
* | Use Fkeywordp in dbusbind.c, againMichael Albinus2020-10-011-3/+6
| | | | | | | | | | * src/dbusbind.c (XD_KEYWORDP): New macro. (XD_DBUS_TYPE_P, Fdbus__init_bus, xd_read_queued_messages): Use it.
* | Revert last change in dbusbind.cMichael Albinus2020-10-011-3/+3
| | | | | | | | | | * src/dbusbind.c (XD_DBUS_TYPE_P, Fdbus__init_bus) (xd_read_queued_messages): Revert last change. (Bug#43724)
* | Remove mml-sec-test that assumes the first signatureLars Ingebrigtsen2020-10-011-31/+0
| | | | | | | | | | This is no longer supported; the user is asked for what signature to use.
* | Make mml-sec-tests not hang waiting for inputLars Ingebrigtsen2020-10-011-1/+2
| | | | | | | | | | * lisp/gnus/mml-sec.el (mml-secure-epg-sign): Only query if we're running interactively. This makes a test not hang.
* | Don't optimize away star patterns in minibuffer file name completionPip Cet2020-10-011-6/+6
| | | | | | | | | | * lisp/minibuffer.el (completion-pcm--optimize-pattern): Keep 'star in the pattern (bug#41705).
* | Fix the end-of-query prompt in multi-occur and multi-isearch when fidoLars Ingebrigtsen2020-10-012-10/+14
| | | | | | | | | | | | | | * lisp/misearch.el (multi-isearch-read-buffers): Ditto. * lisp/replace.el (multi-occur--prompt): New function (bug#41633). (multi-occur): Use it.
* | Make gnus-base64-repad a bit stricter againAlex Bochannek2020-10-012-6/+13
| | | | | | | | | | * lisp/gnus/gnus-util.el (gnus-base64-repad): Make the code a bit stricter again.
* | Query for the signer when sending signed mail (with unknown signer)Robert Pluim2020-10-012-13/+55
| | | | | | | | | | | | | | | | | | * 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.
* | Fix segfault in some cases when restoring a selected windowmartin rudalics2020-10-011-23/+72
| | | | | | | | | | | | * src/xdisp.c (restore_selected_window): Fix the more grave problems caused by a function deleting the previously selected frame or window (bug#39977).
* | Split auto-revert-buffers into several functionsBoruch Baum2020-10-011-52/+60
| | | | | | | | | | | | * lisp/autorevert.el (auto-revert--buffer-candidates) (auto-revert-buffer): Refactor out... (auto-revert-buffers): ... from here.
* | Fix up previous window excursion patch in epa--select-keysLars Ingebrigtsen2020-10-011-3/+2
| | | | | | | | | | * lisp/epa.el (epa--select-keys): Use save-window-excursion instead of open-coding the macro.
* | * lisp/term.el: Make C-/ undo in a nested Emacs subprocessStefan Monnier2020-09-301-0/+2
| | | | | | | | | | (term-send-C-_): New function. (term-raw-map): Use it for `C-/`, as is done in xterm and friends.
* | * doc/emacs/basic.texi (Basic Undo): Explain the C-/ situation in xtermStefan Monnier2020-09-301-4/+5
| | | | | | | | | | | | 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).
* | When recipient has no public key, make offer to skip it optional.Richard M Stallman2020-09-301-4/+13
| | | | | | | | | | | | * 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.
* | Clarify previous undo keys changeRichard M Stallman2020-09-301-7/+7
| | | | | | | | Clarify which terminals allow C-/ and which make C-_ easy to type.
* | Further doc fixes for dotimes about RESULTLars Ingebrigtsen2020-09-301-2/+5
| | | | | | | | | | * lisp/subr.el (dotimes): Be even more explicit about RESULT (bug#16206).
* | Minor documentation copyeditsEli Zaretskii2020-09-302-12/+13
| | | | | | | | | | | | * etc/NEWS: * doc/emacs/dired.texi (Dired Enter): Fix wording, punctuation, and typos in doc of 'dired-switches-in-mode-line'.
* | Fix problem with parsing . as a symbol in bovineVladimir Nikishkin2020-09-301-1/+1
| | | | | | | | | | | | | | | | * 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
* | Allow controlling the Dired switches shown in the mode lineDrew Adams2020-09-303-13/+58
| | | | | | | | | | | | | | * 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.
* | Fix problem of having the wrong window selected after saving foo.gpgLars Ingebrigtsen2020-09-301-25/+27
| | | | | | | | | | | | | | * 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.
* | Fix 'move-to-column' when invisible text follows a TABEli Zaretskii2020-09-302-11/+78
| | | | | | | | | | | | | | | | | | | | | | * 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.
* | Clarify the "Forgot to expand macro" messageLars Ingebrigtsen2020-09-301-1/+2
| | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-form): Make the define-after-use warning for macros clearer (bug#43678).
* | Minor fixes of recent changesEli Zaretskii2020-09-302-1/+3
| | | | | | | | | | | | * lisp/emacs-lisp/generic.el (define-generic-mode): Fix typos. * etc/NEWS: Adjust an entry due to recent changes.
* | Stricter checks for D-Bus compound types.Michael Albinus2020-09-302-30/+38
| | | | | | | | | | | | | | | | * 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.
* | Minor code cleanup in dbus-tests.elMichael Albinus2020-09-301-33/+30
| | | | | | | | | | | | | | | | | | | | * 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.
* | Add D-Bus method-call reentrant testHugh Daschbach2020-09-301-0/+34
| | | | | | | | | | | | * test/lisp/net/dbus-tests.el (dbus--tests-method-reentry-handler): New defun. (dbus-test04-method-reentry): New test. (Bug#43251)
* | * test/lisp/net/dbus-tests.el: Add timeout tests.Hugh Daschbach2020-09-301-0/+38
| | | | | | | | | | (dbus-test04-call-method-timeout, dbus-test07-introspection-timeout): New tests.
* | Add D-Bus introspection testsHugh Daschbach2020-09-303-0/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | * test/lisp/net/dbus-tests.el: Add property tests. (Bug#43252)Hugh Daschbach2020-09-301-0/+396
| | | | | | | | | | | | (dbus--test-run-property-test, dbus--test-property): New defuns. (dbus-test06-property-types): New test for property registration, set, get.
* | Don't have C-x = bug out in a "C" locale with non-ASCII charsStefan Monnier2020-09-301-1/+5
| | | | | | | | | | * lisp/simple.el (what-cursor-position): Ensure that we always have a coding system here, even if the locale is "C" (bug#40702).
* | Fix whitespace regexp in gnus-base64-repadLars Ingebrigtsen2020-09-301-1/+1
| | | | | | | | | | * lisp/gnus/gnus-util.el (gnus-base64-repad): Fix the whitespace regexp.
* | Fix gnus-base64-repad test failuresLars Ingebrigtsen2020-09-301-6/+3
| |
* | * lisp/emacs-lisp/cl-macs.el (hash-table): Define the type's typep testStefan Monnier2020-09-291-0/+1
| |
* | Fix isearch-group-* colours on low-colour displaysLars Ingebrigtsen2020-09-301-27/+27
| | | | | | | | | | | | * lisp/isearch.el (isearch-group-1): On low-colour displays, just use the normal isearch colour (bug#43702). (isearch-group-2 etc): Ditto.
* | define-generic-mode doc string fixLars Ingebrigtsen2020-09-301-0/+4
| | | | | | | | | | * lisp/emacs-lisp/generic.el (define-generic-mode): Say what a generic mode is (bug#43713).
* | Give better error feedback on wrong password in .gpg filesLars Ingebrigtsen2020-09-302-3/+19
| | | | | | | | | | | | | | | | | | | | * lisp/epa-file.el (epa-file--find-file-not-found-function): Do a user-error when there's a wrong password (bug#43704). (epa--wrong-password-p): New function. (epa-file-insert-file-contents): Use it, and stash the error away for later signalling. * lisp/emacs-lisp/subr-x.el (if-let): Autoload.
* | soap-client: Bump version to 3.2.0Thomas Fitzsimmons2020-09-291-1/+1
| | | | | | | | * lisp/net/soap-client.el: Bump version to 3.2.0.
* | soap-client: Remove FIXME commentThomas Fitzsimmons2020-09-291-2/+0
| | | | | | | | | | * lisp/net/soap-client.el (soap-encode-attributes): Remove cl-defmethod FIXME comment; continue supporting Emacs 24.1.
* | soap-client: Update soap-decode-date-timeThomas Fitzsimmons2020-09-291-33/+110
| | | | | | | | | | | | | | | | * lisp/net/soap-client.el (soap-decode-date-time): Add support for Emacs versions that support fractional seconds. Make DATATYPE optional. Remove FIXME comment. Co-authored-by: Paul Eggert <eggert@cs.ucla.edu>
* | More strict D-Bus type checkingMichael Albinus2020-09-293-21/+84
| | | | | | | | | | | | | | | | | | | | * lisp/net/dbus.el (dbus-register-monitor): Register proper key. (dbus-monitor-handler): Adapt docstring. Use grave text-quoting-style. * src/dbusbind.c (xd_signature, xd_append_arg): More strict tests. (syms_of_dbusbind): Adapt docstring. * test/lisp/net/dbus-tests.el (dbus-test01-basic-types): Extend test.
* | Fix emacsclient -c foo.txt behaviour with many framesLars Ingebrigtsen2020-09-291-4/+13
| | | | | | | | | | | | | | | | * lisp/server.el (server-execute): Pass in whether we opened a new frame or not (bug#43645). (server-switch-buffer): Use this to switch to the requested buffer in the new frame if we have "emacsclient -c foo.txt", and retain the old behaviour if it's "emacsclient foo.txt".
* | Make M-x compile skip the header when looking for errors etcLars Ingebrigtsen2020-09-291-1/+12
| | | | | | | | | | | | * lisp/progmodes/compile.el (compilation--ensure-parse): Skip the header when parsing (bug#43651). (compilation-start): Mark the end.
* | Fix space parsing in gnus-base64-repadLars Ingebrigtsen2020-09-291-1/+1
| | | | | | | | | | * lisp/gnus/gnus-util.el (gnus-base64-repad): Get the separator regexp right -- there will often be spaces around the newlines.
* | * lisp/gnus/smime.el (smime-openssl-program): Allow nil value.Mattias EngdegÄrd2020-09-291-2/+3
| |
* | Fix custom-tests with non-GNU grepMattias EngdegÄrd2020-09-291-1/+1
| | | | | | | | | | * admin/cus-test.el (cus-test-get-lisp-files): Add path argument required by standard grep (BSD, for instance).
* | * src/eval.c (Fapply): Simplify last changeStefan Monnier2020-09-281-5/+1
| |
* | Improve D-Bus monitorMichael Albinus2020-09-281-7/+59
| | | | | | | | | | | | | | | | | | * lisp/net/dbus.el (dbus-monitor-method-call) (dbus-monitor-method-return, dbus-monitor-error) (dbus-monitor-signal): New defconsts. (dbus-monitor-goto-serial): New defun. (dbus-monitor-handler): Use them. Add timestamp. Make also links between D-Bus messages with the same serial.