Robert Pluim [Mon, 15 Nov 2021 17:50:30 +0000 (19:50 +0200)]
* lisp/repeat.el (describe-repeat-maps): Use help-fns--analyze-function.
Print keys bound to commands in every keymap (bug#49265)
Juri Linkov [Mon, 15 Nov 2021 17:39:37 +0000 (19:39 +0200)]
* lisp/repeat.el: Detect changes in the minibuffer state (bug#47566)
(repeat--prev-mb): New internal variable.
(repeat-post-hook): Check the property 'repeat-map' on the symbol
from 'this-command' in addition to 'real-this-command'. Don't allow
repeatable maps in the activated minibuffer or in the minibuffer
from another command. Set 'repeat--prev-mb' at the end.
Eli Zaretskii [Mon, 15 Nov 2021 13:35:31 +0000 (15:35 +0200)]
Avoid segfaults due to freed face cache
* src/xfaces.c (face_at_buffer_position): Make sure DEFAULT_FACE
is usable. (Bug#51864)
Stefan Kangas [Mon, 15 Nov 2021 09:58:53 +0000 (10:58 +0100)]
Doc fix; change recommended file name of custom-file
* lisp/cus-edit.el (custom-file): Change file name recommendation to
match Info node '(emacs) Saving Customizations'.
Philip Kaludercic [Sun, 14 Nov 2021 18:41:31 +0000 (19:41 +0100)]
* rcirc.el (rcirc-define-command): Fix interactive-spec generation
* rcirc.el (rcirc-define-command): Wrap interactive spec in a list call.
Lars Ingebrigtsen [Sun, 14 Nov 2021 01:46:38 +0000 (02:46 +0100)]
Fix `C-h k' in gnus-article-mode (don't merge)
* lisp/gnus/gnus-art.el (gnus-article-describe-key):
(gnus-article-describe-key-briefly): Fix `describe-key' calling
convention (bug#51796).
Daniel Martín [Sun, 14 Nov 2021 14:30:52 +0000 (15:30 +0100)]
Fix semantic-symref-perform-search doc string
* lisp/cedet/semantic/symref/cscope.el (semantic-symref-perform-search):
Fix the docstring to refer to the correct tool (bug#51846).
Eli Zaretskii [Sun, 14 Nov 2021 12:46:27 +0000 (14:46 +0200)]
Add more files to be natively-compiled AOT
* src/Makefile.in (elnlisp): Add emacs-lisp/gv.eln and other
missing dependencies of comp.el.
Lars Ingebrigtsen [Sun, 14 Nov 2021 03:54:40 +0000 (04:54 +0100)]
gnus-summary-line-format doc string clarification
* lisp/gnus/gnus.el (gnus-summary-line-format): Clarify the Date
part of the doc string (bug#51823).
Alan Mackenzie [Sat, 13 Nov 2021 18:33:17 +0000 (18:33 +0000)]
Fix follow-scroll-down in a small buffer which starts slightly scrolled
This fixes bug #51814.
* lisp/follow.el (follow-scroll-down): Do away with the optimization of doing
vertical-motion over only one window. Instead move over all windows, to
checck for being close to point-min, and setting point accordingly.
Eli Zaretskii [Thu, 31 Dec 2020 18:28:30 +0000 (20:28 +0200)]
Fix compilation on MS-Windows
* src/callproc.c (emacs_spawn) <fork_done>: Define the label only
if USABLE_POSIX_SPAWN is defined, to avoid a compiler warning.
(cherry picked from commit
a8fc08085110de00ebcbd67b5273a755a5cb8ea1)
Philipp Stephani [Wed, 30 Dec 2020 13:42:01 +0000 (14:42 +0100)]
Use posix_spawn if possible.
posix_spawn is less error-prone than vfork + execve, and can make
better use of system-specific enhancements like 'clone' on Linux. Use
it if we don't need to configure a pseudoterminal.
Backported from commit
a60053f8368e058229721f1bf1567c2b1676b239.
Unlike that commit, only define USABLE_POSIX_SPAWN on macOS, because
there posix_spawn is much faster than vfork.
Don't merge to master.
* configure.ac (HAVE_SPAWN_H, HAVE_POSIX_SPAWN)
(HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR)
(HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP)
(HAVE_POSIX_SPAWNATTR_SETFLAGS, HAVE_DECL_POSIX_SPAWN_SETSID): New
configuration variables.
* src/callproc.c (USABLE_POSIX_SPAWN): New configuration macro.
(emacs_posix_spawn_init_actions)
(emacs_posix_spawn_init_attributes, emacs_posix_spawn_init): New
helper functions.
(emacs_spawn): Use posix_spawn if possible.
(cherry picked from commit
a60053f8368e058229721f1bf1567c2b1676b239)
Eli Zaretskii [Sat, 13 Nov 2021 14:37:39 +0000 (16:37 +0200)]
Improve style and comments in font-related sources
* src/w32font.c (fill_in_logfont): Stylistic changes.
* src/font.h (font_property_index, font_select_entity):
Add/improve comments.
Stefan Kangas [Fri, 12 Nov 2021 12:50:55 +0000 (13:50 +0100)]
; Fix typos
Eli Zaretskii [Fri, 12 Nov 2021 08:53:52 +0000 (10:53 +0200)]
Improve documentation of 'decode-coding-region'
* src/coding.c (Fdecode_coding_region): Doc fix.
* doc/lispref/nonascii.texi (Coding System Basics)
(Explicit Encoding): Explain the significance of using 'undecided'
in 'decode-coding-*' functions.
Lars Ingebrigtsen [Fri, 12 Nov 2021 03:44:09 +0000 (04:44 +0100)]
Fix problem with temp buffer killing in package-install-file
* lisp/emacs-lisp/package.el (package-install-file): Allow killing
the temporary buffer without querying (bug#51769).
Lars Ingebrigtsen [Fri, 12 Nov 2021 03:39:02 +0000 (04:39 +0100)]
Fix Lisp Intro markup error
* doc/lispintro/emacs-lisp-intro.texi (Insert let): Fix @code
markup error (bug#51777).
Eli Zaretskii [Thu, 11 Nov 2021 19:41:10 +0000 (21:41 +0200)]
Fix ACL errors with WebDAV volumes on MS-Windows
* src/w32.c (acl_get_file): Handle ERROR_INVALID_FUNCTION from
WebDAV. Patch from Ioannis Kappas <ioannis.kappas@gmail.com>.
(Bug#51773)
Aleksandr Vityazev [Thu, 11 Nov 2021 10:53:41 +0000 (11:53 +0100)]
Fix tramp-compat-file-name-concat (Bug#51754)
* lisp/net/tramp-compat.el: Make `tramp-compat-file-name-concat'
work like file-name-concat. (Bug#51754)
Juri Linkov [Wed, 10 Nov 2021 18:41:19 +0000 (20:41 +0200)]
* lisp/vc/vc-git.el (vc-git-mergebase): More meaningful error message.
Display a readable error message instead of signaling an error on nil value.
Michael Albinus [Wed, 10 Nov 2021 12:40:44 +0000 (13:40 +0100)]
; Fix heading in etc/NEWS
Stefan Kangas [Wed, 10 Nov 2021 12:17:14 +0000 (13:17 +0100)]
; * etc/NEWS: Move a bookmark related item further down.
Stephen Gildea [Wed, 10 Nov 2021 04:09:22 +0000 (20:09 -0800)]
time-stamp: %F is "file name" not "pathname" + other doc
* lisp/time-stamp.el (time-stamp-format): doc 'file' instead of 'path'.
* test/lisp/time-stamp-tests.el (formatz, format-time-offset):
Clarify the difference and similarity between these two test helpers.
Tom Levy [Tue, 9 Nov 2021 12:51:48 +0000 (12:51 +0000)]
; Fix typos in CONTRIBUTE, ELisp manual, ediff
* CONTRIBUTE: Remove stray '. after git command.
* doc/lispref/functions.texi (Function Cells): Fix typo.
* lisp/vc/ediff.el (ediff-regions-wordwise): Fix typo in prompts
("Region's A buffer" => "Region A's buffer") (bug#51718).
Copyright-paperwork-exempt: yes
Juri Linkov [Tue, 9 Nov 2021 20:45:17 +0000 (22:45 +0200)]
* doc/misc/eww.texi (Advanced): Fix missed variable name eww-retrieve-command.
Juri Linkov [Tue, 9 Nov 2021 20:43:54 +0000 (22:43 +0200)]
* doc/emacs/windows.texi (Window Convenience): Use @code for windmove.
This refers to both a command and a user option.
* etc/NEWS: Add some ---.
Juri Linkov [Tue, 9 Nov 2021 20:40:15 +0000 (22:40 +0200)]
* doc/emacs/maintaining.texi (Basic VC Editing): Mention Dired buffer.
* doc/emacs/text.texi (Outline Mode): Replace S-TAB with with S-<TAB>.
* etc/NEWS: Add some missing +++/--- and move some related items closer.
Eli Zaretskii [Tue, 9 Nov 2021 13:51:24 +0000 (15:51 +0200)]
; * doc/emacs/building.texi (Lisp Libraries): Fix a typo. (Bug#51717)
Juri Linkov [Tue, 9 Nov 2021 08:29:37 +0000 (10:29 +0200)]
* lisp/progmodes/prog-mode.el (prog-context-menu): Use "Go Back" (bug#38797)
; Do not merge to master.
Stefan Kangas [Tue, 9 Nov 2021 07:49:34 +0000 (08:49 +0100)]
Revert "Fix localized display of date and time in the NS port"
This reverts commit
5e05be566b0e13ce0b4e75da663fb051039f0751.
This was discussed in
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51321#93
Juri Linkov [Mon, 8 Nov 2021 19:23:44 +0000 (21:23 +0200)]
* lisp/mouse.el (mouse-buffer-menu-mode-groups): Tighten "Version Control".
Use word boundaries in the "Version Control" regexp to match mode names
"Log-Edit", "Log-View", "Git-Log-View", "Change Log", "VC dir",
but not "Verilog", "Prolog", "Rlogin" (bug#51337).
Juri Linkov [Mon, 8 Nov 2021 17:36:57 +0000 (19:36 +0200)]
* doc/emacs/search.texi (Isearch Yank): Add isearch-forward-thing-at-point.
; * etc/NEWS: Add +++ for isearch-forward-thing-at-point, reorder (bug#51444).
Stefan Kangas [Mon, 8 Nov 2021 03:51:44 +0000 (04:51 +0100)]
; * etc/PROBLEMS: Move librsvg-related item to better location.
Reported by Mike Kupfer <mkupfer@alum.berkeley.edu>.
Alan Mackenzie [Sun, 7 Nov 2021 20:44:46 +0000 (20:44 +0000)]
Amend Follow Mode to handle header lines and tab lines correctly
This fixes bug #51590.
list/follow.el (follow-scroll-down): Incorporate the height of the tab line
into the calculation of the window height.
(follow-calc-win-end): Incorporate the pixel heights of the header line and
the tab line the calculation of the buffer position of the bottom screen line.
Stefan Kangas [Sun, 7 Nov 2021 18:48:14 +0000 (19:48 +0100)]
* lisp/files.el (user-emacs-directory-warning): Clarify docstring.
Juri Linkov [Sun, 7 Nov 2021 18:00:56 +0000 (20:00 +0200)]
* doc/emacs/frames.texi (Tab Bars): Add text about mouse and tab-bar-format
Briefly describe mouse commands on the tab bar and tab-bar-format (bug#51444)
Juri Linkov [Sun, 7 Nov 2021 17:56:28 +0000 (19:56 +0200)]
* doc/emacs/frames.texi (Tab Bars): Describe tab-last.
'C-9' and 'M-9' already had kindex, so describe them in the text as well
(bug#51444).
Stefan Kangas [Sun, 7 Nov 2021 17:32:28 +0000 (18:32 +0100)]
; * etc/PROBLEMS: Minor clarification of a recent entry.
This was accidentally committed to master instead of emacs-28.
(cherry picked from commit
a95520d3dfa1b97f88e51f1ee5ef07e278cb854a)
Jim Porter [Sun, 7 Nov 2021 17:03:23 +0000 (18:03 +0100)]
Add some unit tests for 'abbreviate-file-name'
* test/lisp/files-tests.el (files-tests-abbreviate-file-name-homedir)
(files-tests-abbreviate-file-name-directory-abbrev-alist): New tests.
Eli Zaretskii [Sun, 7 Nov 2021 15:02:46 +0000 (17:02 +0200)]
Fix compilation MinGW warnings
* src/w32.h (prepare_standard_handles, reset_standard_handles):
Fix prototypes. Reported by Andy Moreton
<andrewjmoreton@gmail.com> in
https://lists.gnu.org/archive/html/emacs-devel/2021-11/msg00597.html.
Eli Zaretskii [Sun, 7 Nov 2021 07:34:30 +0000 (09:34 +0200)]
; * etc/PROBLEMS: More specific recipe for WebKit-related crashes.
Stefan Kangas [Sat, 6 Nov 2021 19:59:28 +0000 (20:59 +0100)]
Escape '%' in filenames to fix flymake warnings
* lisp/progmodes/flymake.el (flymake--log-1): Escape '%' in filenames
for 'warning-type-format' so they are not interpreted as a %-sequence
by 'format' later. (Bug#51549)
Lars Ingebrigtsen [Sat, 6 Nov 2021 18:25:42 +0000 (19:25 +0100)]
Fix search string generation in nnimap-make-thread-query
* lisp/gnus/nnimap.el (nnimap-make-thread-query): Remove text
properties before constructing the search string (bug#49926).
Kyle Meyer [Sat, 6 Nov 2021 18:10:47 +0000 (14:10 -0400)]
Update to Org 9.5-68-g77e2ec
Michael Albinus [Sat, 6 Nov 2021 16:25:19 +0000 (17:25 +0100)]
Fix dbus-test04-register-method on CentOS (Bug#51369)
* test/lisp/net/dbus-tests.el (dbus-test04-register-method):
Fix problem on CentOS. (Bug#51369)
Jonas Bernoulli [Sat, 6 Nov 2021 14:36:29 +0000 (15:36 +0100)]
* lisp/transient.el: Update to package version
v0.3.7-11-g7f5520b3.
Eli Zaretskii [Sat, 6 Nov 2021 13:02:57 +0000 (15:02 +0200)]
; * etc/NEWS: Native compilation is more picky about missing dependencies.
Eli Zaretskii [Sat, 6 Nov 2021 12:23:02 +0000 (14:23 +0200)]
; * etc/PROBLEMS: Move entry about LLVM plugin to the right section.
Eli Zaretskii [Sat, 6 Nov 2021 08:49:54 +0000 (10:49 +0200)]
; * etc/PROBLEMS: Describe a crash in xwidgets due to Bubblewrap.
Eli Zaretskii [Sat, 6 Nov 2021 08:45:58 +0000 (10:45 +0200)]
; * etc/PROBLEMS: Rearrange and update the section about crashes.
Eli Zaretskii [Sat, 6 Nov 2021 06:59:09 +0000 (08:59 +0200)]
Clarify "text area of a window" in the documentation
* src/keyboard.c (Fposn_at_x_y): Clarify that the Y coordinate
includes the header-line and the tab-line. (Bug#51590)
* doc/lispref/windows.texi (Window Sizes, Splitting Windows)
(Textual Scrolling, Coordinates and Windows): Fix/remove improper
or confusing uses of "text area" of a window.
Stefan Kangas [Sat, 6 Nov 2021 04:37:08 +0000 (05:37 +0100)]
Improve docstring of kmacro-set-format
* lisp/kmacro.el (kmacro-set-format): Improve docstring.
(kmacro-insert-counter, kmacro-display-counter)
(kmacro-set-counter, kmacro-add-counter): Add cross-references
to the info manual.
Stefan Kangas [Fri, 5 Nov 2021 07:24:02 +0000 (08:24 +0100)]
Revert "* lisp/wid-edit.el (widget-field): Add subtle border to face."
This reverts commit
8b024a6ff10f7907445ea60c4db8355638616ed1.
This lead to some alignment issues. (Bug#51550)
Don't merge to master, where we will continue investigating.
Stefan Kangas [Fri, 5 Nov 2021 06:49:39 +0000 (07:49 +0100)]
* etc/PROBLEMS: Mention X forwarding slowdowns. (Bug#7092)
Stefan Kangas [Thu, 4 Nov 2021 19:20:07 +0000 (20:20 +0100)]
* lisp/custom.el (defgroup): Document the :prefix keyword.
Thibault Polge [Thu, 4 Nov 2021 18:08:30 +0000 (19:08 +0100)]
Document ibuffer-auto-mode in ibuffer-mode doc string
* lisp/ibuffer.el (ibuffer-mode): Mention ibuffer-auto-mode in the
ibuffer-mode doc string (bug#51584).
Juri Linkov [Thu, 4 Nov 2021 17:33:31 +0000 (19:33 +0200)]
* doc/emacs/frames.texi (Tab Bars): Reorder toggle-frame-tab-bar.
Mattias Engdegård [Thu, 4 Nov 2021 08:57:18 +0000 (09:57 +0100)]
; * etc/NEWS: slightly more careful wording
Stefan Kangas [Tue, 2 Nov 2021 19:14:13 +0000 (20:14 +0100)]
Use current face foreground for SVG icons in customize
It turns out these few icons were missed when the color and size
information was removed from the SVG icons that replaced XPM icons for
Customize buffer.
* etc/images/down.svg:
* etc/images/left.svg:
* etc/images/right.svg:
* etc/images/up.svg: Don't define foreground; this means they will use
the foreground of the currently defined face instead. (Bug#51556)
(cherry picked from commit
11702a6dd7cb8286f28b7cb986057d2d2c66a914)
Eli Zaretskii [Thu, 4 Nov 2021 08:04:04 +0000 (10:04 +0200)]
; * etc/NEWS: Improve wording of a recently changed entry.
Stefan Kangas [Wed, 3 Nov 2021 21:50:56 +0000 (22:50 +0100)]
; * etc/NEWS: Improve NEWS entry for Image-Dired.
Juri Linkov [Wed, 3 Nov 2021 18:38:39 +0000 (20:38 +0200)]
; * etc/NEWS: Various fixes.
Mark with +++ entries documented in the manual.
Move 'lossage-size' closer to 'view-lossage'.
Juri Linkov [Wed, 3 Nov 2021 18:34:04 +0000 (20:34 +0200)]
* doc/emacs/building.texi (Compilation Mode): Add next-error-message-highlight
The variable 'next-error-message-highlight' already has vindex,
so describe it in the text as well (bug#51444).
Eli Zaretskii [Wed, 3 Nov 2021 18:23:58 +0000 (20:23 +0200)]
; * etc/PROBLEMS: Minor copyedits of the last change. (Bug#51571)
Daniel Martín [Tue, 2 Nov 2021 18:45:18 +0000 (19:45 +0100)]
Document a macOS error message when opening Emacs
* etc/PROBLEMS: Document a potential error message when opening Emacs
on macOS for the first time.
Eli Zaretskii [Wed, 3 Nov 2021 12:57:51 +0000 (14:57 +0200)]
Fix header-line and tab-line when mode-line-compact is set
* src/xdisp.c (display_mode_line): Make 'mode-line-compact' apply
only to mode lines. (Bug#51558)
Mattias Engdegård [Wed, 3 Nov 2021 12:42:25 +0000 (13:42 +0100)]
Add manual section about how to avoid regexp problems
Help users affected by our NFA engine's stack overflows and occasional
poor performance, replacing old text that was more limited in scope.
* doc/lispref/elisp.texi (Top):
* doc/lispref/searching.texi (Regular Expressions): Add menu entries.
(Regexp Problems): New node.
(Regexp Special):
* etc/PROBLEMS: Remove superseded text.
Phillip Lord [Wed, 3 Nov 2021 11:03:00 +0000 (11:03 +0000)]
Clarify build environment
* admin/nt/dist-build/README-scripts:
Phillip Lord [Wed, 3 Nov 2021 10:30:02 +0000 (10:30 +0000)]
Clarify build directory structure
* admin/nt/dist-build/README-scripts: Clarify build directory structure
Andrea Corallo [Tue, 2 Nov 2021 20:01:20 +0000 (21:01 +0100)]
* src/pdumper.c (dump_do_dump_relocation): Add sanity check.
Juri Linkov [Mon, 1 Nov 2021 20:08:36 +0000 (22:08 +0200)]
* lisp/progmodes/prog-mode.el (prog-context-menu): Use text-mode-context-menu.
Glenn Morris [Mon, 1 Nov 2021 13:17:37 +0000 (06:17 -0700)]
; Auto-commit of loaddefs files.
Michael Albinus [Mon, 1 Nov 2021 12:22:28 +0000 (13:22 +0100)]
Fix bug#51369
* test/lisp/net/dbus-tests.el (dbus-test04-register-method): Skip on hydra.
Michael Albinus [Mon, 1 Nov 2021 11:29:22 +0000 (12:29 +0100)]
Adapt arguments of `tramp-make-tramp-file-name'
* lisp/net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted):
* lisp/url/url-tramp.el (url-tramp-convert-url-to-tramp):
Use `make-tramp-file-name'.
* lisp/obsolete/rcompile.el (remote-compile): Pacify byte-compiler.
Lars Ingebrigtsen [Mon, 1 Nov 2021 01:43:29 +0000 (02:43 +0100)]
Fix typo in describe-map-tree doc string
* lisp/help.el (describe-map-tree): Fix typo in doc string.
Ken Brown [Fri, 29 Oct 2021 15:38:55 +0000 (11:38 -0400)]
Drop support for native compilation on 32-bit Cygwin
* configure.ac (cygwin32-native-compilation): New option.
[i686-pc-cygwin]: Don't allow native compilation unless that
option is specified. (Bug#50666)
Eli Zaretskii [Sun, 31 Oct 2021 19:23:34 +0000 (21:23 +0200)]
; * doc/emacs/help.texi (Help Mode): Improve indexing.
Hanno Perrey [Sun, 31 Oct 2021 15:23:03 +0000 (16:23 +0100)]
; * doc/misc/org.org: fix capture context example
* doc/misc/org.org (Templates in contexts): Add missing parenthesis to
code example for org-capture template contexts as documented in
docstring.
Copyright-paperwork-exempt: yes (bug#51524).
Eli Zaretskii [Sun, 31 Oct 2021 15:20:52 +0000 (17:20 +0200)]
Merge branch 'emacs-28' of git.savannah.gnu.org:/srv/git/emacs into emacs-28
Lars Ingebrigtsen [Sun, 31 Oct 2021 15:20:10 +0000 (16:20 +0100)]
Fix rendering of title-less <abbr> tags in shr
* lisp/net/shr.el (shr-tag-abbr): Render <abbr> tags that have no
title (bug#51525).
Eli Zaretskii [Sun, 31 Oct 2021 15:20:16 +0000 (17:20 +0200)]
; * lisp/files.el (make-nearby-temp-file): Doc fix.
Eli Zaretskii [Sun, 31 Oct 2021 14:20:27 +0000 (16:20 +0200)]
Avoid signaling errors in lookup-key
* src/keymap.c (Flookup_key): Handle KEY vectors where not all
components are symbols. (Bug#51527) Do not merge to master.
Daniel Martín [Sat, 23 Oct 2021 12:44:31 +0000 (14:44 +0200)]
Fix localized display of date and time in the NS port
* src/nsterm.m (ns_init_locale): If not already set, set LC_ALL to the
current locale ID so that dates, currencies, etc. use the settings
configured in the operating system. (Bug#51321)
Eli Zaretskii [Sun, 31 Oct 2021 07:42:09 +0000 (09:42 +0200)]
Fix display glitches with side-by-side windows on TTY frames
* src/dispnew.c (adjust_glyph_matrix, prepare_desired_row): Leave
room for the border glyph only if the window does actually have
the right margin. (Bug#51521)
Carlos Pita [Fri, 15 Oct 2021 00:48:43 +0000 (21:48 -0300)]
Avoid replacing common prefix with ellipsis
* lisp/progmodes/python.el
(python-shell-completion-native-setup): Configure readline not to
suppress common prefixes. (Bug#51218)
Eli Zaretskii [Sat, 30 Oct 2021 07:26:38 +0000 (10:26 +0300)]
Improve documentation of string truncation APIs
* doc/lispref/display.texi (Size of Displayed Text):
* lisp/international/mule-util.el (truncate-string-to-width):
Document caveats of using 'truncate-string-to-width' when
character composition is involved.
* lisp/emacs-lisp/subr-x.el (string-limit):
* doc/lispref/strings.texi (Creating Strings): Improve the
documentation of 'string-limit'.
Imran Khan [Fri, 29 Oct 2021 16:07:16 +0000 (16:07 +0000)]
* lisp/textmodes/css-mode.el: Fix typo. (Bug#51488)
Copyright-paperwork-exempt: yes
Lars Ingebrigtsen [Fri, 29 Oct 2021 16:08:12 +0000 (18:08 +0200)]
Make message/rfc822 on buttons work again in Gnus
* lisp/gnus/gnus-art.el (gnus-article-mode): Set
mm-inline-message-prepare-function buffer-locally so that it works
both when inlining rfc822 and hitting the MIME button (bug#51388).
(gnus-mime--inline-message): Factor out into own function.
(gnus-mime-display-single): From here.
Glenn Morris [Fri, 29 Oct 2021 15:41:11 +0000 (16:41 +0100)]
* lisp/loadup.el: Unbreak build.
Lars Ingebrigtsen [Fri, 29 Oct 2021 12:37:08 +0000 (14:37 +0200)]
Move lisp/shorthands.el to lisp/emacs-lisp/shorthands.el
Michael Albinus [Fri, 29 Oct 2021 12:06:47 +0000 (14:06 +0200)]
Some Tramp changes, mainly in tramp-tests.el
* doc/misc/tramp.texi (External packages): Don't use Tramp internals.
* lisp/net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted):
Protect `tramp-make-tramp-file-name' call.
* lisp/net/tramp.el (tramp-make-tramp-file-name): Set advertised
calling conventions.
* test/lisp/net/tramp-tests.el (tramp-test18-file-attributes):
Adapt test.
(tramp--test-supports-processes-p): New defun.
(tramp-test28-process-file, tramp-test29-start-file-process)
(tramp-test30-make-process, tramp-test32-shell-command)
(tramp-test32-shell-command-dont-erase-buffer)
(tramp-test34-explicit-shell-file-name, tramp-test35-exec-path)
(tramp-test44-asynchronous-requests): Use it.
Michael Albinus [Fri, 29 Oct 2021 12:05:36 +0000 (14:05 +0200)]
; * doc/emacs/custom.texi (Connection Variables): Fix typo. Don't merge
Eli Zaretskii [Fri, 29 Oct 2021 07:41:33 +0000 (10:41 +0300)]
; Improve commentary in the last change
* lisp/language/misc-lang.el: Minor copyedits of the commentary
regarding Egyptian hieroglyph support.
Gregory Heytings [Thu, 28 Oct 2021 20:58:02 +0000 (20:58 +0000)]
Make hieroglyphs display correctly with existing fonts
* etc/HELLO: Remove hieroglyph format control characters.
* lisp/language/misc-lang.el: Add a rule to compose Egyptian
hieroglyphs even without Unicode format control characters.
Eli Zaretskii [Fri, 29 Oct 2021 07:10:01 +0000 (10:10 +0300)]
Clarify "default face attributes" in the ELisp manual
* doc/lispref/display.texi (Defining Faces): Add index entries for
face symbol properties.
(Attribute Functions): Clarify "default face attribute values" wrt
'face-all-attributes' and 'face-attribute'. (Bug#51465)
Lars Ingebrigtsen [Thu, 28 Oct 2021 21:38:29 +0000 (23:38 +0200)]
Make `C-u RET' work again
* lisp/simple.el (newline): Fix regression introduced by
d1aacceae9 (bug#51459).
Jan Synacek [Thu, 28 Oct 2021 21:32:59 +0000 (23:32 +0200)]
Fix typos in the manual and in a comment
* lisp/minibuffer.el (completion-pcm--hilit-commonality):
* doc/lispintro/emacs-lisp-intro.texi (Mode Line): Fix typos
(bug#51434).
Copyright-paperwork-exempt: yes
Eli Zaretskii [Thu, 28 Oct 2021 17:52:41 +0000 (20:52 +0300)]
Avoid assertion violations in 'lookup-key'
* src/keymap.c (Flookup_key): Don't call ASIZE unless KEY is a
vector. This avoids assertion violations when KEY is a string.
Stefan Kangas [Thu, 28 Oct 2021 10:54:07 +0000 (12:54 +0200)]
image-dired: Unreverse accidentally reversed menus
* lisp/image-dired.el (image-dired-thumbnail-mode-map)
(image-dired-display-image-mode-map, image-dired-minor-mode-map):
In Emacs 26.1 (commits
b905454680c7 and
bed0373855ea), the menus were
converted to use 'easy-menu-define', but they were reversed in the
process. Unreverse the menus. (Bug#51446)
Stefan Kangas [Thu, 28 Oct 2021 10:30:42 +0000 (12:30 +0200)]
Be more allowing when looking for menu-bar items
Don't merge to master. This is a safe-for-release fix for Bug#50752.
* src/keymap.c (lookup_key_1): Factor out function from
Flookup_key.
(Flookup_key): Be case insensitive when looking for Qmenu_bar
items. (Bug#50752)
* test/src/keymap-tests.el
(keymap-lookup-key/mixed-case)
(keymap-lookup-key/mixed-case-multibyte): New tests.