diff --git a/.dir-locals.el b/.dir-locals.el index 4cf221a7e1a..fac283eda6a 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -10,7 +10,9 @@ ((("c" "objc") . ("/[ \t]*DEFVAR_[A-Z_ \t(]+\"\\([^\"]+\\)\"/\\1/" "/[ \t]*DEFVAR_[A-Z_ \t(]+\"[^\"]+\",[ \t]\\([A-Za-z0-9_]+\\)/\\1/")))) - (etags-regen-ignores . ("test/manual/etags/")))) + (etags-regen-ignores . ("test/manual/etags/")) + (emacs-lisp-docstring-fill-column . 65) + (bug-reference-url-format . "https://debbugs.gnu.org/%s"))) (c-mode . ((c-file-style . "GNU") (c-noise-macro-names . ("INLINE" "ATTRIBUTE_NO_SANITIZE_UNDEFINED" "UNINIT" "CALLBACK" "ALIGN_STACK")) (electric-quote-comment . nil) diff --git a/.gitignore b/.gitignore index 35ff949e93b..16f449a446e 100644 --- a/.gitignore +++ b/.gitignore @@ -221,6 +221,7 @@ lisp/international/emoji-zwj.el lisp/international/emoji-labels.el lisp/international/eucjp-ms.el lisp/international/uni-*.el +lisp/international/idna-mapping.el lisp/language/pinyin.el # Documentation. diff --git a/CONTRIBUTE b/CONTRIBUTE index 7c3421ed75a..d624fe85245 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE @@ -314,11 +314,42 @@ them right the first time, so here are guidelines for formatting them: with Emacs commands like 'C-x 4 a', and commit the change using the shell command 'vc-dwim --commit'. Type 'vc-dwim --help' for more. +** Committing your changes. + +When you commit changes, Git invokes several scripts that test the +commit for validity, and may abort the commit of some of the tests +fail. These scripts live in the '.git/hooks/' subdirectory of the +top-level directory of the repository, and they perform the following +tests: + +- commit log message must not be empty; +- the first line of the commit log message doesn't start with + whitespace characters; +- the second line of the commit log message must be empty; +- commit log message should include only valid printable ASCII and + UTF-8 characters; +- commit log message lines must be shorter than 79 characters, unless + a line consists of a single long word, in which case that word can + be up to 140 characters long; +- there shouldn't be any "Signed-off-by:" tags in the commit log + message, and "git commit" should not be invoked with the '-s' option + (which automatically adds "Signed-off-by:"); +- if the commit adds new files, the file names must not begin with + '-' and must consist of ASCII letters, digits, and characters of the + set [-+./_]; +- the changes don't include unresolved merge conflict markers; +- the changes don't introduce whitespace errors: trailing whitespace, + lines that include nothing but whitespace characters, and indented + lines where a SPC character is immediately followed by a TAB in the + line's initial indentation + ** Committing changes by others If committing changes written by someone else, commit in their name, not yours. You can use 'git commit --author="AUTHOR"' to specify a -change's author. +change's author. Note that the validity checks described in the +previous section are still applied, so you will have to correct any +problems they uncover in the changes submitted by others. ** Branches @@ -366,6 +397,22 @@ reasons. These should be marked by including something like "Do not merge to master" or anything that matches gitmerge-skip-regexp (see admin/gitmerge.el) in the commit message. +** Some packages in Emacs are maintained externally + +Sometimes a package that ships as part of GNU Emacs is maintained as a +separate project, with its own upstream repository, its own maintainer +group, its own development conventions, etc. The upstream project's +code is periodically merged into Emacs (exactly when and how such +merges happen depends on the package). + +So when you are making a contribution -- such as fixing a bug or +proposing an enhancement -- to one of these externally maintained +packages, you sometimes need to deal with that package at its upstream +source. + +In the section "Externally maintained packages" in "admin/MAINTAINERS" +we maintain a list of such packages. + ** GNU ELPA This repository does not contain the Emacs Lisp package archive diff --git a/ChangeLog.3 b/ChangeLog.3 index 177321dc45e..907eb2ce6ff 100644 --- a/ChangeLog.3 +++ b/ChangeLog.3 @@ -1,3 +1,2791 @@ +2022-06-29 Michael Albinus + + Update Tramp version (don't merge with master) + + * doc/misc/trampver.texi: + * lisp/net/trampver.el: Change version to "2.5.3". + +2022-06-28 Michael Albinus + + Tramp shall not trap unrelated D-Bus errors + + * lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-vector): Declare. + (tramp-gvfs-file-name-handler): Let-bind it. + (tramp-gvfs-dbus-event-vector): Fix docstring. + (tramp-gvfs-maybe-open-connection): Do not set it globally. (Bug#56162) + +2022-06-28 Basil L. Contovounesios + + Fix hash table function return values in manual + + * doc/lispref/hash.texi (Hash Access): Reconcile documented return + values of puthash and clrhash with their respective + docstrings (bug#55562). + +2022-06-27 Kyle Meyer + + Update to Org 9.5.4-3-g6dc785 + +2022-06-27 Paul Eggert + + Mention Solaris 10 'make clean' and 'make check' + + Mention further crashes on Solaris 10 + +2022-06-26 Paul Eggert + + Port distribution tarball to Solaris 10 + + * make-dist (taropt): Use 'tar -H ustar' to generate a portable + tar file format instead of a GNU-specific format. Needed now that + Emacs tarballs contain file names longer than 100 bytes, e.g.: + emacs-28.1/test/lisp/gnus/mml-sec-resources/private-keys-v1.d/C072AF82DCCCB9A7F1B85FFA10B802DC4ED16703.key + emacs-28.1/test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-run-hook-with-args-until-success.el + Without this patch, extracting a tarball on Solaris 10 fails with + many diagnostics like “tar: ././@LongLink: typeflag 'L' not + recognized, converting to regular file”. + + (cherry picked from commit 4410f5d86997b6b238ff05c2ece338b28e1163b1) + +2022-06-24 Stefan Kangas + + Avoid treating number as an enum in the org manual + + * doc/misc/org.org (The Agenda Dispatcher): Avoid treating number as + enum. + +2022-06-22 Eli Zaretskii + + Improve last change in autotype.texi + + * doc/misc/autotype.texi (Autoinserting): Fix wording. Suggested + by Richard Stallman . + +2022-06-21 Stefan Kangas + + * lisp/repeat.el (repeat-mode): Fix message format. + +2022-06-21 Earl Hyatt + + Clarify autotype.texi text slightly + + * doc/misc/autotype.texi (Autoinserting): Make text slightly + clearer (bug#56118). + +2022-06-20 Eli Zaretskii + + Support builds configured with a separate --bindir + + * src/emacs.c (load_pdump): Don't overwrite the leading + directories of the Emacs executable just because the pdumper file + was not found in the expected directory relative to the binary. + This is needed to support builds with a separate --bindir + configure-time option and native-compilation. (Bug#55741) + +2022-06-20 Stefan Kangas + + * doc/misc/eww.texi (Overview, Basics): Fix typos. + +2022-06-18 Richard Hansen + + Fix invalid defcustom :group when :predicate is used + + * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix + invalid `:group' argument for the `-modes' defcustom that is created + when `:predicate' is used (bug#56049). + +2022-06-17 Lars Ingebrigtsen + + Prune the Gnus FAQ of some outdated data + + * doc/misc/gnus-faq.texi (FAQ 9-2): Remove some outdated advice + (bug#56042). + +2022-06-17 Lars Ingebrigtsen + + Fix efaq-w32.texi build warning + + * doc/misc/efaq-w32.texi (Other useful ports): Fix ordering to + match nodes (or should the nodes be moved instead?). + + Do not merge to master. + +2022-06-17 Lars Ingebrigtsen + + Update cl-struct-sequence-type doc string + + * lisp/emacs-lisp/cl-macs.el (cl-struct-sequence-type): Fix doc + string to reflect what it does (bug#46523). + +2022-06-17 Lars Ingebrigtsen + + Fix a tagging problem in tramp.texi + + * doc/misc/tramp.texi (Frequently Asked Questions): Restore an + @end lisp removed by accident. + +2022-06-17 Lars Ingebrigtsen + + Mention face quirks after the final line in the lispref manual + + * doc/lispref/display.texi (Face Attributes): Mention the quirks + about point after the final line (bug#56011). + +2022-06-17 Stefan Kangas + + Delete reference to obsolete library complete.el + + * doc/misc/tramp.texi (Frequently Asked Questions): Delete reference + to obsolete library complete.el. + +2022-06-16 Stefan Kangas + + * lisp/textmodes/artist.el: Minor doc fixes. + +2022-06-16 Michael Albinus + + * lisp/net/tramp.el (tramp-methods): Fix quoting in docstring. + +2022-06-16 Arash Esbati + + Update MS Windows FAQ for MinGW64-w64/MSYS2 + + * doc/misc/efaq-w32.texi (Compiling, Debugging): Mention + MinGW64-w64/MSYS2 as the preferred way for building Emacs on + capable systems. + (Attachments with Gnus): Catch up with emacs-mime.texi in the + example given. + (Spell check): Add the availability of GNU Aspell and Hunspell + in MSYS2 distribution. + (Other useful ports): Add an entry for MinGW64-w64/MSYS2. + Fix link for MinGW homepage. + Remove entry for defunct UWIN project. (Bug#55930) + +2022-06-15 Robert Pluim + + Describe 'set-file-modes' argument prompting + + * src/fileio.c (Fset_file_modes): Document that FILENAME is prompted + for. (Bug#55984) + +2022-06-14 Lars Ingebrigtsen + + Revert "Clarify what a Calc registeri in in calc-insert-register" + + This reverts commit 73400e4002ce8fca060093548e6791b3a784eeaa. + + This has been fixed in Emacs 29 by making it possible to use regular registers in calc. + +2022-06-13 Lars Ingebrigtsen + + Clarify what a Calc registeri in in calc-insert-register + + * lisp/calc/calc-yank.el (calc-insert-register): Note that these + aren't normal registers (bug#55943). + +2022-06-11 Eli Zaretskii + + Fix doc strings in whitespace.el + + * lisp/whitespace.el (whitespace-style, whitespace-action): + Untabify the doc strings. (Bug#55904) + +2022-06-10 Eli Zaretskii + + Improve documentation of "etags -I" + + * doc/man/etags.1: + * doc/emacs/maintaining.texi (Create Tags Table): Elaborate on the + importance of the '-I' option to 'etags'. (Bug#45246) + +2022-06-09 Lars Ingebrigtsen + + Mention the #f syntax from cl-prin1 + + * doc/lispref/objects.texi (Special Read Syntax): Mention #f, + which is in cl-prin1 output (bug#55853). + +2022-06-09 Michael Albinus + + Fix file name quoting in tramp-smb.el (do not merge) + + * lisp/net/tramp-smb.el (tramp-smb-handle-write-region): Quote tmpfile. + (tramp-smb-get-localname): Remove superfluous test. (Bug#55855) + + * test/lisp/net/tramp-tests.el (tramp-test03-file-name-method-rules): + Remove superfluous checks. + +2022-06-09 Jeff Walsh + + Update error message to reflect variable rename + + * src/comp.c (Fcomp_el_to_eln_filename): Update error message. (Bug#55861) + +2022-06-08 Ken Brown + + Fix error reporting in process-async-https-with-delay + + * test/src/process-tests.el (process-async-https-with-delay): Use + 'plist-get' instead of 'assq' in testing for a connection error. + The 'status' variable is a plist, not an alist. (Bug#55849) + +2022-06-08 Stefan Kangas + + * doc/misc/org.org: Remove spurious markup. + +2022-06-08 Michael Albinus + + Make Tramp version check more robust + + * lisp/net/trampver.el (tramp-repository-branch) + (tramp-repository-version): Check for "git" executable. + +2022-06-07 Eli Zaretskii + + Fix debugging with GDB when a breakpoint has multiple locations + + * lisp/progmodes/gdb-mi.el (gdb-breakpoints--add-breakpoint-row): + New function, extracted from 'gdb-breakpoints-list-handler-custom'. + Don't print "in " for header-rows of breakpoints with + multiple locations that don't have a function name attached. + (gdb-breakpoints-list-handler-custom): Add to the breakpoint table + also any locations in multiple-location breakpoints, which are + supported since GDB 6.8. + +2022-06-05 Eli Zaretskii + + Update documentation of 'aset' and 'store-substring' + + * doc/lispref/strings.texi (Modifying Strings): Adjust to + implementation changes: it is possible for the modified string to + have fewer or more bytes than the original. Add recommendations + regarding unibyte vs multibyte strings and characters. (Bug#55801) + +2022-06-04 Kyle Meyer + + Update to Org 9.5.4 + +2022-06-04 Eli Zaretskii + + Clarify documentation of 'string-to-unibyte' + + * doc/lispref/nonascii.texi (Converting Representations): Clarify + what 'string-to-unibyte' does. Reported by Richard Hansen + . (Bug#55777) + +2022-06-02 Ikumi Keita (tiny change) + + Improve keystrokes in doc strings in some find-file functions + + * lisp/files.el (find-file): + (find-file-other-window): + (find-file-other-frame): Include the correct keymap so that + keystrokes are displayed better (bug#55761). + +2022-06-02 Eli Zaretskii + + Fix segfaults when starting on 80x26 TTY frames + + * src/dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Make + sure we have valid frame glyph matrices for the interactive + session. (Bug#55760) + (adjust_frame_glyphs): Add assertions for when we fail to allocate + valid frame glyph matrices for a TTY frame. + +2022-06-01 Lars Ingebrigtsen + + Make it explicit that a couple of _s in lispref are underscores + + * doc/lispref/strings.texi (Custom Format Strings): + * doc/lispref/control.texi (pcase Macro): Make it explicit that + it's an underscore (bug#55742). + +2022-05-31 Eli Zaretskii + + Remove from FAQ the MS-Windows info about BDF fonts + + * doc/misc/efaq.texi (How to add fonts): Remove the MS-Windows + specific steps, as BDF fonts are no longer supported on + MS-Windows. (Bug#55740) + +2022-05-31 Ikumi Keita (tiny change) + + Fix Display Property manual example + + * doc/lispref/display.texi (Display Property): Fix syntax of + example (bug#55736). + +2022-05-29 Michael Albinus + + Some Tramp cleanup on MS Windows + + * lisp/net/tramp.el (tramp-restricted-shell-hosts-alist): Do not add + localhost when `tramp-encoding-shell' is a POSIX shell. + + * test/lisp/net/tramp-tests.el (tramp-test31-interrupt-process): + Skip on MS Windows. + +2022-05-28 Alan Mackenzie + + do_switch_frame: before leaving mini-window, check other (mru) window is live + + This fixes bug#55684. There, with a minibuffer-only frame at start up, + Emacs tried to switch to this frame, whose selected window was the + mini-window. There is no other active window in this frame, so the + attempt to swith to another window failed. + + * src/frame.c (do_switch_frame): On switching to a frame whose selected + window is as above, before selecting the most recently used window, check + this ostensible window is an actual live window. Otherwise leave the + mini-window selected. + +2022-05-28 Eli Zaretskii + + Fix commands used to produce on-line HTML docs + + * admin/admin.el (manual-meta-string): Only include the first + line, and move the rest... + (manual-links-string): ...to this new string. + (manual-html-fix-headers): Don't remove the ', + see gnu.org ticket #1840138. + +2022-05-28 Eli Zaretskii + + Fix a bad cross-reference in elisp.pdf + + * doc/lispref/control.texi (pcase Macro): Fix a conditional + cross-reference (bug#55689). + +2022-05-28 Eli Zaretskii + + Fix documentation of 'string-pad' + + * doc/lispref/strings.texi (Creating Strings): Fix description of + 'string-pad'. (Bug#55688) + +2022-05-27 Juri Linkov + + Fix more occurrences of renamed kmacro-keymap command + + * doc/emacs/kmacro.texi (Basic Keyboard Macro): Fix documentation + after recent kmacro-redisplay command name change. + +2022-05-27 Eli Zaretskii + + Mention "unspecified-fg" and "unspecified-bg" in some doc strings + + * lisp/faces.el (face-foreground, face-background) + (foreground-color-at-point, background-color-at-point): + * lisp/color.el (color-name-to-rgb): Mention "unspecified-fg" and + "unspecified-bg" pseudo-colors on TTY frames. (Bug#55623) + +2022-05-26 Hayden Shenk (tiny change) + + Fix format specifiers in tramp-adb.el + + * lisp/net/tramp-adb.el (tramp-adb-get-device): Fix format + specifiers for port. (Bug#55651) + +2022-05-22 Damien Cassou + + Improve documentation of mail-user-agent. + + * doc/emacs/sending.texi (Mail Methods): + * lisp/simple.el (mail-user-agent): Mention additional options + of non-bundled MUA. (Bug#5569) + +2022-05-21 Eli Zaretskii + + More fixes in abbrev.el doc strings + + * lisp/abbrev.el (inverse-add-global-abbrev, inverse-add-mode-abbrev): + Document the effect of negative ARG. (Bug#55527) + +2022-05-21 Lars Ingebrigtsen + + Add note about Tramp completion to completion-styles doc string + + * lisp/minibuffer.el (completion-styles): Add note about Tramp + completion (bug#37954). + +2022-05-21 Arash Esbati + + Remove mention of removed nnimap-nov-is-evil variable + + * doc/misc/gnus.texi (Slow/Expensive Connection): Remove mention + of removed nnimap-nov-is-evil variable (bug#55556). + +2022-05-21 Eli Zaretskii + + Improve documentation strings and prompts in abbrev.el + + * lisp/abbrev.el (abbrev-file-name, only-global-abbrevs) + (copy-abbrev-table, insert-abbrevs, list-abbrevs) + (abbrev-table-name, edit-abbrevs, define-abbrevs) + (read-abbrev-file, quietly-read-abbrev-file, write-abbrev-file) + (abbrev-edit-save-to-file, abbrev-edit-save-buffer) + (add-mode-abbrev, add-global-abbrev, inverse-add-mode-abbrev) + (inverse-add-global-abbrev, abbrev-prefix-mark) + (expand-region-abbrevs, abbrev-table-get, abbrev-table-put) + (abbrev-get, abbrev-minor-mode-table-alist, abbrevs-changed) + (abbrev-all-caps, last-abbrev-text, last-abbrev-location) + (clear-abbrev-table, define-abbrev, define-global-abbrev) + (define-mode-abbrev, abbrev--active-tables, abbrev--symbol) + (abbrev-symbol, abbrev-expansion, abbrev-insert) + (abbrev-expand-function, abbrev--suggest-above-threshold) + (abbrev--suggest-saved-recommendations) + (abbrev--suggest-shortest-abbrev, abbrev--suggest-get-totals) + (insert-abbrev-table-description, define-abbrev-table) + (abbrev-table-menu): Fix doc strings: wording, punctuation, + clarity. + (add-abbrev, inverse-add-abbrev): Improve the prompt text. + (Bug#55527) + +2022-05-20 Alan Mackenzie + + Restore the Fselect_window call in gui_consider_frame_title. + + This fixes bug #55412. The call to Fselect_window was removed on 2021-03-21 + in the commit "Prevent open minibuffers getting lost when their frame gets + deleted". This call is actually needed to determine current elements of the + pertinent window and frame when these are used in the frame title. + + * src/frame.c (do_switch_frame): When the selected window in the target frame + is the mini-window, switch away from this window unless there is a valid + minibuffer there. + + * src/frame.h (struct frame): Add an incidental comment about the element + selected_window. + + * src/minibuf.c (move_minibuffers_onto_frame): No longer set the selected + window of the source frame. This action is now performed later, on returning + to that frame, in do_switch_frame when needed (see above). + + * src/xdisp.c (gui_consider_frame_title): Replace the Fselect_window call and + associated ancillary settings. + +2022-05-20 Eli Zaretskii + + Advise against settings in the MS-Windows system registry + + * doc/emacs/cmdargs.texi (MS-Windows Registry): Advise against + setting environment variables in the system registry. (Bug#16429) + +2022-05-17 Lars Ingebrigtsen + + Fix kmacro-keymap binding after previous change + + * lisp/kmacro.el (kmacro-keymap): Fix binding after + kmacro-redisplay command name change. + +2022-05-17 Lars Ingebrigtsen + + Add glossary entries for "interactively" + + * doc/emacs/glossary.texi (Glossary): Mention "interactively" and + how it relates to the "command" concept (bug#55461). + +2022-05-17 Eli Zaretskii + + Fix the name of a kmacro command. + + * lisp/kmacro.el (kmacro-redisplay): Rename from + 'kdb-macro-redisplay' (which was wrong and included a typo). + + * etc/NEWS: Announce the change. (Bug#55471) + +2022-05-17 Michael Albinus + + Fix Tramp sshfs tests (don't merge) + + * test/lisp/net/tramp-tests.el (tramp-fuse-remove-hidden-files): Declare. + (tramp-test16-directory-files) + (tramp-test16-file-expand-wildcards) + (tramp-test26-file-name-completion, tramp--test-check-files): Use it. + (tramp--test-check-files): Delete directory recursively. + +2022-05-17 Michael Albinus + + Some minor Tramp fixes + + * lisp/net/tramp-cmds.el (tramp-list-tramp-buffers) + (tramp-list-remote-buffers): Add ;;;###tramp-autoload cookie. + + * lisp/net/tramp-fuse.el (tramp-fuse-remove-hidden-files): New defvar. + (tramp-fuse-remove-hidden-files): Use it. + + * lisp/net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): + Keep regression tests running. + +2022-05-15 Kyle Meyer + + Update to Org 9.5.3-6-gef41f3 + +2022-05-15 Michael Albinus + + Hide temporary FUSE files in Tramp + + * lisp/net/tramp-fuse.el (tramp-fuse-remove-hidden-files): New defsubst. + (tramp-fuse-handle-directory-files) + (tramp-fuse-handle-file-name-all-completions): Use it. + +2022-05-15 Michael Albinus + + * test/lisp/net/tramp-tests.el (tramp-test27-load): Adapt test. Don't merge + +2022-05-13 Po Lu + + Fix tooltip face overwriting dragged text strings during mouse DND + + * lisp/mouse.el (mouse-drag-and-drop-region): Copy + `text-tooltip' before showing it. Do not merge to master. + +2022-05-13 Eli Zaretskii + + Fix lexical-binding fallout in vhdl-mode.el + + * lisp/progmodes/vhdl-mode.el (arch-alist, pack-alist) + (file-alist, unit-alist, rule-alist): Defvar them, since vhdl-aput + expects them to be dynamically bound. (Bug#55389) + (vhdl-speedbar-insert-hierarchy): Rename the PACK-ALIST argument + to PACKAGE-ALIST, to avoid shadowing the global variable. + +2022-05-12 Michael Albinus + + Fix ControlPath quoting in Tramp + + * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options): + Adapt docstring. Do not quote ControlPath. Reported by Daniel + Kessler . + +2022-05-09 Eli Zaretskii + + Remove the AUCTeX subsection from MS-Windows FAQ + + * doc/misc/efaq-w32.texi (AUCTeX): Remove the subsection, it is no + longer useful. (Bug#55330) + +2022-05-09 Arash Esbati + + Update AUCTeX FAQ entry + + * doc/misc/efaq-w32.texi (AUCTeX): AUCTeX project isn't providing + pre-compiled versions for Windows anymore (bug#55330). + +2022-05-09 Lars Ingebrigtsen + + Update string-to-number documentation to bignum Emacs + + * doc/lispref/strings.texi (String Conversion): string-to-number + no longer converts integers to floating point numbers (bug#55334). + +2022-05-09 Lars Ingebrigtsen + + Fix doc string references to tags-loop-continue + + * lisp/vc/vc-dir.el (vc-dir-search, vc-dir-query-replace-regexp): + Fix reference to obsolete tags-loop-continue (bug#55311). + +2022-05-08 Visuwesh M + + dired-do-query-replace-regexp doc string fix + + * lisp/dired-aux.el (dired-do-query-replace-regexp): Refer + 'fileloop-continue' instead of the obsolete command + 'tags-loop-continue'. (Bug#55311) + + (cherry picked from commit 4c505203f9171886f47638779326e257a95a1d79) + +2022-05-08 Alan Mackenzie + + Linux console: don't translate ESC TAB to `backtab' in input-decode-map. + + This translation happened after the terminfo entry for TAB in the linux + section was changed to kcbt=\E^I in ncurses version 6.3. + + * lisp/term/linux.el (terminal-init-linux): Add a define-key form to remove + the entry for "\e\t" from input-decode-map. + + * etc/PROBLEMS: Add a new section under "character terminals" about S-TAB + wrongly doing the same thing as M-TAB, giving tips about amending the Linux + keyboard layout. + +2022-05-08 Michael Albinus + + Handle changed scp protocol in Tramp, don't merge + + * lisp/net/tramp-sh.el (tramp-scp-force-scp-protocol): New defvar. + (tramp-scp-force-scp-protocol): New defun. + (tramp-do-copy-or-rename-file-out-of-band): Use it. + (tramp-methods) : Use "%y". + + * lisp/net/tramp.el (tramp-methods): Adapt docstring. + +2022-05-06 Michael Albinus + + Fix bug#55274 + + * lisp/dired-aux.el (dired-do-compress-to): Use `file-local-name' + for shell out-file. (Bug#55274) + +2022-05-06 Eli Zaretskii + + Provide reference for OTF tags in the ELisp manual + + * doc/lispref/display.texi (Low-Level Font): Provide the canonical + reference URL for OTF tags. + +2022-05-05 Lars Ingebrigtsen + + Be more resilient towards errors during error handling + + * src/print.c (print_error_message): Avoid infinite recursion if + `substitute-command-keys' bugs out (bug#55269). + + (cherry picked from commit 8364f058b821eba31f84dcded175cca403a965a5) + +2022-04-28 Eli Zaretskii + + Improve documentation of font- and face-related attribute functions + + * lisp/faces.el (face-attribute): + * src/xfaces.c (Fx_family_fonts): + * src/font.c (Ffont_get, Ffont_put): Improve and clarify the doc + strings. + + * doc/lispref/display.texi (Low-Level Font): Document the :type + attribute of a font. Improve documentation of 'font-get' and + 'font-put'. + (Attribute Functions): Add cross-reference to the description of + face attributes. + +2022-04-25 Kyle Meyer + + Update to Org 9.5.3-3-gd54104 + +2022-04-24 Eli Zaretskii + + Improve indexing in "Programmed Completion" + + * doc/lispref/minibuf.texi (Programmed Completion): Improve + indexing. (Bug#55095) + +2022-04-24 Eli Zaretskii + + Improve documentation of 'set-fontset-font' + + * doc/lispref/display.texi (Fontsets): + * src/fontset.c (Fset_fontset_font): Improve and clarify the + documentation of 'set-fontset-font'. Rename the arguments to be + more self-explanatory. (Bug#55086) + +2022-04-23 Michael Albinus + + Fix problem with Solaris ls in Tramp + + * lisp/net/tramp-sh.el (tramp-sunos-unames): Move up. + (tramp-sh--quoting-style-options): Handle erroneous Solaris ls. + +2022-04-22 Eli Zaretskii + + Another fix for non-ASCII 'overlay-arrow-string' + + * src/xdisp.c (get_overlay_arrow_glyph_row): Fix yet another place + that assumed each character is a single byte. + +2022-04-21 Eli Zaretskii + + Avoid a redisplay loop when 'overlay-arrow-string' is non-ASCII + + * src/xdisp.c (get_overlay_arrow_glyph_row): Don't assume every + character in 'overlay-arrow-string' is one byte long. Reported by + Yuri D'Elia . + +2022-04-21 Eli Zaretskii + + Add minimum instructions to 'query-replace' commands + + * lisp/vc/vc-dir.el (vc-dir-query-replace-regexp): + * lisp/textmodes/reftex-global.el (reftex-query-replace-document): + * lisp/progmodes/project.el (project-query-replace-regexp): + * lisp/progmodes/etags.el (tags-query-replace): + * lisp/progmodes/ebrowse.el (ebrowse-tags-query-replace): + * lisp/isearch.el (isearch-query-replace, isearch-occur): + * lisp/emulation/viper-cmd.el (viper-query-replace): + * lisp/dired-aux.el (dired-do-query-replace-regexp) + (dired-do-find-regexp-and-replace): + * lisp/progmodes/xref.el (xref-query-replace-in-results): + * lisp/replace.el (query-replace, query-replace-regexp) + (query-replace-regexp-eval, map-query-replace-regexp): Add minimal + instructions for dealing with matches, with a link to the command + that shows the full instructions. (Bug#55050) + +2022-04-21 Eli Zaretskii + + Fix customization-group of 'python-forward-sexp-function' + + * lisp/progmodes/python.el (python-forward-sexp-function): Make it + be part of both 'python' and 'python-flymake' groups. (Bug#55027) + Do not merge to master. + +2022-04-20 Paul Eggert + + Update from gnulib + + (cherry picked from commit 992cf3cb675e074079341cc54c3b16d37a8b9ca8) + + This is a partial backport from master: it only includes the changes below. + + * lib/mini-gmp.c (gmp_assert_nocarry): Avoid many Clang + unused-variable warnings when building with optimisation. + * lib/verify.h (_GL_HAVE__STATIC_ASSERT): Modify condition for using + _Static_assert to cope with older Apple builds of Clang exposing + misleading compiler version numbers. See discussion starting at + https://lists.gnu.org/archive/html/emacs-devel/2022-04/msg00779.html + +2022-04-20 Lars Ingebrigtsen + + Revert prompting changes in viper-cmd + + * lisp/emulation/viper-cmd.el (viper-quote-region) + (viper-read-string-with-history, viper-query-replace): Revert + prompting changes done in 50512e3 -- the way viper prompts in + command mode is special (bug#55007). + + Do not merge to master. + +2022-04-19 Lars Ingebrigtsen + + Fix regression with multiple mode: entries in the prop line + + * lisp/files.el (hack-local-variables): Fix regression with multiple + mode: entries in the prop line. + + Do not merge to master. + +2022-04-18 Lars Ingebrigtsen + + Avoid hangs in python-mode with debug-on-error set + + * lisp/progmodes/python.el (python-nav-end-of-statement): Avoid + using cl-assert here, because this is called from the font-lock + machinery, and if debug-on-error is set here, we'll hang Emacs + (bug#54996). + + Do not merge to master. + +2022-04-18 Lars Ingebrigtsen + + Fix major-mode setting regression when there's a mode: cookie + + * lisp/files.el (hack-local-variables): Fix regression in setting + the major mode when there are mode: cookies in the file (bug#54993). + + Do not merge to master. + +2022-04-17 Kyle Meyer + + Update to Org 9.5.2-38-g682ccd + +2022-04-17 Eli Zaretskii + + Revert "Don’t assume openat" + + This reverts commit 3cccf0a9107d585173e527550bbc45253624ca2e. + + This is a change with far-reaching effects on MS-Windows at the least, + where file-related APIs are shadowed to support transparent support + for UTF-8 encoded file names. Making such changes on a stable branch + for the benefit of a proprietary platform with a 13-year old OS is a + tail wagging the dog. Please don't do that without discussing first. + +2022-04-17 Paul Eggert + + Don’t assume openat + + Use openat only on platforms with O_PATH. + This ports to OS X 10.9 and earlier. + Problem reported by Keith David Bershatsky in: + https://lists.gnu.org/r/emacs-devel/2022-04/msg00805.html + * lib-src/emacsclient.c (local_sockname): Use open, not openat. + * src/sysdep.c (sys_openat): New static function, + which uses openat only if O_PATH is defined. + (emacs_openat): Use it instead of openat. + (emacs_openat_noquit): Remove. + (emacs_open_noquit): Reimplement as per the old emacs_openat_noquit, + but use plain 'open'. + +2022-04-17 Paul Eggert + + Fix GC bug in filelock.c + + Fix a bug where if GC occurred at the wrong moment when locking a + file, the lock file’s name was trashed so file locking did not work. + This bug was introduced in Emacs 28.1. The bug sometimes caused + filelock-tests-detect-external-change test failures on Fedora 35 + x86-64 in an en_US.utf8 locale. + * src/filelock.c (lock_file_1, current_lock_owner, lock_if_free) + (lock_file, unlock_file, Ffile_locked_p): + Use Lisp_Object, not char *, for string, so that GC doesn’t trash + string contents. + (make_lock_file_name): Return the encoded name, not the original. + All callers changed. + +2022-04-16 Lars Ingebrigtsen + + Clarify when mode tagging is used + + * etc/NEWS: Clarify when mode tagging is used (bug#54964). + +2022-04-16 Lars Ingebrigtsen + + Further vcs-cvs/rcs-responsible-p updates from master + + * lisp/vc/vc-bzr.el (vc-bzr-responsible-p): + * lisp/vc/vc-sccs.el (vc-sccs-responsible-p): + * lisp/vc/vc-dav.el (vc-dav-responsible-p): Update doc string. + + * lisp/vc/vc-rcs.el (vc-rcs-responsible-p): + * lisp/vc/vc-cvs.el (vc-cvs-responsible-p): Further fixes from + master. + + * lisp/vc/vc-src.el (vc-src-responsible-p): Return the directory. + + * lisp/vc/vc.el: Update comments. + +2022-04-16 Mattias Engdegård + + Fix builds on older versions of macOS + + This adds back macOS-specific code replaced earlier (bug#48548), + specifically to fix build errors on macOS 10.7.5. See discussion at + https://lists.gnu.org/archive/html/emacs-devel/2022-04/msg00779.html . + + * src/sysdep.c (HAVE_RUSAGE_INFO_CURRENT, HAVE_PROC_PIDINFO): New. + (system_process_attributes): Use alternative code or exclude features + when building on older macOS versions. + +2022-04-16 Eli Zaretskii + + Fix documentation of Outline minor mode options + + * lisp/outline.el (outline-minor-mode-cycle-filter) + (outline-minor-mode-cycle, outline-minor-mode-highlight) + (outline-cycle, outline-cycle-buffer): Doc fixes. (Bug#54967) + +2022-04-15 Eli Zaretskii + + Improve discoverability of 'insert-directory-program' + + * lisp/files.el (insert-directory-program): Mention 'dired' in the + doc string. + * lisp/dired.el (dired): Mention 'insert-directory-program' in the + doc string. (Bug#54962) + +2022-04-15 Eli Zaretskii + + Fix cursor motion under truncate-lines with Flymake fringe indicator + + * src/indent.c (Fvertical_motion): Don't consider fringe bitmaps + as "images" for the purpose of vertical-motion logic dealing with + overshooting buffer positions. (Bug#54946) + +2022-04-14 Lars Ingebrigtsen + + Make all vc-*-responsible-p functions return a string + + * lisp/vc/vc-sccs.el (vc-sccs-responsible-p): + * lisp/vc/vc-rcs.el (vc-rcs-responsible-p): + * lisp/vc/vc-dav.el (vc-dav-responsible-p): + * lisp/vc/vc-cvs.el (vc-cvs-responsible-p): Return a file name + instead of t when we get a match (which is what + vc-backend-for-registration expects) (bug#51800). + + This fixes the regression reported in bug#54935. + + Do not merge to master. + +2022-04-14 Eli Zaretskii + + Describe problems with invoking Python on MS-Windows + + * etc/PROBLEMS: Describe problems with running an inferior Python + interpreter due to the MS-Windows "App Execution Aliases" feature. + (Bug#54860) + +2022-04-13 Eli Zaretskii + + A better fix for bug#54800 + + * lisp/calc/calc.el (calc-align-stack-window): Improve scrolling + when windows have non-integral dimensions. + +2022-04-13 Lars Ingebrigtsen + + Add a comment about cl-concatenate + + * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Add a comment. + +2022-04-13 Lars Ingebrigtsen + + Revert "Make cl-concatenate an alias of seq-concatenate" + + This reverts commit 78f76fe16e2737b40694f82af28d17a90a21ed7b. + + The commit made calls to cl-concatenate bug out, since + autoloading defalises doesn't work very well (bug#54901). + +2022-04-12 Eli Zaretskii + + Fix 'window-text-pixel-width' when starting from display property + + * src/xdisp.c (Fwindow_text_pixel_size): Handle the case where + there's a display property at START, and move_it_to overshoots. + Do not merge to master. (Bug#54862) + +2022-04-11 Stefan Monnier + + * lisp/gnus/mm-encode.el (mm-default-file-encoding): Fix "when" arg + +2022-04-11 Eli Zaretskii + + Fix default-directory of buffers visiting files in renamed directories + + * lisp/dired-aux.el (dired-rename-file): Take note of whether FILE + is a directory before it is renamed, which makes it impossible to + determine if it was a directory. + (dired-rename-subdir, dired-rename-subdir-1): Revert to using + dired-in-this-tree-p instead of file-in-directory-p, for the + benefit of files that were renamed/removed, because + file-in-directory-p returns nil in those cases. (Bug#54838) + +2022-04-11 Lars Ingebrigtsen + + Fix a kill-append regression + + * lisp/simple.el (kill-append): Fix a regression when + kill-ring-max is zero (bug#54842). + +2022-04-10 Eli Zaretskii + + * doc/misc/eww.texi (Advanced): Correct outdated info (bug#54839). + +2022-04-10 Eli Zaretskii + + Clean up the MSDOS port + + * src/msdos.h (tcdrain): Redirect to '_dos_commit'. + (openat, fchmodat, futimens, utimensat): Add prototypes. + + * msdos/sed1v2.inp (MAKE_PDUMPER_FINGERPRINT): Fix indentation, so + that Make won't consider this line a command. + ($(etc)/DOC): Chdir back to ../src, since "make-docfile -d" leaves + us in a wrong directory. + * msdos/sedlibmk.inp (GL_GNULIB_GETRANDOM, GL_GNULIB_MEMMEM) + (GL_GNULIB_SIGDESCR_NP): Define to 1, to get the prototypes from + Gnulib headers. + +2022-04-10 Daniel Martín + + Fix typo in next-error-find-buffer-function + + * lisp/simple.el (next-error-find-buffer-function): Fix typo + (bug#54830). + +2022-04-10 Lars Ingebrigtsen + + Revert "Make shell-resync-dirs handle whitespace in directory names" + + This reverts commit 90e65c826fab2092ad2099d7763538194c93e021. + + This change led to hangs (bug#54776). + + Do not merge to master; it has been fixed in a more encompassing way there. + +2022-04-09 Eli Zaretskii + + Fix scrolling of the stack window in Calc + + * lisp/calc/calc.el (calc-align-stack-window): Fix off-by-one + error in computing the window-start point. (Bug#54800) + +2022-04-08 Eli Zaretskii + + Update and fix instructions and scripts for updating the Web pages + + * admin/admin.el (manual-html-fix-index-2): Support Texinfo 6.8 + and later by not converting TOC menus into tables. (Bug#49719) + * admin/upload-manuals (New directory): Invoke "cvs add" in + $webdir, to pick up the correct CVSROOT. + * admin/make-tarball.txt: Update the section about the Emacs Web + pages. + + * etc/refcards/Makefile (pl-refcard.dvi): If mex.fmt cannot be + found, invoke 'mex' instead of 'tex'. + +2022-04-08 Michael Albinus + + Extend tramp-archive-test45-auto-load + + * test/lisp/net/tramp-archive-tests.el (tramp-archive-test45-auto-load): + Extend test. + +2022-04-08 Michael Albinus + + Ensure local `default-directory' in Tramp when needed + + * lisp/net/tramp.el (tramp-process-running-p): Ensure local + `default-directory' when calling `list-system-processes' and + `process-attributes'. + +2022-04-08 Eli Zaretskii + + Clarify "idleness" in the ELisp manual + + * doc/lispref/os.texi (Idle Timers): Clarify that waiting for + input with timeout doesn't make Emacs idle. Suggested by Ignacio + . (Bug#54371) + +2022-04-07 Jürgen Hötzel + + Use correct signal oldset in posix_spawn implementation + + posix_spawn was restoring the wrong signal set, which still had + SIGCHLD and SIGINT masked, causing problems with child processes that + spawned child processes. (Bug#54667) + + See the thread ending at + https://lists.gnu.org/archive/html/emacs-devel/2022-03/msg00067.html + for more details. + + * src/callproc.c (emacs_spawn): Pass oldset parameter. + (emacs_posix_spawn_init_attributes): Use correct oldset. + (emacs_posix_spawn_init): Remove intermediate function. + + (cherry picked from commit 8103b060d89ac63a12c439087bd46c30da72cd97) + +2022-04-07 Felix Dietrich (tiny change) + + Fix error in tramp-archive-autoload-file-name-handler + + * lisp/net/tramp-archive.el (tramp-archive-autoload-file-name-handler): + Always call `tramp-autoload-file-name'. Otherwise, when + `tramp-archive-enabled’ is nil and + `tramp-archive-autoload-file-name-handler’ is in the + `file-name-handler-alist’ results in an error “Invalid handler in + `file-name-handler-alist” once Emacs calls + `tramp-archive-autoload-file-name-handler’ with a handler that + does not expect nil. Always returning nil is also false in + general. + +2022-04-07 Michael Albinus + + Commit missing file from previous commit (Do not merge with master) + + Commit missing file from previous commit + +2022-04-07 Michael Albinus + + Merge with Tramp 2.5.2.3 (Do not merge with master) + + * doc/misc/tramp.texi (Archive file names): Explicitly say how to + open an archive with Tramp (Bug#25076). + + * doc/misc/trampver.texi: + * lisp/net/trampver.el: Change version to "2.5.3-pre". + + * lisp/net/tramp-adb.el (tramp-adb-handle-process-file) + * lisp/net/tramp-sh.el (tramp-sh-handle-process-file): + * lisp/net/tramp-smb.el (tramp-smb-handle-process-file): + * lisp/net/tramp-sshfs.el (tramp-sshfs-handle-process-file): + Improve implementation. (Bug#53854) + + * lisp/net/tramp-adb.el (tramp-adb-tolerate-tilde): + * lisp/net/tramp-sshfs.el (tramp-sshfs-tolerate-tilde): + New defuns. Advice `shell-mode' with them. + + * lisp/net/tramp.el (tramp-register-autoload-file-name-handlers): + * lisp/net/tramp-archive.el (tramp-register-archive-file-name-handler): + Check, whether the real file name handler is already registered. + rules. (Bug#54542) + + * lisp/net/tramp.el (tramp-autoload-file-name-handler) + (tramp-register-autoload-file-name-handlers) + (tramp-unload-file-name-handlers, tramp-unload-tramp): + * lisp/net/tramp-archive.el (tramp-archive-autoload-file-name-regexp) + (tramp-archive-autoload-file-name-handler) + (tramp-register-archive-file-name-handler): + Add `tramp-autoload' property. + + * lisp/net/tramp-crypt.el (tramp-crypt-file-name-handler-alist): + * lisp/net/tramp-rclone.el (tramp-rclone-file-name-handler-alist): + * lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler-alist): + * lisp/net/tramp-sshfs.el (tramp-sshfs-file-name-handler-alist): + Use `tramp-handle-file-notify-add-watch', + `tramp-handle-file-notify-rm-watch' and + `tramp-handle-file-notify-valid-p'. + + * lisp/net/tramp-crypt.el (tramp-crypt-file-name-handler-alist): + Use `tramp-handle-insert-file-contents'. + + * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): + * lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection): + * lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection): + * lisp/net/tramp-sudoedit.el + (tramp-sudoedit-maybe-open-connection): Do not set "lock-pid" + connection-property. + (tramp-sudoedit-handle-delete-file): Use "rm -f". + + * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-executable-p): + * lisp/net/tramp-sh.el (tramp-sh-handle-file-executable-p): + Check also for setuid/setgid bit. + (tramp-gvfs-handle-expand-file-name): + Respect `tramp-tolerate-tilde'. + + * lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory): + * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory): + Do not modify disk space information when + `dired--insert-disk-space' is available. (Bug#54512) + + * lisp/net/tramp-sh.el (tramp-maybe-open-connection): Extend suppression + (tramp-get-remote-dev-tty): New defun. + (tramp-sh-handle-make-process): Use it. + + * lisp/net/tramp-sshfs.el (tramp-methods) : + Add "-t -t" to `tramp-login-args'. + Add "-o dir_cache=no" to `tramp-mount-args'. (Bug#54126) + Add "-o transform_symlinks" to `tramp-mount-args'. + (tramp-sshfs-file-name-handler-alist): + Use `tramp-sshfs-handle-file-writable-p'. + (tramp-sshfs-handle-file-writable-p): New defun. (Bug#54130) + (tramp-sshfs-handle-write-region): Set file modification time. + (Bug#54016) + (tramp-sshfs-file-name-handler-alist): + Use `tramp-sshfs-handle-set-file-times'. + (tramp-sshfs-handle-set-file-times): New defun. + + * test/lisp/net/tramp-tests.el (tramp--test-expensive-test-p): + Rename from `tramp--test-expensive-test'. Make it a defun. Adapt + all callees. + (tramp-test07-file-exists-p, tramp-test14-delete-directory) + (tramp-test18-file-attributes, tramp-test20-file-modes) + (tramp-test28-process-file, tramp-test29-start-file-process) + (tramp-test30-make-process, tramp-test32-shell-command) + (tramp-test33-environment-variables, tramp--test-check-files) + (tramp--test-special-characters, tramp-test46-unload): Adapt tests. + (tramp-test39-detect-external-change): New test. + (tramp-test29-start-file-process) + (tramp--test--deftest-direct-async-process) + (tramp-test30-make-process, tramp-test31-interrupt-process) + (tramp-test34-explicit-shell-file-name) + (tramp-test44-asynchronous-requests): + Add :tramp-asynchronous-processes tag. + (tramp--test-asynchronous-processes-p): New defun. + (tramp--test-hpux-p, tramp--test-macos-p): Protect against errors. + +2022-04-06 Stefan Monnier + + cl-generic.el: Fix bug#46722 + + Fix longstanding bug due to unexpected interference via side-effect. + + * lisp/emacs-lisp/cl-generic.el (cl--generic-get-dispatcher): + Copy the `dispatch` arg before storing it into the hash-table. + + Backport from `master` (cherrypick from commit 61f8f7f68f). + +2022-04-05 Eli Zaretskii + + Fix fallout from lexical-binding in vhdl-mode.el + + * lisp/progmodes/vhdl-mode.el (vhdl-update-sensitivity-list): Fix + production of a list with embedded function calls. (Bug#54730) + +2022-04-03 Eli Zaretskii + + Update logs and HISTORY for Emacs 28.1 + + * ChangeLog.3: + * etc/HISTORY: + * etc/AUTHORS: Update for Emacs 28.1 release. + +2022-04-03 Eli Zaretskii + + Bump Emacs version to 28.1 + + * README: + * configure.ac: + * nt/README.W32: + * msdos/sed2v2.inp: Bump Emacs version to 28.1 + +2022-03-30 Tassilo Horn + + dired: implement feature from 7b50ed553f differently + + * lisp/dired.el (dired-buffers-for-dir): Restore to emacs-27 version. + (dired-buffers-for-dir-or-subdir): New function. + (dired-clean-up-after-deletion): Use dired-buffers-for-dir-or-subdir + instead dired-buffers-for-dir. + +2022-03-30 Eli Zaretskii + + Fix regression in 'dired-buffers-for-dir' + + * lisp/dired.el (dired-buffers-for-dir): Fix inadvertently swapped + arguments. (Bug#54636) + +2022-03-27 Eli Zaretskii + + * lisp/desktop.el (desktop-read): Clarify warning text. + +2022-03-26 Po Lu + + * doc/emacs/anti.texi (Antinews): Unannounce removal of Motif. + +2022-03-25 Lars Ingebrigtsen + + Fix eshell-explicit-command-char doc string typo + + * lisp/eshell/esh-ext.el (eshell-explicit-command-char): Fix typo + in doc string (bug#54567). + +2022-03-24 Eli Zaretskii + + Clarify the description of "selected tags table" + + * doc/emacs/maintaining.texi (Select Tags Table): Clarify the + distinction between the "selected tags table" and the "current + list of tags tables". (Bug#54543) + +2022-03-21 Lars Ingebrigtsen + + Add notes about command modes and nativecomp interaction + + * doc/lispref/commands.texi (Command Modes): Note interaction with + native-compile (bug#54437). + + * src/data.c: Add comment about not being supported. + + Do not merge to master. + +2022-03-20 Kyle Meyer + + Update to Org 9.5.2-25-gaf6f12 + +2022-03-20 Eli Zaretskii + + Improve doc strings of read-char-from-minibuffer-insert-* commands + + * lisp/subr.el (read-char-from-minibuffer-insert-char) + (read-char-from-minibuffer-insert-other): Clarify the doc strings. + (Bug#54479) + +2022-03-19 Eli Zaretskii + + Fix region highlight in non-selected windows + + * src/xdisp.c (prepare_menu_bars): Include in the windows passed + to pre-redisplay-functions windows whose point was moved from the + last recorded position. (Bug#54450) + +2022-03-18 Eli Zaretskii + + Fix a regression in 'decipher-digram-list' + + * lisp/play/decipher.el (decipher-stats-buffer): Don't assume the + statistics buffer always exists. (Bug#54443) + +2022-03-17 Karl Fogel + + Improve documentation of bookmark default sorting + + * lisp/bookmark.el (bookmark-alist, bookmark-store, + bookmark-maybe-sort-alist): Update doc strings and comments. + +2022-03-15 Juri Linkov + + * doc/misc/transient.texi: Fix @dircategory to "Emacs misc features" for dir. + +2022-03-13 Jim Porter + + Fix evaluation of negated argument predicates in Eshell + + * lisp/eshell/em-pred.el (eshell-add-pred-func): Let-bind 'pred' so + the lambdas see the original value (bug#54369). + + Committed on the wrong branch. + + Do not merge to master. + +2022-03-12 Eli Zaretskii + + Emacs pretest 28.0.92 + + * README: + * configure.ac: + * nt/README.W32: + * msdos/sed2v2.inp: Bump Emacs version to 28.0.92. + + * etc/AUTHORS: + * lisp/ldefs-boot.el: Update for pretest 28.0.92. + + * ChangeLog.3: Regenerate. + +2022-03-10 Eli Zaretskii + + Fix regression in 'custom-prompt-customize-unsaved-options' + + * lisp/cus-edit.el (custom-prompt-customize-unsaved-options): + Don't depend on the value returned by 'customize-unsaved'. Fix + the doc string. Patch by Sebastian Miele . + (Bug#54329) + +2022-03-10 Eli Zaretskii + + Improve documentation of 'map-charset-chars' + + * doc/lispref/nonascii.texi (Character Sets): + * src/charset.c (Fmap_charset_chars): Clarify the codepoint issue + in using 'map-charset-chars'. + +2022-03-08 Eli Zaretskii + + Avoid assertion violations in 'bidi_resolve_brackets' + + * src/bidi.c (bidi_resolve_brackets): Move assertion to where it + really matters. (Bug#54295) + +2022-03-07 Lars Ingebrigtsen + + Fix which-func-update doc string + + * lisp/progmodes/which-func.el (which-func-update): Make the doc + string match the code (bug#54288). + +2022-03-07 Eli Zaretskii + + Improve wording of 'dired-jump's description + + * doc/emacs/dired.texi (Dired Enter): Clarify wording. Reported + by Natalie . + +2022-03-06 Lars Ingebrigtsen + + Add a comment for previous browse-url-of-dired-file change + + * lisp/net/browse-url.el (browse-url-of-dired-file): Add a comment + for previous change. + +2022-03-06 Lars Ingebrigtsen + + Restore documented Emacs 27.2 behaviour of browse-url-of-dired-file + + * lisp/net/browse-url.el (browse-url-of-dired-file): Restore the + documented behaviour -- open a web browser instead of passing to + the various handlers. + +2022-03-06 Kyle Meyer + + Update to Org 9.5.2-24-g668205 + +2022-03-05 Andreas Schwab + + * lib-src/seccomp-filter.c (main): Use faccessat2 only if defined. + +2022-03-04 Lars Ingebrigtsen + + Fix regression in derived-mode-init-mode-variables + + * lisp/emacs-lisp/derived.el (derived-mode-init-mode-variables): + Fix regression caused by lexical-binding derived.el (bug#54240). + +2022-03-03 Eli Zaretskii + + Avoid crashes when fringe bitmaps are defined in daemon mode + + * src/dispextern.h (gui_define_fringe_bitmap): Add prototype. + (max_used_fringe_bitmap): Add declaration. + * src/fringe.c (gui_define_fringe_bitmap): New function. + * src/w32term.c (w32_draw_fringe_bitmap): + * src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]: Call + 'gui_define_fringe_bitmap' if the terminal-specific bitmap data is + not available when a fringe bitmap is about to be drawn. Don't + try to draw a bitmap that is not known to fringe.c. (Bug#54183) + +2022-03-03 Eli Zaretskii + + One more fix of the BPA implementation + + * src/bidi.c (bidi_find_bracket_pairs): Disable BPA optimization + when there are no strong directional characters inside the + bracketed pair. (Bug#54219) + +2022-03-03 Eli Zaretskii + + Fix handling of brackets in BPA + + * src/bidi.c (bidi_resolve_brackets): Fix implementation of UBA's + N0 rule when there are no strong directional characters inside the + bracketed pair. (Bug#54219) + +2022-03-02 Po Lu + + Correct etc/NEWS entry about bitmapped fonts + + * etc/NEWS: Don't say that bitmap font issues are due to Pango, that's + not accurate. + +2022-03-01 Jim Porter + + Improve/correct documentation about Eshell variable expansion + + * lisp/eshell/esh-var.el: Correct documentation comment. + (eshell-parse-variable-ref): Correct docstring. + + * doc/misc/eshell.texi (Dollars Expansion): Add documentation for + $"var"/$'var' and $ syntaxes. + +2022-03-01 Jim Porter + + Partially revert b03f74e0f2a578b1580e8b1c368665850ee7f808 + + That commit regressed '$' forms in Eshell, due to a + limitation/bug in how 'eshell-do-eval' works. This fixes + bug#54190. + + * lisp/eshell/esh-var.el (eshell-parse-variable-ref): Quote a lambda. + + * test/lisp/eshell/eshell-tests.el (eshell-test/interp-temp-cmd): + New test. + +2022-03-01 Paul Eggert + + Backport: Port pre-commit hook to Git 2.35.0 + + * build-aux/git-hooks/pre-commit: Use LC_ALL=C grep -E instead of + sane_egrep (removed in Git 2.35.0). + + (cherry picked from commit b8a96f055624f86fe965a0d1b7b2495b2db80e63) + +2022-02-28 Lars Ingebrigtsen + + Fix :tag for eol in tab-first-completion + + * lisp/indent.el (tab-first-completion): Fix the :tag description + (bug#54179). + +2022-02-28 Kyle Meyer + + Update to Org 9.5.2-22-g33543d + +2022-02-27 Dmitry Gutov + + Add explicit '--no-heading' for ripgrep + + * lisp/progmodes/xref.el (xref-search-program-alist): + Add explicit '--no-heading' for ripgrep (bug#54177). + +2022-02-26 Michael Albinus + + Follow OpenSSH changes in Tramp + + * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options): + Reimplement. OpenSSH has changed its diagnostics messages. + +2022-02-26 Eli Zaretskii + + Document better how to reset attributes of faces for new frames + + * doc/lispref/display.texi (Attribute Functions): + * lisp/faces.el (set-face-attribute): Explain how to reset an + attribute's value for future frames. (Bug#54156) + +2022-02-25 Michael Albinus + + * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options): Adapt test. + +2022-02-24 Lars Ingebrigtsen + + Mention flyspell-prog-mode in flyspell-mode doc string + + * lisp/textmodes/flyspell.el (flyspell-mode): Mention + flyspell-prog-mode (bug#54131). + +2022-02-23 Lars Ingebrigtsen + + Reword face-remap-add-relative manual entry + + * doc/lispref/display.texi (Face Remapping): Clarify the + face-remap-add-relative (bug#54114). + +2022-02-22 Philipp Stephani + + Fix indexing of module functions that return enumeration types. + + Return types that consist of more than one word need to be enclosed in + braces, see Info node `(texinfo) Typed Functions'. Otherwise they are + indexed incorrectly. + + * doc/lispref/internals.texi (Module Misc, Module Nonlocal): Enclose + multi-word return types in braces. + +2022-02-22 Eli Zaretskii + + * doc/misc/transient.texi (Other Options): Fix a @ref. (Bug#54108) + +2022-02-22 Glenn Morris + + tramp.texi texinfo 4.13 compatibility + + * doc/misc/tramp.texi (Frequently Asked Questions): + Restore compatibility with Texinfo < 5. + +2022-02-22 Michael Albinus + + Explain "Tramp" spelling in its manual + + * doc/misc/tramp.texi (Frequently Asked Questions): + Explain "Tramp" spelling. + +2022-02-21 Eli Zaretskii + + Fix 'display-line-numbers-mode' in hide-show buffers + + * src/xdisp.c (redisplay_internal): Disable redisplay + optimizations that consider just the current line, when + 'display-line-numbers-mode' is turned on in the buffer. + (Bug#54091) + +2022-02-21 Martin Rudalics + + Don't check whether a deleted window is deletable (Bug#54028) + + * lisp/window.el (window-state-put): Make sure window is live + before calling 'window-deletable-p' on it (Bug#54028). + +2022-02-21 Eli Zaretskii + + A friendlier error message from image-mode in an empty buffer + + * lisp/image-mode.el (image-mode): Handle the case where the empty + buffer doesn't visit a file (Bug#54084) + +2022-02-20 Kyle Meyer + + Update to Org 9.5.2-17-gea6b74 + +2022-02-18 Eli Zaretskii + + Improve documentation of filling and justification commands + + * doc/lispref/text.texi (Filling): + * lisp/textmodes/fill.el (fill-region-as-paragraph) + (default-justification, set-justification, justify-current-line): + Clarify "canonicalization" of spaces and the meaning of + justification styles. (Bug#54047) + (set-justification-left, set-justification-right) + (set-justification-full): Improve wording of doc strings. + +2022-02-18 Eli Zaretskii + + * lisp/progmodes/subword.el (superword-mode): Doc fix. (Bug#54045) + +2022-02-17 Philipp Stephani + + Fix indexing of module functions that return complex types. + + Return types that consist of more than one word need to be enclosed in + braces, see Info node `(texinfo) Typed Functions'. Otherwise they are + indexed incorrectly. + + * doc/lispref/internals.texi (Module Values): Enclose multi-word + return types in braces. + +2022-02-17 Po Lu + + Prevent crashes caused by invalid locale coding systems + + * src/xterm.c (handle_one_xevent): Prevent a signal inside + `setup_coding_system' which crashes recent versions of GLib if + the locale coding system is invalid. + + Do not merge to master. + +2022-02-15 Michael Albinus + + Fix problem with popd for in remote shell buffers + + * lisp/shell.el (shell-prefixed-directory-name): + Use `file-local-name' for DIR. (Bug#53927) + +2022-02-15 Jonas Bernoulli + + Import texi source file for transient manual + + * doc/misc/Makefile.in: Add transient to INFO_COMMON. + * doc/misc/transient.texi: New file. + +2022-02-13 Kyle Meyer + + Update to Org 9.5.2-15-gc5ceb6 + +2022-02-13 Eli Zaretskii + + Fix 'exchange-point-and-mark' in 'transient-mark-mode' + + * lisp/simple.el (exchange-point-and-mark): Don't deactivate mark + when 'transient-mark-mode' is ON. (Bug#53150) + + (cherry picked from commit 415ed4b42515ff2e6dd9b94e964b479e50c6392e) + +2022-02-13 Eli Zaretskii + + Fix "C-SPC C-SPC" after "C-x C-x" + + * lisp/simple.el (exchange-point-and-mark): Fix what the command + does when 'transient-mark-mode' is OFF. (Bug#52896) + + (cherry picked from commit 19c6cad1821eb896b2ddd0f6eab030f0880ea254) + +2022-02-13 Eli Zaretskii + + Fix a typo in fontset.el + + * lisp/international/fontset.el (xlfd-regexp-spacing-subnum): Fix + a typo. Reported by Greg A. Woods . + +2022-02-12 Eli Zaretskii + + Note in ELisp manual that too-wide images are truncated + + * doc/lispref/display.texi (Showing Images): Note that images are + truncated at the window's edge. (Bug#53952) + +2022-02-11 Andrea Corallo + + * lisp/mail/emacsbug.el (report-emacs-bug): Report libgccjit status. + + * lisp/startup.el (normal-top-level): Small code move, improve 202d3be873. + +2022-02-10 Andrea Corallo + + * lisp/startup.el (normal-top-level): Disable native-comp if not available + +2022-02-09 Andrea Corallo + + Fix integer arithmetic miss-compilation (bug#53451) + + * lisp/emacs-lisp/comp-cstr.el (comp-cstr-set-range-for-arithm): + When one of the two sources is negated revert to set dst as + number. + * test/src/comp-tests.el (comp-tests-type-spec-tests): Add test to + verify this is effective. + +2022-02-08 Robert Pluim + + Mark flymake as compatible with emacs-26.1 + + * lisp/progmodes/flymake.el: Bump package version and set + emacs version in Package-Requires to 26.1 (Bug#53853). + +2022-02-08 Brian Leung + + flymake: Ensure compatibility with older Emacsen + + * lisp/progmodes/flymake.el (flymake--log-1): Use + replace-regexp-in-string instead of Emacs 28's + string-replace (bug#53853). + +2022-02-07 Eric Abrahamsen + + Don't remove dummy.group from gnus-newsrc-alist on Gnus save + + bug#53352 + + * lisp/gnus/gnus-start.el (gnus-gnus-to-quick-newsrc-format): This + function was removing dummy.group from the global value of + `gnus-newsrc-alist' on save; we only wanted to remove it temporarily. + +2022-02-05 Bob Rogers + + Fix ietf-drums-get-comment doc string + + * lisp/mail/ietf-drums.el (ietf-drums-get-comment): We really return + the last comment (bug#53810). + +2022-02-05 Daniel Martín + + Fix typo in display.texi + + * doc/lispref/display.texi (Making Buttons): Fix typo. (Bug#53807) + +2022-02-03 Michael Albinus + + Revert an erroneous change in tramp-cache.el + + * lisp/net/tramp-cache.el (tramp-get-hash-table): + Use `string-match-p' instead of `string-search'. The latter one + was introduced by accident. Reported by Kai Tetzlaff . + +2022-02-02 Eli Zaretskii + + Improve documentation of 'emacs-version' + + * doc/emacs/trouble.texi (Checklist): Mention the possibility of + invoking 'emacs-version' with a prefix argument. + + * lisp/version.el (emacs-version): Improve doc string. (Bug#53720) + +2022-02-01 Michael Albinus + + * etc/NEWS: Apply final fixes after proofreading. + +2022-01-31 Eli Zaretskii + + Clarify documentation of a "face's font" + + * doc/lispref/display.texi (Attribute Functions) + (Face Attributes): Clarify that the :font attribute of a face and + the font returned by 'face-font' are by default for ASCII + characters. (Bug#53664) + +2022-01-31 Alan Mackenzie + + Bind Qdebugger to Qdebug in signal_or_quit. + + * src/eval.c (signal_or_quit): Bind the correct variable, Qdebugger (not + Vdebugger) to Qdebug in the section for errors in batch jobs. + (syms_of_eval): New DEFSYM for Qdebugger. + +2022-01-30 Kyle Meyer + + Update to Org 9.5.2-13-gdd6486 + +2022-01-30 Eli Zaretskii + + Fix regression in Occur Edit mode + + * lisp/replace.el (occur-after-change-function): Fix the algorithm + to find the smallest change in some corner cases. (Bug#53598) + +2022-01-29 Eli Zaretskii + + Fix last change of Malayalam composition rules + + * lisp/language/indian.el (malayalam-composable-pattern): + Reinstate. Instead of removing it, add any sequence of + Malayalam characters to the existing patterns, so as not + to lose the patterns that use ZWJ and ZWNJ. (Bug#53625) + +2022-01-29 Eli Zaretskii + + Fix rendering of Malayalam script + + * lisp/language/indian.el (malayalam-composable-pattern): Remove. + (script-regexp-alist): Remove 'malayalam-composable-pattern'. + Instead, pass any sequence of Malayalam codepoints to the shaping + engine. (Bug#53625) + +2022-01-29 Eli Zaretskii + + Improve documentation of Occur mode + + * doc/emacs/search.texi (Other Repeating Search): Improve wording + and document Occur Edit mode better. + +2022-01-29 Alan Third + + Remove debug logging + + * src/nsterm.m ([EmacsView copyRect:to:]): Remove logging as it's no + longer required. + +2022-01-29 Michael Albinus + + Fix error in filelock.c + + * src/filelock.c (lock_file): Move call of file name handler to + `Flock_file'. Determine lock_filename only in case + create_lockfiles is non-nil. Adapt the rest of the function accordingly. + (Flock_file): Do not check for create_lockfiles. Call file name + handler if appropriate. (Bug#53207) + +2022-01-27 Juri Linkov + + * lisp/frame.el (clone-frame): Filter out 'parent-id' (bug#51883). + +2022-01-26 Lars Ingebrigtsen + + Partially revert a fill-region-as-paragraph regression + + * lisp/textmodes/fill.el (fill-region-as-paragraph): Revert + e186af261 (bug#53537), because it leads to regressions. (But + leave tests in place.) + +2022-01-26 Eli Zaretskii + + Fix 'make_lispy_position' when there's an image at EOB + + * src/xdisp.c (move_it_to): Don't compare IT_CHARPOS with an + invalid TO_CHARPOS. (Bug#53546) + +2022-01-26 Lars Ingebrigtsen + + Fix copyright-find-copyright when searching from the end + + * lisp/emacs-lisp/copyright.el (copyright-find-copyright): Make + the double check also work when searching from the end (bug#7179). + + Do not merge to master. + +2022-01-26 Lars Ingebrigtsen + + Fix copyright.el comment and add a test + + * lisp/emacs-lisp/copyright.el (copyright-find-copyright): Fix + comment (bug#7179). + + Do not merge to master. + +2022-01-24 Philipp Stephani + + * configure.ac (LIBSECCOMP): Bump minimum version for faccessat2. + +2022-01-24 Lars Ingebrigtsen + + Make the `f' command work in image-mode again + + * lisp/image.el (image-show-frame): Protect against not having + computed the animation data yed (bug#53489). + +2022-01-22 Philipp Stephani + + Seccomp: improve support for newer versions of glibc (Bug#51073) + + * lib-src/seccomp-filter.c (main): Allow 'pread64' and 'faccessat2' + system calls. Newer versions of glibc use these system call (starting + with commits 95c1056962a3f2297c94ce47f0eaf0c5b6563231 and + 3d3ab573a5f3071992cbc4f57d50d1d29d55bde2, respectively). + +2022-01-21 Thomas Fitzsimmons + + EUDC: Fix a quoting bug in the BBDB backend + + * lisp/net/eudcb-bbdb.el (eudc-bbdb-query-internal): Fix a quoting + bug introduced during lexical-binding conversion. + +2022-01-21 Sergey Vinokurov + + Fix memory-report-object-size to initialize memory-report--type-size + + * lisp/emacs-lisp/memory-report.el (memory-report-object-size): + Allow using function directly (bug#53310). + + Do not merge to master. + +2022-01-20 Stefan Monnier + + Fix menu-bar mouse clicks in "C-h c" and "C-h k" (bug#53322) + + * lisp/subr.el (event-start, event-end): Handle '(menu-bar)' + events. + * lisp/net/browse-url.el (browse-url-interactive-arg): Simplify + accordingly. + + (cherry picked from commit 9ceb3070e34ad8a54184fd0deda477bf5ff77000) + +2022-01-20 Eli Zaretskii (tiny change) + + Fix UB in ebrowse + + * lib-src/ebrowse.c (matching_regexp): Avoid writing beyond the + limits of 'matching_regexp_buffer'. Patch by Jan Stranik + . (Bug#53333) + +2022-01-20 Lars Ingebrigtsen + + Fix execute-extended-command-for-buffer in fundamental-mode + + * lisp/simple.el (execute-extended-command-for-buffer): Protect + against the current local map being nil (bug#52907). + +2022-01-20 Martin Rudalics + + Add workaround to handle a problem with Enlightenment WM (Bug#53298) + + * src/xterm.c (handle_one_xevent): Handle setting of variable + 'x_set_frame_visibility_more_laxly' when receiving an Expose or + FocusIn event (Bug#53298). + (Qexpose): Define symbol. + (x_set_frame_visibility_more_laxly): New Lisp variable. + * etc/PROBLEMS: Mention frame redraw problem with the + Enlightenment WM and 'x-set-frame-visibility-more-laxly' + workaround. + +2022-01-17 Po Lu + + Fix regression leading to flickering tooltips when the mouse is moved + + * lisp/tooltip.el (tooltip-show-help): Compare string with + previous tooltip string ignoring properties. + +2022-01-17 Andrea Corallo + + * Fix native comp for non trivial function names (bug#52833) + + * lisp/emacs-lisp/comp.el (comp-c-func-name): Fix native compilation + for functions with function names containing non trivial + characters (bug#52833). + + This commit is the backport of e7699bf290. + + Do not merge to master + +2022-01-15 Kyle Meyer + + Update to Org 9.5.2-9-g7ba24c + +2022-01-15 Juri Linkov + + * lisp/net/dictionary.el (dictionary-context-menu): Use package prefix. + +2022-01-15 Philipp Stephani + + Mark a few more map tests as unstable on Emacs 28 (Bug#46722). + + At least for me, these tests still occasionally fail. + + Do not merge to master. + + * test/lisp/emacs-lisp/map-tests.el (test-map-into-hash-test) + (test-map-merge, test-map-merge-with, test-map-merge-empty): Mark as + unstable. + +2022-01-15 Philipp Stephani + + * lisp/indent.el (tab-first-completion): Fix incorrect choices. + +2022-01-14 Philipp Stephani + + * lisp/simple.el (undo-no-redo): Fix customization group + + * lisp/progmodes/xref.el (xref-file-name-display): Fix docstring. + +2022-01-14 Eli Zaretskii + + Avoid another segfault in 'face_at_buffer_position' + + * src/xfaces.c (face_at_buffer_position): Make really sure the + default face is usable. (Bug#53254) + +2022-01-14 Lars Ingebrigtsen + + Mark test-map-into as unstable + + * test/lisp/emacs-lisp/map-tests.el (test-map-into): Mark as + unstable (bug#46722). + + Do not merge to master. + +2022-01-13 Philipp Stephani + + Fix Edebug specification for inline functions (Bug#53068). + + * lisp/emacs-lisp/inline.el (inline-quote): Fix Edebug specification. + + * test/lisp/emacs-lisp/edebug-tests.el (edebug-tests-inline): New unit + test. + +2022-01-13 N. Jackson + + Remove mention of removed `gnus-treat-play-sounds' variable from manual + + * info/gnus.info: Remove `gnus-treat-play-sounds' from + manual. According to lisp/gnus/ChangeLog.3 this variable was + removed in 2010 (bug#53192). + +2022-01-12 Mattias Engdegård + + Revert "Fix closure-conversion of shadowed captured lambda-lifted vars" + + This reverts commit 3ec8c8b3ae2359ceb8135b672e86526969c16b7e. + + It was committed to a stable branch without prior discussion; + see bug#53071. + +2022-01-12 Juri Linkov + + * doc/lispref/windows.texi (Textual Scrolling): Remove obsolete text. + + Remove text about scrolling the minibuffer from the buffer, + obsolete since Emacs 27 (bug#51210). + +2022-01-12 Glenn Morris + + * lisp/files.el (lock-file-name-transforms): Doc tweaks. + +2022-01-12 Mattias Engdegård + + Fix closure-conversion of shadowed captured lambda-lifted vars + + Lambda-lifted variables (ones passed explicitly to lambda-lifted + functions) that are also captured in an outer closure and shadowed + were renamed incorrectly (bug#51982). + + Reported by Paul Pogonyshev. + + * lisp/emacs-lisp/cconv.el (cconv--lifted-arg): New. + (cconv-convert): Provide correct definiens for the closed-over + variable. + * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-cases): + * test/lisp/emacs-lisp/cconv-tests.el (cconv-tests--intern-all) + (cconv-closure-convert-remap-var): Add tests. + + (cherry picked from commit 45252ad8f932c98a373ef0ab7f3363a3e27ccbe4) + +2022-01-12 Philipp Stephani + + Fix test lisp/cedet/semantic/bovine/gcc-tests on macOS (Bug#52431) + + * test/lisp/cedet/semantic/bovine/gcc-tests.el + (semantic-gcc-test-output-parser-this-machine): Also detect Apple + clang on macOS Monterey. + + (cherry picked from commit 6e52becfbe2a33c025b8c4838b3c8f06ba5a6fb8) + +2022-01-12 Mattias Engdegård + + Don't fail flymake-tests if `gcc` actually is Clang + + * test/lisp/progmodes/flymake-tests.el (flymake-tests--gcc-is-clang) + (different-diagnostic-types, included-c-header-files): Skip tests that + depend on the `gcc` command really being GCC and not Clang. + + (cherry picked from commit b2167d98432a78442522b7564e22f47d75a98b6f) + +2022-01-10 Eli Zaretskii + + Revert "Remove the filename argument from the command line after an ELC+ELN build" + + This reverts commit ffc047c896413b6e00032518fc934f08768671fa. + + Please don't install anything non-trivial on the release branch + without asking first. + +2022-01-10 Alan Mackenzie + + Remove the filename argument from the command line after an ELC+ELN build + + This fixes bug #53164. Without this fix, bootstrap-emacs loads the source + file uselessly into a buffer after completing the compilation. + +2022-01-09 Stefan Monnier + + (save-some-buffers): Simplify the fix for bug#46374 + + * lisp/files.el (save-some-buffers): Only check the + `save-some-buffers-function` property on functions from + `save-some-buffers-default-predicate` since callers which provide + a `pred` argument can arrange to compute `pred` themselves if needed. + + * test/lisp/files-tests.el (files-tests-buffer-offer-save): Don't test + with `pred` set to `save-some-buffers-root` since it's not an + appropriate function for that any more. + +2022-01-09 Stefan Kangas + + Improve docstring of edit-abbrevs + + * lisp/abbrev.el (edit-abbrevs): Doc fix; don't use obsolete name. + Improve docstring formatting. + +2022-01-09 Eli Zaretskii + + Revert "Fix alignment on font size change in tabulated-list-mode" + + This reverts commit 2767c89db729a6106146d0aeff76678c64d4fc53. + + That change caused a regression in a much more important use + case, see bug#53133. + +2022-01-08 Stefan Kangas + + Clarify docstring of package-native-compile + + * lisp/emacs-lisp/package.el (package-native-compile): Clarify + docstring. + +2022-01-08 Eli Zaretskii + + Fix Subject "simplification" in Rmail + + * lisp/mail/rmail.el (rmail-simplified-subject): Match against + "[external]" _after_ decoding the Subject by RFC-2047. + +2022-01-08 Stefan Kangas + + Bump Emacs version to 28.0.91 + + * README: + * configure.ac: + * msdos/sed2v2.inp: + * nt/README.W32: Bump Emacs version to 28.0.91. + +2022-01-05 Dmitry Gutov + + Fix vc-git with old Git over Tramp and cygwin-mount.el + + * lisp/vc/vc-git.el (vc-git-use-literal-pathspecs): New variable. + (vc-git-command, vc-git--call): Use it to determine whether to set + GIT_LITERAL_PATHSPECS=1 (bug#51497). + (vc-git--literal-pathspec, vc-git--literal-pathspecs): Remove. + Update all callers. This reverts the previous solution for bug#39452. + + * lisp/progmodes/project.el (project--vc-list-files): + Use the new variable. + +2022-01-05 Philipp Stephani + + * lisp/emacs-lisp/checkdoc.el (bytecomp): Add missing require + +2022-01-02 Eli Zaretskii + + Avoid inflooping when 'tab-bar-format' includes embedded newlines + + * src/xdisp.c (tab_bar_height, redisplay_tab_bar): Support + 'tab-bar-format' with embedded newlines. (Bug#52947) + +2022-01-02 Juri Linkov + + * lisp/tab-line.el: Revert part of the fix in a6adfe21e4 (bug#52881) + + (tab-line--get-tab-property, tab-line-auto-hscroll): Use get-pos-property + instead of get-text-property that fails after previous-single-property-change. + +2022-01-02 Eli Zaretskii + + Clarify %g and %G time format specs + + * src/timefns.c (Fformat_time_string): + * doc/lispref/os.texi (Time Parsing): Clarify %g/%G. (Bug#52934) + +2022-01-02 Stefan Monnier + + (define-char-code-property): Workaround for bug#52945 + + * lisp/international/mule-cmds.el (define-char-code-property): Ignore + requests to re-setup lazy loading after the char-table is already loaded. + +2022-01-01 Eli Zaretskii + + Update more copyright years + + * etc/tutorials/TUTORIAL.he (זכויות שימוש): + * config.bat: Update Copyright years. + +2022-01-01 Michael Albinus + + * lisp/net/tramp-sh.el: Adapt copyright year + +2022-01-01 Zhehao Lin (tiny change) + + * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. + +2021-12-31 Eli Zaretskii + + Improve doc strings of fringe indicator variables + + * src/buffer.c (syms_of_buffer): Fix doc strings of + 'indicate-empty-lines' and 'indicate-buffer-boundaries'. + +2021-12-31 Juri Linkov + + * lisp/tab-line.el (tab-line--get-tab-property): New function (bug#52881). + + (tab-line-auto-hscroll): Use ‘tab-line--get-tab-property’ instead of + ‘get-pos-property 1’, and ‘get-text-property’ instead of + ‘get-pos-property’. + (tab-line-select-tab, tab-line-close-tab): Use tab-line--get-tab-property. + +2021-12-30 Eli Zaretskii + + Avoid assertion violations with variable-weight fonts + + * src/font.c (font_score, font_delete_unmatched): Don't assume + weight, slant, and width properties of the font must be fixnums: + some variable-weight fonts violate that assumption. Reported + by Sean Whitton . Do not merge to + master. (Bug#52888) + +2021-12-30 Eli Zaretskii + + Minor improvement in user documentation of completion style + + * doc/emacs/mini.texi (Completion Styles): Add reference to + "Completion Variables" in the ELisp manual. (Bug#52901) + +2021-12-30 Campbell Barton (tiny change) + + Fix bug where bookmark-jump used (point), not (point-at-bol) + + This matches changes from e852822f3db469c985bf022651f184d6ff2c518a, + regression in 7fe88446c30279285e3171091189b3d1af697c05. + * lisp/bookmark.el (bookmark--jump-via): Look at overlays at BOL. + Otherwise the fringe bookmark indication is not deleted with the + bookmark. + +2021-12-29 Alan Mackenzie + + CC Mode: c-update-brace-stack: After struct foo *, do not expect a brace. + + This fixes bug #52796. + + * lisp/progmodes/cc-engine.el (c-update-brace-stack): Handle a "*" like a + semicolon, cancelling the expectation of a brace. + + * lisp/progmodes/cc-langs.el (c-brace-stack-thing-key): Add a "*" into the + sets of significant characters. + +2021-12-29 Eli Zaretskii + + Improve documentation of 'M-X' and related features + + * doc/emacs/m-x.texi (M-x): Index 'M-X'. + * doc/lispref/commands.texi (Interactive Call, Command Modes): + Mention 'M-X' and 'execute-extended-command-for-buffer'. + + * etc/NEWS: Clarify that the '(declare (completion ...' and + '(declare (modes ...' forms have no effect by default. Likewise + for '(interactive "..." MODE)' specs. (Bug#52839) + +2021-12-28 Sean Whitton + + Improve rectangle-mark-mode documentation regarding mark activation + + * doc/emacs/killing.texi: Describe how rectangle-mark-mode works when + Transient Mark mode is off. Qualify discussion of + rectangle-exchange-point-and-mark to say that it cycles the four + corners only when the region is active. + * lisp/rect.el (rectangle-mark-mode): State that rectangle-mark-mode + does not activate the mark when Transient Mark mode is off. Reword + sentence about how long the mode lasts to account for when Transient + Mark mode is off. (Bug#42663) + +2021-12-27 Eli Zaretskii + + Fix typos in 'reset-language-environment' + + * lisp/international/mule-cmds.el (reset-language-environment): + Fix a typo in 'windows-nt'. (Bug#52816) + +2021-12-27 Óscar Fuentes + + eshell-complete-parse-arguments: don't use string-match on a list + + When there is more than one candidate for completion, `val' is a list. + + Fixes bug#52794. + + * lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments): protect + use of string-match with stringp. + +2021-12-26 Kyle Meyer + + Update to Org 9.5.2-3-geb9f34 + +2021-12-26 Stefan Kangas + + Improve documentation of read-multiple-choice + + * doc/lispref/commands.texi (Reading One Event): Document optional + third argument help-string of read-multiple-choice. + +2021-12-25 Eli Zaretskii + + Explain why we remove stuff from 'user-full-name' + + * src/editfns.c (Fuser_full_name): Document why we chop everything + starting from the first comma. (Bug#52785) + +2021-12-24 Dmitry Gutov + + Fix the bug with duplicate entries in xref output + + * lisp/progmodes/etags.el (xref-backend-definitions): Make sure to + save the changed intermediate value of the list (bug#52734). + +2021-12-24 Dmitry Gutov + + Improve Xref documentation + + * lisp/progmodes/xref.el (xref-item): Add docstring for 'summary'. + Fix typo in the header Commentary. + +2021-12-23 Andreas Schwab + + * lisp/net/shr.el (shr-expand-url): Also strip trailing + whitespace. + +2021-12-22 Lars Ingebrigtsen + + Revert field-related thingatpt changes + + This reverts 7db376e560448e61485ba054def8c82b21f33d6a, which led to + severe performance regressions when being run in large buffers with no + fields (bug#52593) + +2021-12-21 Juri Linkov + + * lisp/window.el (quit-restore-window): Select previously selected window. + + After deleting the dedicated window, such as a window with *Completions* + buffer, select the previously selected window, like most of other 'cond' + branches do in this function (bug#52491). + +2021-12-21 Robert Pluim + + Revert "Remove Motif support" + + This reverts commit db237850abc240e2c3e765e9cc7e15ee5681dcaf. + +2021-12-19 Martin Rudalics + + Clarify description of two mouse dragging parameters (Bug#52537) + + * doc/lispref/frames.texi (Child Frames): Clarify description of + 'top-visible' and 'bottom-visible' parameters (Bug#52537). + +2021-12-18 Kyle Meyer + + Update to Org 9.5.1-31-ga18849 + +2021-12-15 Martin Rudalics + + Fix control buffer window height in 'ediff-setup-control-buffer' (Bug#49277) + + * lisp/vc/ediff-util.el (ediff-setup-control-buffer): Emulate + original 'shrink-window-if-larger-than-buffer' call by calling + 'fit-window-to-buffer' with an appropriate maximum height + argument (Bug#49277). + +2021-12-15 YAMAMOTO Mitsuharu + + Fix crash when dumping charset_table with portable dumper (Bug#52461) + + * src/charset.h: + * src/charset.c (charset_table_used): Now extern. + * src/pdumper.c (dump_charset): Don't dump code_space_mask for unused + slots of charset_table. + +2021-12-14 Philipp Stephani + + Remove maintainer comment from Emacs 28 module snippet. + + This is the same as 44c13eefe8d30841000a96d82f467fb8d222e365 on + master. We should also remove this comment on the release branch, + otherwise it ends up in the emacs-module.h shipped to users. + + * src/module-env-28.h: Remove maintainer comment. + +2021-12-14 Stefan Kangas + + Set calc-make-windows-dedicated to nil by default + + * lisp/calc/calc.el (calc-make-windows-dedicated): + Default to nil. (Bug#52016) + +2021-12-14 Stefan Kangas + + * make-dist: Don't run "make --question info". (Bug#52322) + +2021-12-13 Eli Zaretskii + + Fix regression in help-mode prompt + + * lisp/help-macro.el (make-help-screen): Restore SPC and DEL in + prompt. Reported by Colin Baxter . + +2021-12-13 Kévin Le Gouguec + + Make `M-x run-python' select the window again + + Interactively, we want M-x run-python to focus the interpreter buffer. + The previous code failed in two ways: + + - the call to 'display-buffer' was not reached if an interpreter + was already running, + + - set-buffer is ineffectual if the interpreter's window is not + selected: once Emacs returns to the command loop, the current buffer + will revert back to what the selected window contains. + + * lisp/progmodes/python.el (python-shell-make-comint): Handle the SHOW + argument regardless of whether an interpreter buffer exists, and use + pop-to-buffer to select the window. + (run-python): Delegate buffer management to + 'python-shell-make-comint'. + + * test/lisp/progmodes/python-tests.el + (python-tests--run-python-selects-window): Rename from + 'python-tests--bug31398', and adjust assertions (bug#52380). + +2021-12-12 Juri Linkov + + * lisp/tab-bar.el (tab-bar-switch-to-last-tab): Add 'abs' for precautions. + + https://lists.gnu.org/archive/html/emacs-devel/2021-11/msg01149.html + +2021-12-12 Eli Zaretskii + + * make-dist (manifest): Filter out msdos/autogen/* files. + +2021-12-12 Richard Stallman + + Rewrite the "Quitting Windows" section of Emacs Lisp Reference + + * doc/lispref/windows.texi (Quitting Windows): Rewrite for + clarity. (Bug#52328) + +2021-12-12 Po Lu + + Fix eshell for systems that do not have subprocesses + + * lisp/eshell/esh-cmd.el (eshell-eval-command): Use + `eshell-processp' instead of `processp'. + +2021-12-11 Philipp Stephani + + Avoid undefined behavior in 'send-process-region' (Bug#52369). + + * src/process.c (send_process): Signal an error if the file descriptor + has already been closed. + +2021-12-11 Kyle Meyer + + Update to Org 9.5.1-25-g9ca3bc + +2021-12-11 Po Lu + + Fix the DJGPP port + + * config.bat: + * msdos/sed1v2.inp: + * msdos/sed2v2.inp: + * msdos/sed3v2.inp: + * msdos/sedlibmk.inp: Update for Emacs 28. + * msdos/langinfo.h: New file. + + * lisp/loadup.el: Use correct path to temacs when dumping on + MS-DOS. + * src/callproc.c (environ) [MSDOS]: New declaration. + (child_setup, emacs_spawn): Update MS-DOS parts for Emacs 28. + * src/fileio.c (Fcopy_file): Don't use copy_file_range on + MS-DOS. + * src/msdos.c (initialize_msdos_display): Add + `defined_color_hook'. + (openat, fchmodat, futimens, utimensat): New functions. + + * src/msdos.h (FRAME_X_DISPLAY): New macro. + * src/process.c: Make some more things conditional on + subprocess support. + (PIPECONN_P, PIPECONN1_P) [!subprocesses]: New placeholder + macros. + (Fnum_processors): Return 1 on MSDOS. + (open_channel_for_module): Avoid subprocess specific code + on MSDOS. + +2021-12-10 Lars Ingebrigtsen + + Revert "Make `M-x run-python' select the window again" + + This reverts commit aa2872a12770282ede3548ed3fcab00c5a5b9f18. + + This led to a test failure. + +2021-12-10 Kévin Le Gouguec + + Make `M-x run-python' select the window again + + * lisp/progmodes/python.el (python-shell-make-comint): Make `M-x + run-python' select the window again like in 27.2 (bug#52380). + +2021-12-10 Lars Ingebrigtsen + + Don't bug out on certain empty elements with ids + + * lisp/net/shr.el (shr-descend): Fix empty-element #id targeting + (bug#52391). + +2021-12-09 Paul Eggert + + emacsclient takes more care about XDG_RUNTIME_DIR + + * lib-src/emacsclient.c (set_local_socket): Revert to the Emacs 27 + behavior of not trying TMPDIR if XDG_RUNTIME_DIR is set. + This is one of the suggestions made by Jim Porter and + independently by Ulrich Mueller in Bug#51327. + +2021-12-09 Cameron Desautels + + Add missing K key documentation for Cangjie input methods + + * lisp/international/titdic-cnv.el (tsang-quick-converter): Add the + missing K key in input method documentation. (Bug#52264) + +2021-12-09 Martin Rudalics + + Fix manual entry of 'quit-restore-window' (Bug#52328) + + * doc/lispref/windows.texi (Quitting Windows): Fix bug in + description of 'quit-restore-window' (Bug#52328). + +2021-12-09 Eli Zaretskii + + Clarify a comment in xdisp.c + + * src/xdisp.c (compute_window_start_on_continuation_line): Clarify + a comment. (Bug#52378) + +2021-12-08 Óscar Fuentes + + Revert "Grep alias `all' shall not match parent directory" + + This reverts commit 856cd948d1a5a016ad36721246a049d33451902f. + + Emacs got better at quoting shell arguments and the original value + works correctly for vc-git-grep. At the same time, the value + introduced on that commit caused a regression on lgrep. + + * lisp/progmodes/grep.el (grep-files-aliases): Use previous value for + `all'. Fixes bug#52367 + +2021-12-08 Eli Zaretskii + + Fix mode-line display in Calendar mode + + * lisp/help.el (substitute-command-keys): New optional argument + NO-FACE, to avoid putting the 'help-key-binding' face on the key + bindings. + * lisp/calendar/calendar.el (calendar-mode-line-entry): Call + 'substitute-command-keys' with the new optional argument non-nil. + (Bug#52366) + + * doc/lispref/help.texi (Keys in Documentation): Document the new + optional argument of 'substitute-command-keys'. + + * etc/NEWS: Announce the addition of a new argument to + 'substitute-command-keys'. + +2021-12-08 Lele Gaifax + + * etc/tutorials/TUTORIAL.it (CONCLUSIONI): Reword paragraph. + + Don't merge to master. + +2021-12-08 Michael Albinus + + Backport: Make a more robust check in Tramp using scripts + + * lisp/net/tramp-sh.el (tramp-find-inline-encoding): + Check, whether scripts in `tramp-remote-coding-commands' are + expandable. + + (cherry picked from commit 1d0a60113fd155c77ef5ea4ea44fcba3504adcbf) + +2021-12-07 Robert Pluim + + Document native-comp-async-report-warning-errors more + + The docstring has a description of how fix problems in lisp code + detected by native compilation, but not the Emacs Lisp manual, so + document it there as well. + + * doc/lispref/compile.texi (Native-Compilation Functions): Refer to + 'native-comp-async-report-warning-errors' + (Native-Compilation Variables): Explain potential cause of warnings + from native compilation. + +2021-12-07 Stefan Kangas + + Doc fix; Epiphany has been renamed to GNOME Web + + * lisp/net/browse-url.el: Doc fix; Epiphany is called GNOME Web + since GNOME 3.4, released in 2012. + Ref: https://help.gnome.org/misc/release-notes/3.4/ + +2021-12-07 Eli Zaretskii + + * lisp/dired-aux.el (dired-check-process): Doc fix. (Bug#52337) + +2021-12-07 Stefan Kangas + + Remove dead link from newsticker + + * lisp/net/newst-backend.el (newsticker--parse-rss-0.91): + * lisp/net/newsticker.el: Remove dead link. + +2021-12-06 Juri Linkov + + Select the right buffer for event in context-menu functions (bug#9923) + + * lisp/mouse.el (context-menu-region): + * lisp/progmodes/prog-mode.el (prog-context-menu): + Switch to the buffer displayed by the window of the event + before using syntax-ppss, char-after. + +2021-12-06 Stefan Monnier + + lisp/minibuffer.el: Fix for bug#52169 regression + + * lisp/minibuffer.el (completion-table-subvert): Make sure we return + a boundary that's not outside of the limit of the string. + +2021-12-05 Christer Enfors + + Fix typos and improve consistency in ERC manual + + * doc/misc/erc.texi (Sample Session, Special Features, History): Fix + typos and improve consistency. (Bug52318) + +2021-12-05 Glenn Morris + + * test/Makefile.in (check-declare): Add missing --batch. + +2021-12-05 Eli Zaretskii + + Document the subtleties of the 'cursor' text property + + * doc/lispref/text.texi (Special Properties): Update the + documentation of the 'cursor' property per bug#8627. + +2021-12-05 Kyle Meyer + + Update to Org 9.5.1-15-gdb4805 + +2021-12-04 Stefan Kangas + + * lisp/emacs-lisp/edebug.el (edebug-eval-defun): Minor doc fix. + +2021-12-04 Eli Zaretskii + + Fix the enumeration values returned by 'try_scrolling' + + * src/xdisp.c (try_scrolling): Make the enum values match the + commentary. Reported by Po Lu . + +2021-12-04 Stefan Kangas + + * src/dosfns.c (Fint86): Doc fix; don't use obsolete names. + +2021-12-03 Stefan Kangas + + * doc/misc/erc.texi (Keystroke Summary): Fix doc for TAB. + +2021-12-03 Stefan Kangas + + Remove reference to variable obsolete since 24.1 + + * doc/emacs/custom.texi (Minibuffer Maps, Minibuffer Maps): Remove + reference to variable 'minibuffer-local-filename-must-match-map', + obsolete since 24.1. + +2021-12-03 Stefan Kangas + + * doc/misc/efaq.texi (New in Emacs 28): New node. + +2021-12-03 Michael Albinus + + Add Tramp version integrated in Emacs 28.1 + + * lisp/net/trampver.el (customize-package-emacs-version-alist): + Add Tramp version integrated in Emacs 28.1. + +2021-12-03 Michael Albinus + + Update Tramp version (don't merge with master) + + * doc/misc/trampver.texi: + * lisp/net/trampver.el: Change version to "2.5.2.28.1". + +2021-12-03 Philipp Stephani + + Unbreak build after 9c222b9c1a7f91497a37567b4d7de3a511fff069. + + * src/pdumper.c (dump_subr): Fix Lisp_Subr hash value. + +2021-12-03 Paul Eggert + + Port to C compilers that lack size-0 arrays + + The C standard does not allow size-zero arrays, so redo struct + Lisp_Subr to not use size-zero arrays when native compilation is + not being used. Formerly, the code was using size-zero arrays (a + GNU C extension) to avoid using memory unnecessarily when + HAVE_NATIVE_COMP is not defined. Replace this hack with the + more-traditional hack of putting the relevant members inside + ‘#ifdef HAVE_NATIVE_COMP’. + * src/alloc.c (cleanup_vector, mark_object): + * src/comp.c (make_subr): + * src/data.c (Fsubr_native_lambda_list, Fsubr_native_comp_unit): + * src/eval.c (init_eval_once, funcall_lambda): + * src/lisp.h (SUBR_NATIVE_COMPILEDP, SUBR_NATIVE_COMPILED_DYNP) + (SUBR_TYPE): + * src/lread.c (Fload): + Conditionally compile with ‘#ifdef HAVE_NATIVE_COMP’ instead of + with ‘if (NATIVE_COMP_FLAG)’. Redo members like native_comp_u[0] + to be plain native_comp_u. Put all uses of these members inside + ‘#ifdef HAVE_NATIVE_COMP’. + * src/lisp.h (struct Lisp_Subr): Members native_comp_u, + native_c_name, lambda_list, type are now all ifdeffed out if + HAVE_NATIVE_COMP is not defined, instead of being size-zero + arrays. All uses changed. + * src/pdumper.c (dump_subr, dump_cold_native_subr) + (dump_do_dump_relocation): + * src/comp.h (NATIVE_COMP_FLAG): Remove; no longer needed. + +2021-12-03 Paul Eggert + + Port emacsclient to Solaris 10 + + Without this patch, the build fails on Solaris 10 with the diagnostic + “Undefined symbol acl_trivial first referenced in file + ../lib/libgnu.a(file-has-acl.o)”. + * lib-src/Makefile.in (LIB_HAS_ACL): New macro. + (emacsclient${EXEEXT}): Link with $(LIB_HAS_ACL). + +2021-12-03 Karl Fogel + + * CONTRIBUTE: Improve commit message instructions + +2021-12-03 Paul Eggert + + Work around IBM XL C compiler bug + + * src/fileio.c (Fcopy_file): Work around a compiler bug in IBM XL + C for AIX, V12.1 (5765-J02, 5725-C72). Without this patch, the + compiler incorrectly complains “Initialization between types "int" + and "struct timespec" is not allowed” and “Initialization between + types "long" and "struct timespec" is not allowed”. + +2021-12-03 Stefan Kangas + + * admin/make-tarball.txt: Various clarifications. + +2021-12-02 Stefan Kangas + + * admin/diff-tar-files: Don't assume .tar.gz. + +2021-12-02 Juri Linkov + + * lisp/tab-bar.el (tab-bar-close-other-tabs): Fix regression. + + * test/lisp/tab-bar-tests.el: New file. + (tab-bar-tests-close-other-tabs-with-arg): Test for regression + that closed the selected tab after selecting it. + 2021-12-01 Juri Linkov * lisp/repeat.el: Use same logic for repeat-check-key and repeat-exit-timeout. @@ -12671,7 +15459,7 @@ Fix automatic hscrolling when line numbers are displayed * src/xdisp.c (hscroll_window_tree): When line numbers are - displayed, account for the the line-number space when calculating + displayed, account for the line-number space when calculating the desired X coordinate on the left. (Bug#49891) 2021-08-06 Eli Zaretskii @@ -24381,7 +27169,7 @@ * lisp/minibuffer.el (minibuffer--sort-by-length-alpha): New function. (minibuffer--sort-by-position): New function extracted from `completion-all-sorted-completions`. - (completion-all-sorted-completions): Use use them. + (completion-all-sorted-completions): Use them. 2021-04-19 Daniel Mendler @@ -39430,7 +42218,7 @@ string in the byte-code (so the two branches return `eq` strings). So, I think using `iso-2022-jp` is a bad idea here: it gives the - illusion that the the `charset` info exists, even it will be lost. + illusion that the `charset` info exists, even it will be lost. Eli discussed it with Handa-san a year ago, and they arrived at the conclusion that the charset information is indeed no longer important. @@ -64570,7 +67358,7 @@ wdired-do-renames: Speed up for long Emacs sessions `dired-rename-file' calls unconditionally `dired-rename-subdir'. - The second function performs performs a loop on all the Emacs + The second function performs a loop on all the Emacs buffers; this step is only needed if FILE is a directory (bug#32899). In a long lived Emacs session, this can make a difference @@ -71518,7 +74306,7 @@ (Bug#42563) - For some time, Eldoc has has some Elisp-specific code that shouldn't + For some time, Eldoc has some Elisp-specific code that shouldn't live there, but in elisp-mode.el. This can be fixed in Emacs master, but since ElDoc is distributed in GNU Elpa and is meant to work with Emacs 26 and 27, this means that that elisp-specific code must still @@ -71770,7 +74558,7 @@ Do this conservatively for now: if the ElDoc helper buffer (as returned by eldoc--doc-buffer) is visible and showing documentation - for the very same "situation" (as computed by the the new + for the very same "situation" (as computed by the new eldoc--request-state helper), don't request that documentation from sources again. @@ -75188,7 +77976,7 @@ * lisp/emacs-lisp/comp.el (comp-symbol-values-optimizable): New defconst. - (comp-function-call-maybe-remove): New logic to to remove + (comp-function-call-maybe-remove): New logic to remove unnecessary `symbol-value' calls. 2020-06-07 Juri Linkov @@ -82580,7 +85368,7 @@ 2020-03-10 AndreaCorallo - * Fix store_function_docstring for for native functions + * Fix store_function_docstring for native functions Do not Nil native_doc fields. This will be naturally dumped by pdumper. This was affecting dumped functions. @@ -111638,7 +114426,7 @@ 2019-08-21 Nicolas Petton - * etc/HISTORY: Add Emacs 26.3 release release date. + * etc/HISTORY: Add Emacs 26.3 release date. 2019-08-21 Nicolas Petton @@ -114620,7 +117408,7 @@ 2019-07-30 Lars Ingebrigtsen - Use decoded time accessors in in em-ls + Use decoded time accessors in em-ls * lisp/eshell/em-ls.el (eshell-ls-file): Use decoded time accessors. @@ -116195,7 +118983,7 @@ * doc/lispref/hash.texi (Creating Hash, Defining Hash): * src/fns.c (Fsxhash_eq, Fsxhash_eql, Fsxhash_equal): Say that hashes are fixnums. - (Fmake_hash_table): Say that that an integer rehash-size + (Fmake_hash_table): Say that an integer rehash-size should be a fixnum. * doc/lispref/hash.texi (Defining Hash): Say that hash and comparison functions should be consistent and pure, and should @@ -125841,7 +128629,7 @@ * lisp/emacs-lisp/package.el (package-install-from-archive): Fix last change - Don't place the unibyte content of of the downloaded file into + Don't place the unibyte content of the downloaded file into a multibyte buffer. 2019-05-24 Michael Albinus @@ -146883,7 +149671,7 @@ * lisp/textmodes/bibtex.el (bibtex-next-entry) (bibtex-previous-entry): New commands. - (bibtex-mode-map): Bind to to forward-paragraph and + (bibtex-mode-map): Bind to forward-paragraph and backward-paragraph. Add to menu under "Moving inside an Entry". 2018-08-27 Noam Postavsky @@ -183741,7 +186529,7 @@ Lay some groundwork for a more flexible approach that allows for different classes of diagnostics, not necessarily line-based. Importantly, one overlay per diagnostic is created, whereas the - original implementation had one per line, and on it it concatenated + original implementation had one per line, and on it concatenated the results of errors and warnings. This means that currently, an error and warning on the same line are @@ -233413,7 +236201,7 @@ This file records repository revisions from commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to -commit 334ff0232e07dad2ff5595b7f85c0f6f5efcb11c (inclusive). +commit 7f749e44dbd50430e14f319b4c4d3f767740b10b (inclusive). See ChangeLog.2 for earlier changes. ;; Local Variables: diff --git a/INSTALL b/INSTALL index 02d5a09d63c..95d2dbda80c 100644 --- a/INSTALL +++ b/INSTALL @@ -4,11 +4,13 @@ Inc. See the end of the file for license conditions. -This file contains general information on building GNU Emacs. -For more information specific to the MS-Windows, GNUstep/macOS, and -MS-DOS ports, also read the files nt/INSTALL, nextstep/INSTALL, and -msdos/INSTALL. For information about building from a repository checkout -(rather than a release), also read the file INSTALL.REPO. +This file contains general information on building GNU Emacs. For +more information specific to the MS-Windows, GNUstep/macOS, and MS-DOS +ports, also read the files nt/INSTALL, nextstep/INSTALL, and +msdos/INSTALL. + +For information about building from a Git checkout (rather than an +Emacs release), read the INSTALL.REPO file first. BASIC INSTALLATION @@ -226,6 +228,38 @@ e.g. 'emacs25'). On Red Hat-based systems, the corresponding command is On FreeBSD, the command is 'pkg install -y `pkg rquery %dn emacs-devel`'. +* Alternative window systems + +If you want to use Emacs on one of the alternative window systems +available on GNU/Linux and some Unix systems, such as Wayland or +Broadway, you can build the PGTK ("Pure GTK") port of Emacs, which +utilizes the GTK+ toolkit to support those window systems. To this +end, invoke the configure script with the '--with-pgtk' option, like +this: + + ./configure --with-pgtk + +This build is only supported with GTK+ version 3, and it is an error +to specify any other X-specific configuration option when PGTK is +enabled. + +If you use exclusively X, do not use the PGTK port. There are a +number of respects in which the regular --with-x-toolkit=gtk build +works better. The PGTK port should not be considered a simple upgrade +from --with-x-toolkit=gtk. + +With the PGTK build, you will be able to switch between running Emacs +on X, Wayland and Broadway using the 'GDK_BACKEND' environment +variable. GTK+ should automatically detect and use the correct value +for your system, but you can also specify it manually. For example, +to force GTK+ to run under Broadway, start Emacs like this: + + GDK_BACKEND=broadway emacs ... + +(where '...' denotes any further options you may want to pass to Emacs). + +The GNUstep build also supports the Wayland window system. If that is +what you want, see nextstep/INSTALL. DETAILED BUILDING AND INSTALLATION: @@ -324,9 +358,9 @@ Use --without-toolkit-scroll-bars to disable Motif or Xaw3d scroll bars. Use --without-xim to inhibit the default use of X Input Methods. In this case, the X resource useXIM can be used to turn on use of XIM. -Use --with-xinput2 to enable the use of version 2 of the X Input -Extension. This enables support for touchscreens, pinch gestures, and -scroll wheels that report scroll deltas at pixel-level precision. +Use --without-xinput2 to disable the use of version 2 of the X Input +Extension. This disables support for touchscreens, pinch gestures, +and scroll wheels that report scroll deltas at pixel-level precision. Use --disable-largefile to omit support for files larger than 2GB, and --disable-year2038 to omit support for timestamps past the year 2038, diff --git a/Makefile.in b/Makefile.in index b72127dde67..4b749636656 100644 --- a/Makefile.in +++ b/Makefile.in @@ -319,6 +319,9 @@ GLIB_COMPILE_SCHEMAS = glib-compile-schemas # Program name transformation. TRANSFORM = @program_transform_name@ +# Prevent any settings in the user environment causing problems. +unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH + # What emacs should be called when installed. EMACS_NAME = `echo emacs | sed '$(TRANSFORM)'` EMACS = ${EMACS_NAME}${EXEEXT} @@ -691,8 +694,6 @@ install-etcdoc: src install-arch-indep printf 'Copying %s to %s ...\n' "etc/$$docfile" \ "$(DESTDIR)${etcdocdir}"; \ ${INSTALL_DATA} etc/$${docfile} "$(DESTDIR)${etcdocdir}/$${docfile}"; \ - $(set_installuser); \ - chown $${installuser} "$(DESTDIR)${etcdocdir}/$${docfile}" || true ; \ else true; fi ## FIXME: @@ -964,6 +965,7 @@ bootstrap-clean: $(distclean_dirs:=_bootstrap-clean) [ ! -f config.log ] || mv -f config.log config.log~ rm -rf ${srcdir}/info rm -f ${srcdir}/etc/refcards/emacsver.tex + rm -rf native-lisp/ lisp/leim/ja-dic/ ${top_bootclean} ### 'maintainer-clean' diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index 620ab0bed05..06986ec8f48 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES @@ -24,6 +24,7 @@ DARWIN_OS Compiling on macOS or pure Darwin (and using s/darwin.h). SOLARIS2 USG USG5_4 +HAIKU Compiling on Haiku. ** Distinguishing GUIs ** @@ -32,16 +33,38 @@ HAVE_NS Use the NeXT/OpenStep/Cocoa UI under macOS or GNUstep. NS_IMPL_GNUSTEP Compile support for GNUstep implementation of NS GUI API. NS_IMPL_COCOA Compile support for Cocoa (Apple) implementation of NS GUI API. HAVE_X11 Compile support for the X11 GUI. +HAVE_PGTK Compile support for using GTK itself without directly using X Windows APIs. +HAVE_HAIKU Compile support for the Haiku window system. HAVE_X_WINDOWS Compile support for X Window system (It looks like, nowadays, if HAVE_X11 is set, HAVE_X_WINDOWS must be, and vice versa. At least, this is true for configure, and msdos; not sure about nt.) -HAVE_X11R6 -HAVE_X11R6_XIM -HAVE_X11XTR6 + +** X Windows features ** +HAVE_X11R6 Whether or not the system has X11R6. (Always defined.) +HAVE_X11R6_XIM Whether or not the system supports XIM features introduced in R6. +HAVE_X11XTR6 Whether or not the Xt is from X11R6 or newer. + USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11. USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11. -USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11. +USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11 or HAVE_PGTK. +HAVE_GTK3 Use GTK version 3 or later. Requires HAVE_X11. + +HAVE_XCB_SHAPE Whether or not XCB supports the Nonrectangular Window Shape extension. +HAVE_XCOMPOSITE Whether or not the XCOMPOSITE extension library is present. +HAVE_XDBE Whether or not to use the Xdbe extension for double buffering. +HAVE_XFIXES Whether or not the Xfixes extension library is present. +HAVE_XINERAMA Whether or not the Xinerama extension library is present. +HAVE_XINPUT2 Whether or not to use version 2 of the X Input Extension for input. +HAVE_XINPUT2_1 Whether or not version 2.1 of the X Input Extension is supported. +HAVE_XINPUT2_2 Whether or not version 2.2 of the X Input Extension is supported. +HAVE_XINPUT2_3 Whether or not version 2.3 of the X Input Extension is supported. +HAVE_XINPUT2_4 Whether or not version 2.4 of the X Input Extension is supported. +HAVE_XKB Whether or not the XKB extension library is present. +HAVE_XRANDR Whether or not the RandR extension library is present. +HAVE_XSHAPE Whether or not the Nonrectangular Window Shape extension library is present. +HAVE_XSYNC Whether or not the X Synchronization Extension library is present. +USE_XCB Whether or not the XCB library is used to optimize some X requests. ** Frame types ** diff --git a/admin/MAINTAINERS b/admin/MAINTAINERS index e87c3e0204a..f0239db0089 100644 --- a/admin/MAINTAINERS +++ b/admin/MAINTAINERS @@ -275,14 +275,6 @@ Vibhav Pant lisp/net/browse-url.el lisp/erc/* -Alan Third - The NS port: - nextstep/* - src/ns* - src/*.m - lisp/term/ns-win.el - doc/emacs/macos.texi - Amin Bandali Eshell lisp/eshell/* @@ -304,6 +296,8 @@ Tramp Repository: git://git.savannah.gnu.org/tramp.git Mailing List: tramp-devel@gnu.org Bug Reports: M-x tramp-bug + Notes: For backward compatibility requirements, see + lisp/net/trampver.el. lisp/net/tramp*.el doc/misc/tramp*.texi @@ -311,11 +305,30 @@ Tramp Modus themes Maintainer: Protesilaos Stavrou - Repository and issue tracker: https://gitlab.com/protesilaos/modus-themes + Repository: https://git.sr.ht/~protesilaos + Mailing list: https://lists.sr.ht/~protesilaos/modus-themes + Bug Reports: M-x modus-themes-report-bug doc/misc/modus-themes.org etc/themes/modus*.el +Org Mode + Home Page: https://orgmode.org/ + Maintainer: Org Mode developers + Repository: git://git.sv.gnu.org/emacs/org-mode.git + Mailing list: emacs-orgmode@gnu.org + Bug Reports: M-x org-submit-bug-report + Notes: Org Mode is maintained as a separate project that is + periodically merged into Emacs. To view or participate in + Org Mode development, please go to https://orgmode.org/ and + follow the instructions there. + + lisp/org/*.el + etc/org/* + etc/refcards/orgcard.tex + doc/misc/org.org + doc/misc/org-setup.org + ;;; Local Variables: ;;; coding: utf-8 diff --git a/admin/admin.el b/admin/admin.el index 5f02ea8ce45..c84287a7024 100644 --- a/admin/admin.el +++ b/admin/admin.el @@ -351,11 +351,13 @@ Optional argument TYPE is type of output (nil means all)." \"https://www.w3.org/TR/html4/loose.dtd\">\n\n") (defconst manual-meta-string - " - + "\n") + +(defconst manual-links-string + " -\n\n") +\n") (defconst manual-style-string "\n") @@ -486,6 +488,13 @@ the @import directive." (delete-region opoint (point)) (search-forward "") + (delete-region opoint (match-beginning 0)) + (search-forward "\n") + (when (search-forward "") (goto-char (match-beginning 0)) (delete-region opoint (point)) @@ -602,76 +611,81 @@ style=\"text-align:left\">") (forward-line 1) (setq done t))))) (let (done open-td tag desc) - ;; Convert the list that Makeinfo made into a table. - (or (search-forward "
    " nil t) - ;; FIXME? The following search seems dangerously lax. - (search-forward "
      ")) - (replace-match "") - (forward-line 1) - (while (not done) - (cond - ((or (looking-at "
    • \\(\\):[ \t]+\\(.*\\)$") - (looking-at "
    • \\(\\)$")) - (setq tag (match-string 1)) - (setq desc (match-string 2)) - (replace-match "" t t) - (when open-td - (save-excursion - (forward-char -1) - (skip-chars-backward " ") - (delete-region (point) (line-end-position)) - (insert "\n "))) - (insert "
    • \n ") - (if table-workaround - ;; This works around a Firefox bug in the mono file. - (insert "\n
      ") - (insert "")) - (insert tag "" (or desc "")) - (setq open-td t)) - ((eq (char-after) ?\n) - (delete-char 1) - ;; Negate the following `forward-line'. - (forward-line -1)) - ((looking-at "")) - ((looking-at "

      [- ]*The Detailed Node Listing[- \n]*") - (replace-match "

      \n + ;; Texinfo 6.8 and later doesn't produce