]> git.eshelyaron.com Git - emacs.git/log
emacs.git
2 years agoImprove style and comments in font-related sources
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.

2 years ago; Fix typos
Stefan Kangas [Fri, 12 Nov 2021 12:50:55 +0000 (13:50 +0100)]
; Fix typos

2 years agoImprove documentation of 'decode-coding-region'
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.

2 years agoFix problem with temp buffer killing in package-install-file
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).

2 years agoFix Lisp Intro markup error
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).

2 years agoFix ACL errors with WebDAV volumes on MS-Windows
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)

2 years agoFix tramp-compat-file-name-concat (Bug#51754)
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)

3 years ago* lisp/vc/vc-git.el (vc-git-mergebase): More meaningful error message.
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.

3 years ago; Fix heading in etc/NEWS
Michael Albinus [Wed, 10 Nov 2021 12:40:44 +0000 (13:40 +0100)]
; Fix heading in etc/NEWS

3 years ago; * etc/NEWS: Move a bookmark related item further down.
Stefan Kangas [Wed, 10 Nov 2021 12:17:14 +0000 (13:17 +0100)]
; * etc/NEWS: Move a bookmark related item further down.

3 years agotime-stamp: %F is "file name" not "pathname" + other doc
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.

3 years ago; Fix typos in CONTRIBUTE, ELisp manual, ediff
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

3 years ago* doc/misc/eww.texi (Advanced): Fix missed variable name eww-retrieve-command.
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.

3 years ago* doc/emacs/windows.texi (Window Convenience): Use @code for windmove.
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 ---.

3 years ago* doc/emacs/maintaining.texi (Basic VC Editing): Mention Dired buffer.
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.

3 years ago; * doc/emacs/building.texi (Lisp Libraries): Fix a typo. (Bug#51717)
Eli Zaretskii [Tue, 9 Nov 2021 13:51:24 +0000 (15:51 +0200)]
; * doc/emacs/building.texi (Lisp Libraries): Fix a typo.  (Bug#51717)

3 years ago* lisp/progmodes/prog-mode.el (prog-context-menu): Use "Go Back" (bug#38797)
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.

3 years agoRevert "Fix localized display of date and time in the NS port"
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

3 years ago* lisp/mouse.el (mouse-buffer-menu-mode-groups): Tighten "Version Control".
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).

3 years ago* doc/emacs/search.texi (Isearch Yank): Add isearch-forward-thing-at-point.
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).

3 years ago; * etc/PROBLEMS: Move librsvg-related item to better location.
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>.

3 years agoAmend Follow Mode to handle header lines and tab lines correctly
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.

3 years ago* lisp/files.el (user-emacs-directory-warning): Clarify docstring.
Stefan Kangas [Sun, 7 Nov 2021 18:48:14 +0000 (19:48 +0100)]
* lisp/files.el (user-emacs-directory-warning): Clarify docstring.

3 years ago* doc/emacs/frames.texi (Tab Bars): Add text about mouse and tab-bar-format
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)

3 years ago* doc/emacs/frames.texi (Tab Bars): Describe tab-last.
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).

3 years ago; * etc/PROBLEMS: Minor clarification of a recent entry.
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)

3 years agoAdd some unit tests for 'abbreviate-file-name'
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.

3 years agoFix compilation MinGW warnings
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.

3 years ago; * etc/PROBLEMS: More specific recipe for WebKit-related crashes.
Eli Zaretskii [Sun, 7 Nov 2021 07:34:30 +0000 (09:34 +0200)]
; * etc/PROBLEMS: More specific recipe for WebKit-related crashes.

3 years agoEscape '%' in filenames to fix flymake warnings
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)

3 years agoFix search string generation in nnimap-make-thread-query
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).

3 years agoUpdate to Org 9.5-68-g77e2ec
Kyle Meyer [Sat, 6 Nov 2021 18:10:47 +0000 (14:10 -0400)]
Update to Org 9.5-68-g77e2ec

3 years agoFix dbus-test04-register-method on CentOS (Bug#51369)
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)

3 years ago* lisp/transient.el: Update to package version v0.3.7-11-g7f5520b3.
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.

3 years ago; * etc/NEWS: Native compilation is more picky about missing dependencies.
Eli Zaretskii [Sat, 6 Nov 2021 13:02:57 +0000 (15:02 +0200)]
; * etc/NEWS: Native compilation is more picky about missing dependencies.

3 years ago; * etc/PROBLEMS: Move entry about LLVM plugin to the right section.
Eli Zaretskii [Sat, 6 Nov 2021 12:23:02 +0000 (14:23 +0200)]
; * etc/PROBLEMS: Move entry about LLVM plugin to the right section.

3 years ago; * etc/PROBLEMS: Describe a crash in xwidgets due to Bubblewrap.
Eli Zaretskii [Sat, 6 Nov 2021 08:49:54 +0000 (10:49 +0200)]
; * etc/PROBLEMS: Describe a crash in xwidgets due to Bubblewrap.

