Commit 8f46e67f authored by Glenn Morris's avatar Glenn Morris

Merge from origin/emacs-27

1fc742b6 ; Update ChangeLog.3
4c7f6217 * etc/AUTHORS: Update.
24391f51 Update authors.el
56f95880 * etc/NEWS: Remove temporary markup.
73a2f510 Add another test for global module references

# Conflicts:
#	etc/NEWS
parents 64a1b424 1fc742b6
2020-07-28 Nicolas Petton <>
* etc/NEWS: Remove temporary markup.
2020-07-26 Philipp Stephani <>
Add another test for global module references
* test/src/emacs-module-tests.el (mod-test-globref-reordered): New
unit test.
* test/data/emacs-module/mod-test.c (Fmod_test_globref_reordered): New
test module function.
(emacs_module_init): Export it.
2020-07-26 Philipp Stephani <>
Backport: add another test case for module assertions.
This backports commit 9f01ce6327 from master. Since the bug isn’t
present on emacs-27, just backport the new test case.
* test/data/emacs-module/mod-test.c (Fmod_test_globref_invalid_free):
New test module function.
(emacs_module_init): Export it.
* test/src/emacs-module-tests.el
(module--test-assertions--globref-invalid-free): New unit test.
2020-07-26 Philipp Stephani <>
Backport: Add module test for edge case.
This backports commit 6355a3ec62 from master. Since the bug isn’t
present in emacs-27, just backport the test case.
* test/data/emacs-module/mod-test.c
(Fmod_test_invalid_store_copy): New test module function.
(emacs_module_init): Export it.
* test/src/emacs-module-tests.el
New unit test.
2020-07-25 Eli Zaretskii <>
Fix last change
* src/composite.c (composition_reseat_it): Fix of the commentary,
and a minor change of the last fix.
2020-07-25 Pip Cet <>
Fix Arabic shaping when column-number-mode is in effect
* src/indent.c (scan_for_column, compute_motion): Pass -1,
instead of NEUTRAL_DIR, to 'composition_reseat_it'.
* src/composite.c (composition_reseat_it): Interpret negative
value of BIDI_LEVEL to mean the caller doesn't know what is the
bidi direction of the text. (Bug#41005)
2020-07-24 Eli Zaretskii <>
Fix description of kmacro-* commands in the user manual
* doc/emacs/kmacro.texi (Basic Keyboard Macro): Separate old-style
macro definition commands from the new style in the summary
table. (Bug#42492)
2020-07-24 Lars Ingebrigtsen <>
Fix viewing of encrypted S/MIME messages
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Don't
add a content-type header if there already is one (bug#41659).
2020-07-21 Ken Manheimer <>
Revert "Rectify allout-widgets region undecoration so item at start is not missed."
This reverts commit 33d85cb768b40794bffcd9ab22fbdec1211a74e5.
Backporting it to emacs-27 was not appropriate.
2020-07-21 Ken Manheimer <>
Revert "Resolve missing button-region keymap bindings."
This reverts commit dd7c191291c8eb1afeac0f1512745491c5c7a317.
Backporting it to emacs-27 was not appropriate.
2020-07-21 Ken Manheimer <>
Revert "Provide missing let definition to prevent background void-variable error."
This reverts commit 3c410b6b4753e02269bb36914e7534eb124150dd.
Backporting it to emacs-27 was not appropriate.
2020-07-21 Ken Manheimer <>
Revert "Don't let item decoration be disrupted by too-shallow items."
This reverts commit 8684216542889fa57daa32072104afc69785907f.
Backporting it to emacs-27 was not appropriate.
2020-07-21 Ken Manheimer <>
Revert "Fix allout-widgets-mode handling of edits to item cue, fixing (bug#11312)"
This reverts commit 8e13d332481551e4c8c1c66dd0c69dd09256dffc.
Backporting it to emacs-27 was not appropriate.
2020-07-21 Robert Pluim <>
Run custom-magic-reset in the customize buffer
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)
2020-07-20 Ken Manheimer <>
Backport: Rectify allout-widgets region undecoration so item at start is not 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)
2020-07-20 Ken Manheimer <>
Backport: Resolve missing button-region keymap bindings.
* 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)
2020-07-20 Ken Manheimer <>
Backport: Provide missing let definition to prevent background void-variable 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)
2020-07-20 Ken Manheimer <>
Backport: Don't let item decoration be disrupted by too-shallow items.
* 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)
2020-07-20 Ken Manheimer <>
Backport: Fix allout-widgets-mode handling of edits to item cue, fixing (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)
2020-07-20 Robert Pluim <>
Document prefix arg effects for 'epa-mail-{sign,encrypt}'
* 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.
2020-07-20 Robert Pluim <>
* etc/NEWS: Correct description of :client-certificate change
2020-07-18 Eli Zaretskii <>
Revert "Fix filename completion in shell mode buffers"
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.
2020-07-18 Eli Zaretskii <>
Improve documentation of 'bookmark-bmenu-mode'
* lisp/bookmark.el (bookmark-bmenu-mode): Add
`bookmark-bmenu-search' to the doc string. (Bug#42325)
2020-07-18 Eli Zaretskii <>
Update systems using GnuTLS certificate files
* lisp/net/gnutls.el (gnutls-trustfiles): Update the names of the
systems in the comments. Reported by Richard Stallman <>
2020-07-17 Eli Zaretskii <>
Improve documentation of 'kill-emacs'
* doc/lispref/os.texi (Killing Emacs):
* src/emacs.c (Fkill_emacs): Document what non-integer, non-string
argument to 'kill-emacs' means. (Bug#42400)
2020-07-17 Eli Zaretskii <>
Improve documentation of 'display-raw-bytes-as-hex'
* doc/emacs/display.texi (Text Display): Mention
'display-raw-bytes-as-hex'. (Bug#42384)
2020-07-17 Robert Pluim <>
Correct descriptions of init file
These still referred to XDG as being preferred.
* doc/emacs/custom.texi (Init File): Correct description of init
file preference order (Bug#42388).
* doc/emacs/custom.texi (Find Init): Correct description of
default init-file.
2020-07-16 Eli Zaretskii <>
Fix interrupt-process on MS-Windows
* src/w32proc.c (sys_kill): Test the status of the left Ctrl key
for the purpose of restoring it after simulating Ctrl-C. This
avoids leaving the left Ctrl key status in depressed state when
the user actually pressed the right Ctrl key. (Bug#42350)
2020-07-11 Andrea Corallo <>
Revert "* doc/misc/flymake.texi (An annotated example backend): Typo fix."
This reverts commit b1ad0380d2372b8df35ff603b8918d22c27ad964.
2020-07-11 Mattias Engdegård <>
Correct 'concat' manual entry (bug#42296)
* doc/lispref/strings.texi (Creating Strings): 'concat' does not
necessarily return a newly allocated string. This has been the case
at least since 1997 (Emacs 20.3).
2020-07-11 Andrea Corallo <>
* doc/misc/flymake.texi (An annotated example backend): Typo fix.
2020-07-11 Eli Zaretskii <>
Add commentary in gtkutil.c
* src/gtkutil.c: Add a comment regarding the incompatibilities
vis-a-vis GTK. Suggested by Richard Stallman <>.
2020-07-10 Basil L. Contovounesios <>
Consistently stylize eldoc as ElDoc in prose
* 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:
* test/lisp/progmodes/python-tests.el: Consistently capitalize eldoc
as ElDoc rather than Eldoc.
2020-07-09 Eli Zaretskii <>
Improve documentation of "C-u C-x ="
* doc/emacs/mule.texi (International Chars): Mention the
composition information displayed by "C-u C-x =". (Bug#42256)
2020-07-09 Paul Eggert <>
Mention floating rounding issues
* doc/lispref/numbers.texi (Float Basics): Mention floating-point
rounding issues uncovered by the discussion in Bug#42417.
2020-07-09 Mattias Engdegård <>
Repair global-auto-revert-ignore-modes (bug#42271)
Reported by Gustavo Tavares Cabral.
* lisp/autorevert.el (auto-revert--global-add-current-buffer): Fix typo.
2020-07-08 Eli Zaretskii <>
One more improvement of left/right-fringe display spec docs
* doc/lispref/display.texi (Fringe Bitmaps): Yet another
clarification of how to use FACE in left/right-fringe display
2020-07-07 Eli Zaretskii <>
Another clarification of left/right-fringe display spec
* doc/lispref/display.texi (Fringe Bitmaps): More accurate
description of what FACE means in the left/right-fringe display
2020-07-07 Eli Zaretskii <>
Avoid infloop in 'format-mode-line'
* src/xdisp.c (decode_mode_spec): Don't use W->start if it is
outside of the buffer's accessible region. (Bug#42220)
2020-07-05 Eli Zaretskii <>
Clarify the documentation of 'left/right-fringe' display spec
* doc/lispref/display.texi (Other Display Specs, Fringe Bitmaps):
Clarify how the optional FACE parameter of the left-fringe and
right-fringe display spec is used. Reported by Gregory Heytings
2020-07-04 Eli Zaretskii <>
Minor improvement in ELisp manual
* doc/lispref/frames.texi (Position Parameters): Clarify the
description of the 'above' frame parameter. (Bug#42154)
2020-07-02 Michael Albinus <>
* doc/misc/tramp.texi (Customizing Methods): Fix typo.
2020-06-29 Philipp Stephani <>
Fix undefined behavior in json.c (Bug#42113)
* src/json.c (lisp_to_json_toplevel_1, Fjson_parse_string): Check
whether input strings are actually strings.
* test/src/json-tests.el (json-parse-string/wrong-type)
(json-serialize/wrong-hash-key-type): New regression tests.
2020-06-28 Richard Kim <>
Fix ACTION argument of 'display-buffer' call in gud.el
* lisp/progmodes/gud.el (gud-common-init): The ACTION argument of
'display-buffer' should be a list of list of functions. (Bug#41888)
2020-06-27 Eli Zaretskii <>
* src/keyboard.c (Fclear_this_command_keys): Doc fix.
2020-06-27 Eli Zaretskii <>
Improve do string of 'man'
* lisp/man.el (man): Mention the need to use C-q for quoting the
SPC character in the man-page input. (Bug#41859)
2020-06-26 Eli Zaretskii <>
Fix posn-at-point at beginning of a display string
* src/xdisp.c (pos_visible_p): Account for the line-number width
when the display string at CHARPOS ends in a newline. (Bug#42039)
2020-06-26 Eli Zaretskii <>
Improve documentation of Info node movement commands
* 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)
2020-06-22 Phillip Lord <>
Add Jansson dependency to Windows Build
* admin/nt/dist-build/ Add dependency
2020-06-22 Richard Copley <> (tiny change)
Unbreak 'reverse-region'
* lisp/sort.el (reverse-region): Unbreak the function. It was
broken by a fix for bug#39376.
2020-06-22 Basil L. Contovounesios <>
Fix typos and markup in fill column indicator docs
* doc/emacs/display.texi (Displaying Boundaries): Fix typos and
Texinfo markup.
2020-06-20 Stephen Berman <>
Avoid crashes in 'defconst'
* src/eval.c (Fdefconst): Verify that SYMBOL is a known symbol.
2020-06-20 Richard Stallman <>
Fix text about Lisp archives in the Emacs FQ
* doc/misc/efaq.texi (Packages that do not come with Emacs): Warn
about using Lisp archives other than GNU ELPA.
2020-06-20 Eli Zaretskii <>
Don't use 'cl' functions in ELisp manual's examples
* doc/lispref/control.texi (pcase Macro): Use 'cl-evenp' instead
of 'evenp'. (Bug#41947)
2020-06-17 Basil L. Contovounesios <>
Fix some Texinfo markup
* doc/misc/gnus-faq.texi (FAQ 3-11):
* doc/emacs/frames.texi (Tab Bars): Consistently use @var with
lower-case metasyntactic variables and @minus instead of a dash.
(Text-Only Mouse):
* doc/emacs/files.texi (Auto Revert):
* doc/emacs/misc.texi (emacsclient Options)
(Embedded WebKit Widgets):
* doc/lispref/control.texi (pcase Macro):
* doc/lispref/debugging.texi (Backtraces):
* doc/lispref/files.texi (Truenames):
* doc/lispref/frames.texi (Management Parameters):
* doc/lispref/os.texi (Time Calculations):
* doc/lispref/text.texi (Parsing JSON):
* doc/misc/efaq-w32.texi (Other versions of Emacs, Debugging)
(Swap Caps NT, Printing, Bash, Developing with Emacs):
* doc/misc/efaq.texi (New in Emacs 25):
* doc/misc/emacs-gnutls.texi (Help For Users):
* doc/misc/message.texi (Using S/MIME, Passphrase caching):
* test/manual/etags/tex-src/gzip.texi (Overview): Use @. when a
sentence in the middle of a paragraph ends with an upper-case letter
as per "(texinfo) Ending a Sentence".
2020-06-17 Basil L. Contovounesios <>
Fix recentf typo in Emacs manual
* doc/emacs/files.texi (File Conveniences): Fix misspelling of
2020-06-17 Juri Linkov <>
Rename default function to next-error-buffer-unnavigated-current (bug#40919)
* lisp/simple.el (next-error-find-buffer-function): Rename default function
from next-error-no-navigation-try-current
to next-error-buffer-unnavigated-current.
2020-06-17 Juri Linkov <>
* lisp/image-mode.el (image-toggle-display-image): Fix fit of rotated images.
When fitting rotated image to width and height, swap width and height
when changing orientation between portrait and landscape (bug#41886).
2020-06-16 Michael Albinus <>
* doc/misc/tramp.texi (Predefined connection information): Add "tmpdir".
2020-06-13 João Távora <>
Delete, don't kill, dir dir fragments in icomplete-fido-backward-updir
Reported by: Andrew Schwartzmeyer <>
* lisp/icomplete.el (icomplete-fido-backward-updir): Don't save
dir fragments to kill ring.
2020-06-13 Basil L. Contovounesios <>
Revert markup change in with-coding-priority docs
This partially reverts commit fc759eb9b3
"Fix with-coding-priority markup in Elisp manual"
of 2019-10-13T15:36:02Z!
For discussion, see the following thread:
* doc/lispref/nonascii.texi (Specifying Coding Systems): Use more
specific cross-reference to progn even if info.el displays it
2020-06-10 Juri Linkov <>
* lisp/emulation/cua-rect.el (cua--rectangle-region-insert): New function.
Add cua--insert-rectangle around region-insert-function (bug#41440).
2020-06-09 Juri Linkov <>
* lisp/simple.el (shell-command-on-region): Fix docstring.
* lisp/simple.el (shell-command-on-region): Mention REGION-NONCONTIGUOUS-P
in docstring (bug#41440)
* etc/NEWS: Better example for 'windmove-display-default-keybindings'.
2020-06-08 Basil L. Contovounesios <>
Clean up D-Bus documentation (bug#41744)
* 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.
2020-06-08 Juri Linkov <>
* lisp/image-mode.el (image-transform-original): New command (bug#41222).
(image-mode-map): Bind it to "so" and add to menu.
2020-06-08 Juri Linkov <>
Move tab-bar and tab-line faces to faces.el (part of bug#41200)
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'.
2020-06-07 Basil L. Contovounesios <>
Fix typo in "(elisp) Type Keywords"
* doc/lispref/customize.texi (Type Keywords): Fix typo of 'choice'
composite type. (Bug#41749)
2020-06-07 Tassilo Horn <>
Gnus nnir-summary-line-format has no effect
* lisp/gnus/nnir.el (nnir-mode): Update summary format specs if
nnir-summary-line-format is set and different from
(nnir-open-server): Run nnir-mode in gnus-summary-generate-hook
instead of gnus-summary-prepared-hook.
2020-06-06 Eli Zaretskii <>
Improve documentation of 'window-text-pixel-size'
* doc/lispref/display.texi (Size of Displayed Text): Clarify the
description of 'window-text-pixel-size'.
2020-06-06 Eli Zaretskii <>
* src/xdisp.c (Fwindow_text_pixel_size): Doc fix. (Bug#41737)
2020-06-06 Basil L. Contovounesios <>
Minor improvements to EDE and EIEIO manuals
For discussion, see the following threads:
* doc/misc/ede.texi (ede-generic-project): Clean up example.
* doc/misc/eieio.texi (Accessing Slots): Document slot-value as a
generalized variable and set-slot-value as obsolete.
(Predicates): Fix typo.
(Introspection): Document eieio-class-slots in place of the obsolete
2020-06-06 João Távora <>
Have Fido mode also imitate Ido mode in ignore-case options
Suggested by Sean Whitton <>.
* lisp/icomplete.el (icomplete--fido-mode-setup): Set ignore-case
2020-06-05 Basil L. Contovounesios <>
Update package-menu-quick-help
* 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).
2020-06-05 Eli Zaretskii <>
Improve documentation of 'sort-subr'
* doc/lispref/text.texi (Sorting): Clarify the meaning and use of
PREDICATE argument to 'sort-subr'. (Bug#41706)
2020-06-05 Andrii Kolomoiets <>
Update Ukrainian transliteration
* lisp/language/cyril-util.el (standard-display-cyrillic-translit):
Add missing letter "ґ"; tweak letter "г". (Bug#41683)
2020-06-05 Eli Zaretskii <>
Fix Arabic shaping when eww/shr fill the text to be rendered
* src/hbfont.c (hbfont_shape): Don't use DIRECTION if the current
buffer has bidi reordering disabled. (Bug#41005)
2020-06-03 Basil L. Contovounesios <>
Silence some byte-compiler warnings in tests
* test/lisp/emacs-lisp/cl-generic-tests.el:
* test/lisp/progmodes/elisp-mode-tests.el: Declare functions
referred to within macroexpansions.
(xref-elisp-overloadable-separate-default): Prefix unused arguments
with underscore.