summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Fix viewing of encrypted S/MIME messagesLars Ingebrigtsen2020-07-241-2/+8
| | | | | * lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Don't add a content-type header if there already is one (bug#41659).
* Revert "Rectify allout-widgets region undecoration so item at start is not ↵Ken Manheimer2020-07-211-14/+11
| | | | | | | | missed." This reverts commit 33d85cb768b40794bffcd9ab22fbdec1211a74e5. Backporting it to emacs-27 was not appropriate.
* Revert "Resolve missing button-region keymap bindings."Ken Manheimer2020-07-211-22/+15
| | | | | | This reverts commit dd7c191291c8eb1afeac0f1512745491c5c7a317. Backporting it to emacs-27 was not appropriate.
* Revert "Provide missing let definition to prevent background void-variable ↵Ken Manheimer2020-07-211-1/+0
| | | | | | | | error." This reverts commit 3c410b6b4753e02269bb36914e7534eb124150dd. Backporting it to emacs-27 was not appropriate.
* Revert "Don't let item decoration be disrupted by too-shallow items."Ken Manheimer2020-07-211-8/+5
| | | | | | This reverts commit 8684216542889fa57daa32072104afc69785907f. Backporting it to emacs-27 was not appropriate.
* Revert "Fix allout-widgets-mode handling of edits to item cue, fixing ↵Ken Manheimer2020-07-211-2/+3
| | | | | | | | (bug#11312)" This reverts commit 8e13d332481551e4c8c1c66dd0c69dd09256dffc. Backporting it to emacs-27 was not appropriate.
* Run custom-magic-reset in the customize bufferRobert Pluim2020-07-211-3/+4
| | | | | | | | | | | | If the user has navigated away from the customize buffer, then clicking on a widget in the customize buffer applies changes in the selected buffer rather than in the customize buffer. Pass the customize buffer to 'custom-magic-reset' to avoid this. * lisp/cus-edit.el (custom-magic-reset): Add optional buffer argument, apply changes in that buffer. (custom-notify): Pass the buffer containing the widget to 'custom-magic-reset'. (Bug#40788)
* Backport: Rectify allout-widgets region undecoration so item at start is not ↵Ken Manheimer2020-07-201-11/+14
| | | | | | | | | missed. * lisp/allout-widgets.el (allout-widgets-undecorate-region): Reorganize the loop so an item at the start is not skipped. (cherry picked from commit 33d85cb768b40794bffcd9ab22fbdec1211a74e5)
* Backport: Resolve missing button-region keymap bindings.Ken Manheimer2020-07-201-15/+22
| | | | | | | | | | * lisp/allout-widgets.el (allout-item-icon-keymap, allout-item-body-keymap, allout-cue-span-keymap, allout-widgets-mode): Inherit from both (current-local-map) and (current-global-map). This provides for missing global bindings when inheriting from just (current-local-map), eg Esc-<. (cherry picked from commit dd7c191291c8eb1afeac0f1512745491c5c7a317)
* Backport: Provide missing let definition to prevent background void-variable ↵Ken Manheimer2020-07-201-0/+1
| | | | | | | | | | | | error. * lisp/allout-widgets.el (allout-widgets-exposure-change-processor) Let-declare handled-conceal, for reference through `(symbol-value)' within the let body. (Because the error happens in an after-change-functions hook, so it is caught and reported as a message by allout-widgets-hook-error-handler.) (cherry picked from commit 3c410b6b4753e02269bb36914e7534eb124150dd)
* Backport: Don't let item decoration be disrupted by too-shallow items.Ken Manheimer2020-07-201-5/+8
| | | | | | | | | | * lisp/allout-widgets.el (allout-decorate-item-and-context): Check for parent-position having value before using it. Also, shift local emacs vars topic deeper so it doesn't constitute an instance of that particular aberrant case. (cherry picked from commit 8684216542889fa57daa32072104afc69785907f)
* Backport: Fix allout-widgets-mode handling of edits to item cue, fixing ↵Ken Manheimer2020-07-201-3/+2
| | | | | | | | | | | (bug#11312) * lisp/allout-widgets.el (allout-decorate-item-cue): Properly decorate item cue span. (allout-setup-text-properties): use allout-graphics-modification-handler as allout-cue-span-category modification hook. (cherry picked from commit 8e13d332481551e4c8c1c66dd0c69dd09256dffc)
* Merge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/emacs into emacs-27Eli Zaretskii2020-07-201-1/+4
|\
| * Document prefix arg effects for 'epa-mail-{sign,encrypt}'Robert Pluim2020-07-201-1/+4
| | | | | | | | | | | | | | * doc/misc/epa.texi (Mail-mode integration): Describe effect of prefix arg to 'epa-mail-encrypt' and 'epa-mail-sign'. * lisp/epa-mail.el (epa-mail-sign): Describe effect of prefix arg.
* | Revert "Fix filename completion in shell mode buffers"Eli Zaretskii2020-07-181-5/+2
|/ | | | | | This reverts commit e4d17d8cb479ffeeb7dfb7320a1432722ac8df75. Per bug#42383 discussions, the fix for bug#34330 probably just works around the real issue, which is in pcomplete.el.
* Improve documentation of 'bookmark-bmenu-mode'Eli Zaretskii2020-07-181-1/+2
| | | | | * lisp/bookmark.el (bookmark-bmenu-mode): Add `bookmark-bmenu-search' to the doc string. (Bug#42325)
* Update systems using GnuTLS certificate filesEli Zaretskii2020-07-181-2/+3
| | | | | | | * lisp/net/gnutls.el (gnutls-trustfiles): Update the names of the systems in the comments. Reported by Richard Stallman <rms@gnu.org> in https://lists.gnu.org/archive/html/emacs-devel/2020-07/msg00455.html.
* Consistently stylize eldoc as ElDoc in proseBasil L. Contovounesios2020-07-101-4/+4
| | | | | | | | | | | | * doc/emacs/custom.texi (Specifying File Variables): * doc/emacs/modes.texi (Major Modes): * doc/emacs/programs.texi (Lisp Doc): * etc/NEWS.22: * etc/NEWS.23: * lisp/progmodes/python.el: (python-eldoc-function): * test/lisp/progmodes/python-tests.el: Consistently capitalize eldoc as ElDoc rather than Eldoc.
* Repair global-auto-revert-ignore-modes (bug#42271)Mattias Engdegård2020-07-091-1/+1
| | | | | | Reported by Gustavo Tavares Cabral. * lisp/autorevert.el (auto-revert--global-add-current-buffer): Fix typo.
* ; Auto-commit of loaddefs files.Glenn Morris2020-07-011-0/+4
|
* Fix ACTION argument of 'display-buffer' call in gud.elRichard Kim2020-06-281-3/+3
| | | | | * lisp/progmodes/gud.el (gud-common-init): The ACTION argument of 'display-buffer' should be a list of list of functions. (Bug#41888)
* Improve do string of 'man'Eli Zaretskii2020-06-271-1/+5
| | | | | * lisp/man.el (man): Mention the need to use C-q for quoting the SPC character in the man-page input. (Bug#41859)
* Improve documentation of Info node movement commandsEli Zaretskii2020-06-261-4/+14
| | | | | | * lisp/info.el (Info-next, Info-prev, Info-forward-node) (Info-backward-node): More detailed descriptions of what each commands does with respect to child and parent nodes. (Bug#42050)
* Unbreak 'reverse-region'Richard Copley2020-06-221-3/+2
| | | | | | | * lisp/sort.el (reverse-region): Unbreak the function. It was broken by a fix for bug#39376. Copyright-paperwork-exempt: yes
* Rename default function to next-error-buffer-unnavigated-current (bug#40919)Juri Linkov2020-06-171-6/+5
| | | | | | * lisp/simple.el (next-error-find-buffer-function): Rename default function from next-error-no-navigation-try-current to next-error-buffer-unnavigated-current.
* * lisp/image-mode.el (image-toggle-display-image): Fix fit of rotated images.Juri Linkov2020-06-171-4/+12
| | | | | When fitting rotated image to width and height, swap width and height when changing orientation between portrait and landscape (bug#41886).
* Delete, don't kill, dir dir fragments in icomplete-fido-backward-updirJoão Távora2020-06-131-1/+4
| | | | | | | Reported by: Andrew Schwartzmeyer <andrew@schwartzmeyer.com> * lisp/icomplete.el (icomplete-fido-backward-updir): Don't save dir fragments to kill ring.
* * lisp/emulation/cua-rect.el (cua--rectangle-region-insert): New function.Juri Linkov2020-06-101-1/+5
| | | | Add cua--insert-rectangle around region-insert-function (bug#41440).
* * lisp/simple.el (shell-command-on-region): Fix docstring.Juri Linkov2020-06-091-1/+6
| | | | | | | * lisp/simple.el (shell-command-on-region): Mention REGION-NONCONTIGUOUS-P in docstring (bug#41440) * etc/NEWS: Better example for 'windmove-display-default-keybindings'.
* Clean up D-Bus documentation (bug#41744)Basil L. Contovounesios2020-06-081-113/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/errors.texi (Standard Errors): The error symbol dbus-error is defined even when Emacs is built without D-Bus. * doc/misc/dbus.texi (Bus Names, Introspection) (Nodes and Interfaces, Methods and Signal) (Properties and Annotations, Arguments and Signatures) (Synchronous Methods, Receiving Method Calls, Signals) (Alternative Buses, Errors and Events): Clarify wording. Fix indentation of and simplify examples where possible. Improve Texinfo markup and cross-referencing where possible. (Type Conversion): Ditto. Remove mentions of Emacs' fixnum range now that we have bignums. * lisp/net/dbus.el (dbus-return-values-table) (dbus-call-method-asynchronously, dbus-send-signal) (dbus-register-signal, dbus-register-method) (dbus-string-to-byte-array, dbus-byte-array-to-string) (dbus-escape-as-identifier, dbus-check-event, dbus-event-bus-name) (dbus-event-message-type, dbus-event-serial-number) (dbus-event-service-name, dbus-event-path-name) (dbus-event-interface-name, dbus-event-member-name) (dbus-list-activatable-names, dbus-list-queued-owners, dbus-ping) (dbus-introspect-get-interface-names, dbus-introspect-get-interface) (dbus-introspect-get-method, dbus-introspect-get-signal) (dbus-introspect-get-property, dbus-introspect-get-annotation-names) (dbus-introspect-get-annotation, dbus-introspect-get-argument-names) (dbus-introspect-get-argument, dbus-introspect-get-signature) (dbus-set-property, dbus-register-property) (dbus-get-all-managed-objects, dbus-init-bus): Clarify docstring and improve formatting where possible. (dbus-call-method): Ditto. Remove mentions of Emacs' fixnum range now that we have bignums.
* * lisp/image-mode.el (image-transform-original): New command (bug#41222).Juri Linkov2020-06-081-3/+13
| | | | (image-mode-map): Bind it to "so" and add to menu.
* Move tab-bar and tab-line faces to faces.el (part of bug#41200)Juri Linkov2020-06-083-29/+29
| | | | | | | | | | | | | | | | These are basic faces, so they need to be defined in faces.el, otherwise (get 'tab-line 'face) returns 0. * lisp/faces.el (tab-bar, tab-line): Move faces here from tab-bar.el and tab-line.el. * lisp/tab-bar.el (tab-bar): Move face to faces.el. (tab-bar-faces): Add '((tab-bar custom-face)) to the second arg MEMBERS of 'defgroup'. * lisp/tab-line.el (tab-line): Move face to faces.el. (tab-line-faces): Add '((tab-line custom-face)) to the second arg MEMBERS of 'defgroup'.
* Gnus nnir-summary-line-format has no effectTassilo Horn2020-06-071-3/+6
| | | | | | | | * lisp/gnus/nnir.el (nnir-mode): Update summary format specs if nnir-summary-line-format is set and different from gnus-summary-line-format. (nnir-open-server): Run nnir-mode in gnus-summary-generate-hook instead of gnus-summary-prepared-hook.
* Have Fido mode also imitate Ido mode in ignore-case optionsJoão Távora2020-06-051-1/+4
| | | | | | | Suggested by Sean Whitton <spwhitton@spwhitton.name>. * lisp/icomplete.el (icomplete--fido-mode-setup): Set ignore-case options.
* Update package-menu-quick-helpBasil L. Contovounesios2020-06-051-2/+5
| | | | | | | | | | | * lisp/emacs-lisp/package.el (package--quick-help-keys): Filtering is now bound to the prefix '/', not the key 'f' (bug#41721). Advertise only the standard 'g' binding now that both it and 'r' are bound to revert-buffer (bug#35504). (package--prettify-quick-help-key): Avoid modifying string literals. (package-menu-filter): Reintroduce as obsolete alias of package-menu-filter-by-keyword for backward compatibility (bug#36981).
* Update Ukrainian transliterationAndrii Kolomoiets2020-06-051-1/+5
| | | | | * lisp/language/cyril-util.el (standard-display-cyrillic-translit): Add missing letter "ґ"; tweak letter "г". (Bug#41683)
* Improve format-spec documentation (bug#41571)Basil L. Contovounesios2020-06-021-19/+30
| | | | | | | | | * doc/lispref/text.texi (Interpolated Strings): Move from here... * doc/lispref/strings.texi (Custom Format Strings): ...to here, renaming the node and clarifying the documentation. (Formatting Strings): End node with sentence referring to the next one. * lisp/format-spec.el (format-spec): Clarify docstring.
* ; Auto-commit of loaddefs files.Glenn Morris2020-06-011-27/+55
|
* Fix bug #41618 "(byte-compile 'foo) errors when foo is a macro."Alan Mackenzie2020-05-311-3/+4
| | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile): Disentangle the eval of the final form from the pushing of 'macro onto it, doing the former first.
* * lisp/tab-bar.el (switch-to-buffer-other-tab): Normalize buffer.Juri Linkov2020-05-311-3/+4
| | | | | | | * lisp/tab-bar.el (switch-to-buffer-other-tab): Use 'window-normalize-buffer-to-switch-to' on 'buffer-or-name', like does 'pop-to-buffer' used by 'switch-to-buffer-other-frame', instead of raising the error "Invalid buffer" on a non-existent buffer name.
* Make next-error behavior a bit more flexibleDmitry Gutov2020-05-271-14/+24
| | | | | | * lisp/simple.el (next-error-no-navigation-try-current): Extract from the case #2 in next-error-find-buffer (bug#40919). (next-error-find-buffer-function): Use it as the default.
* Revert "Fix eshell-mode-map initialization"Noam Postavsky2020-05-249-159/+100
| | | | | | | It makes eshell-return-exits-minibuffer permanently affect the eshell-mode-map (Bug#41370). Do not merge to master, we will fix it properly there.
* Fix tab-bar-tab-name-ellipsis initializationMatthias Meulien2020-05-251-4/+7
| | | | | * lisp/tab-bar.el (tab-bar-tab-name-truncated): Evaluate displayable character when generating tab name.
* ; * lisp/format-spec.el (format-spec): Fix typo.Basil L. Contovounesios2020-05-241-1/+1
|
* * lisp/subr.el (save-match-data): Clarify use in docstringStefan Monnier2020-05-231-1/+5
|
* CC Mode: Fix bug #39972, by fixing c-display-defun-name for nested defunsAlan Mackenzie2020-05-221-1/+1
| | | | | | * lisp/progmodes/cc-mode.el (c-common-init): Build add-log-current-defun-function out of c-defun-name-and-limits instead of the former c-defun-name.
* Redo RCS Id for pdumperPaul Eggert2020-05-211-4/+0
| | | | | | | | * lisp/version.el: Don’t put an RCS Id style string into the executable via purecopy, as this does not work with the pdumper. * src/emacs.c (RCS_Id): New constant, for 'ident'. (cherry picked from commit 3d1bcfba5e21b29be8669aa2a8f27b344c9e02fd)
* Consider face inheritance when checking region face background.Tassilo Horn2020-05-151-1/+1
| | | | | | | | | | | Some themes (like dracula) make the region face inherit from some other face. If the background color of the region was inherited, `indicate-copied-region' did the switch-point-and-mark-twice dance which is not visible in case the region is highlighted. It just looked like Emacs would hang for a second after M-w. * lisp/simple.el (indicate-copied-region): Consider face inheritance when checking region face background.
* Fix dired default file operation (bug#41261)Leo Vivier2020-05-151-4/+3
| | | | | * lisp/dired-aux.el (dired-dwim-target-directories): Restore pre-emacs-27 behavior of 'dired-dwim-target'.
* Fix docstring of flymake-make-diagnostic (bug#40351)João Távora2020-05-121-3/+4
| | | | * lisp/progmodes/flymake.el (flymake-make-diagnostic): Fix docstring