3 years ago; * etc/PROBLEMS: Rearrange and update the section about crashes.
Eli Zaretskii [Sat, 6 Nov 2021 08:45:58 +0000 (10:45 +0200)]
; * etc/PROBLEMS: Rearrange and update the section about crashes.

3 years agoClarify "text area of a window" in the documentation
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.

3 years agoImprove docstring of kmacro-set-format
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.

3 years agoRevert "* lisp/wid-edit.el (widget-field): Add subtle border to face."
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.

3 years ago* etc/PROBLEMS: Mention X forwarding slowdowns. (Bug#7092)
Stefan Kangas [Fri, 5 Nov 2021 06:49:39 +0000 (07:49 +0100)]
* etc/PROBLEMS: Mention X forwarding slowdowns.  (Bug#7092)

3 years ago* lisp/custom.el (defgroup): Document the :prefix keyword.
Stefan Kangas [Thu, 4 Nov 2021 19:20:07 +0000 (20:20 +0100)]
* lisp/custom.el (defgroup): Document the :prefix keyword.

3 years agoDocument ibuffer-auto-mode in ibuffer-mode doc string
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).

3 years ago* doc/emacs/frames.texi (Tab Bars): Reorder toggle-frame-tab-bar.
Juri Linkov [Thu, 4 Nov 2021 17:33:31 +0000 (19:33 +0200)]
* doc/emacs/frames.texi (Tab Bars): Reorder toggle-frame-tab-bar.

3 years ago; * etc/NEWS: slightly more careful wording
Mattias Engdegård [Thu, 4 Nov 2021 08:57:18 +0000 (09:57 +0100)]
; * etc/NEWS: slightly more careful wording

3 years agoUse current face foreground for SVG icons in customize
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)

3 years ago; * etc/NEWS: Improve wording of a recently changed entry.
Eli Zaretskii [Thu, 4 Nov 2021 08:04:04 +0000 (10:04 +0200)]
; * etc/NEWS: Improve wording of a recently changed entry.

3 years ago; * etc/NEWS: Improve NEWS entry for Image-Dired.
Stefan Kangas [Wed, 3 Nov 2021 21:50:56 +0000 (22:50 +0100)]
; * etc/NEWS: Improve NEWS entry for Image-Dired.

3 years ago; * etc/NEWS: Various fixes.
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'.

3 years ago* doc/emacs/building.texi (Compilation Mode): Add next-error-message-highlight
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).

3 years ago; * etc/PROBLEMS: Minor copyedits of the last change. (Bug#51571)
Eli Zaretskii [Wed, 3 Nov 2021 18:23:58 +0000 (20:23 +0200)]
; * etc/PROBLEMS: Minor copyedits of the last change.  (Bug#51571)

3 years agoDocument a macOS error message when opening Emacs
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.

3 years agoFix header-line and tab-line when mode-line-compact is set
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)

3 years agoAdd manual section about how to avoid regexp problems
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.

3 years agoClarify build environment
Phillip Lord [Wed, 3 Nov 2021 11:03:00 +0000 (11:03 +0000)]
Clarify build environment

* admin/nt/dist-build/README-scripts:

3 years agoClarify build directory structure
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

3 years ago* src/pdumper.c (dump_do_dump_relocation): Add sanity check.
Andrea Corallo [Tue, 2 Nov 2021 20:01:20 +0000 (21:01 +0100)]
* src/pdumper.c (dump_do_dump_relocation): Add sanity check.

3 years ago* lisp/progmodes/prog-mode.el (prog-context-menu): Use text-mode-context-menu.
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.

3 years ago; Auto-commit of loaddefs files.
Glenn Morris [Mon, 1 Nov 2021 13:17:37 +0000 (06:17 -0700)]
; Auto-commit of loaddefs files.

3 years agoFix bug#51369
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.

3 years agoAdapt arguments of `tramp-make-tramp-file-name'
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.

3 years agoFix typo in describe-map-tree doc string
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.

3 years agoDrop support for native compilation on 32-bit Cygwin
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)

3 years ago; * doc/emacs/help.texi (Help Mode): Improve indexing.
Eli Zaretskii [Sun, 31 Oct 2021 19:23:34 +0000 (21:23 +0200)]
; * doc/emacs/help.texi (Help Mode): Improve indexing.

3 years ago; * doc/misc/org.org: fix capture context example
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).

3 years agoMerge branch 'emacs-28' of git.savannah.gnu.org:/srv/git/emacs into emacs-28
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

3 years agoFix rendering of title-less <abbr> tags in shr
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).

3 years ago; * lisp/files.el (make-nearby-temp-file): Doc fix.
Eli Zaretskii [Sun, 31 Oct 2021 15:20:16 +0000 (17:20 +0200)]
; * lisp/files.el (make-nearby-temp-file): Doc fix.

3 years agoAvoid signaling errors in lookup-key
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.

3 years agoFix localized display of date and time in the NS port
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)

3 years agoFix display glitches with side-by-side windows on TTY frames
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)

3 years agoAvoid replacing common prefix with ellipsis
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)

3 years agoImprove documentation of string truncation APIs
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'.

3 years ago* lisp/textmodes/css-mode.el: Fix typo. (Bug#51488)
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

3 years agoMake message/rfc822 on buttons work again in Gnus
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.

3 years ago* lisp/loadup.el: Unbreak build.
Glenn Morris [Fri, 29 Oct 2021 15:41:11 +0000 (16:41 +0100)]
* lisp/loadup.el: Unbreak build.

3 years agoMove lisp/shorthands.el to lisp/emacs-lisp/shorthands.el
Lars Ingebrigtsen [Fri, 29 Oct 2021 12:37:08 +0000 (14:37 +0200)]
Move lisp/shorthands.el to lisp/emacs-lisp/shorthands.el

3 years agoSome Tramp changes, mainly in tramp-tests.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.

3 years ago; * doc/emacs/custom.texi (Connection Variables): Fix typo. Don't merge
Michael Albinus [Fri, 29 Oct 2021 12:05:36 +0000 (14:05 +0200)]
; * doc/emacs/custom.texi (Connection Variables): Fix typo.  Don't merge

3 years ago; Improve commentary in the last change
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.

3 years agoMake hieroglyphs display correctly with existing fonts
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.

3 years agoClarify "default face attributes" in the ELisp manual
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)

3 years agoMake `C-u RET' work again
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).

3 years agoFix typos in the manual and in a comment
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

3 years agoAvoid assertion violations in 'lookup-key'
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.

3 years agoimage-dired: Unreverse accidentally reversed menus
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)

3 years agoBe more allowing when looking for menu-bar items
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.

3 years ago* lisp/textmodes/text-mode.el (text-mode-context-menu): Rename recently added.
Juri Linkov [Wed, 27 Oct 2021 17:32:23 +0000 (20:32 +0300)]
* lisp/textmodes/text-mode.el (text-mode-context-menu): Rename recently added.

3 years ago; * etc/NEWS: Use active voice for 'repeat-mode', etc.
Juri Linkov [Wed, 27 Oct 2021 17:30:59 +0000 (20:30 +0300)]
; * etc/NEWS: Use active voice for 'repeat-mode', etc.

3 years agoAllow automatic use of color fonts for emoji on macOS
Robert Pluim [Wed, 27 Oct 2021 16:46:45 +0000 (18:46 +0200)]
Allow automatic use of color fonts for emoji on macOS

* src/macfont.m (macfont_list): Don't exclude color fonts when the
fontspec has an 'emoji' script specification.

3 years ago; * etc/NEWS: Fix last change.
Eli Zaretskii [Wed, 27 Oct 2021 14:13:59 +0000 (17:13 +0300)]
; * etc/NEWS: Fix last change.

3 years agoFix help commands for menu-bar menus
Eli Zaretskii [Wed, 27 Oct 2021 13:09:47 +0000 (16:09 +0300)]
Fix help commands for menu-bar menus

* lisp/help.el (help--analyze-key): Fix "C-h c" and "C-h k" on
menu-bar menu items.  (Bug#51421)

3 years ago; * etc/NEWS: Fix typos.
Michael Albinus [Wed, 27 Oct 2021 12:11:09 +0000 (14:11 +0200)]
; * etc/NEWS: Fix typos.

3 years ago; Explain why "kinds of atom" isn't a typo
Eli Zaretskii [Wed, 27 Oct 2021 11:33:42 +0000 (14:33 +0300)]
; Explain why "kinds of atom" isn't a typo

* doc/lispintro/emacs-lisp-intro.texi (Lisp Atoms): Add a comment
explaining why "kinds of atom" isn't a typo.

3 years ago; * etc/NEWS: Improve wording of the Emoji entry.
Eli Zaretskii [Wed, 27 Oct 2021 11:32:18 +0000 (14:32 +0300)]
; * etc/NEWS: Improve wording of the Emoji entry.

3 years ago; Checkdoc fixes in image-dired.el
Stefan Kangas [Wed, 27 Oct 2021 02:53:41 +0000 (04:53 +0200)]
; Checkdoc fixes in image-dired.el

3 years agoImprove function documentation with text from XDG BDS spec
Stefan Kangas [Tue, 26 Oct 2021 21:17:29 +0000 (23:17 +0200)]
Improve function documentation with text from XDG BDS spec

* lisp/xdg.el (xdg-config-home, xdg-cache-home, xdg-data-home)
(xdg-runtime-dir, xdg-config-dirs, xdg-data-dirs): Copy in the
text from the XDG Base Directory Specification to better explain
what these functions return.

3 years ago* lisp/transient.el: Update to package version 0.3.7.
Jonas Bernoulli [Mon, 25 Oct 2021 18:19:52 +0000 (20:19 +0200)]
* lisp/transient.el: Update to package version 0.3.7.

3 years ago; Revert parts of "Use string-replace instead of replace-regexp-in-string"
Jonas Bernoulli [Mon, 25 Oct 2021 18:16:54 +0000 (20:16 +0200)]
; Revert parts of "Use string-replace instead of replace-regexp-in-string"

"transient.el" is also distributed as a separate package, which
supports Emacs versions as old as 25.1 (see "Package-Requires").