From b5410cbea2ef8dab973430539649b8d424350925 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 18 Feb 2025 20:47:32 +0800 Subject: [PATCH] ; * ChangeLog.4: Fix log entries down to the 1 May 2024. --- ChangeLog.4 | 5159 +++++++++++++++++++++++++++------------------------ 1 file changed, 2698 insertions(+), 2461 deletions(-) diff --git a/ChangeLog.4 b/ChangeLog.4 index 6fa988dc127..b4a7733f0db 100644 --- a/ChangeLog.4 +++ b/ChangeLog.4 @@ -98,8 +98,8 @@ Fix gnus-score-find-score-files-function :type - * lisp/gnus/gnus-score.el (gnus-score-find-score-files-function): Delete - extra quotes. (Bug#76118) + * lisp/gnus/gnus-score.el (gnus-score-find-score-files-function): + Delete extra quotes. (Bug#76118) 2025-02-06 Eli Zaretskii @@ -115,7 +115,8 @@ 2025-02-03 Stefan Monnier - * lisp/emacs-lisp/track-changes.el (track-changes-fetch): Fix bug#75906 + * lisp/emacs-lisp/track-changes.el (track-changes-fetch): Fix + bug#75906. 2025-02-03 Michael Albinus @@ -135,7 +136,7 @@ 2025-02-02 Eli Zaretskii - Improve documentation of 'display-monitor-attributes- + Improve documentation of 'display-monitor-attributes-list' * doc/lispref/frames.texi (Multiple Terminals): * lisp/frame.el (display-monitor-attributes-list): Better @@ -166,24 +167,26 @@ eglot: Allow omnisharp binary to be capitalized "OmniSharp" - Some distributors (e.g. nixpkgs) provide a binary "OmniSharp" instead of - "omnisharp", which breaks on case-sensitive file-systems. + Some distributors (e.g. nixpkgs) provide a binary "OmniSharp" + instead of "omnisharp", which breaks on case-sensitive + file-systems. - * lisp/progmodes/eglot.el (eglot-server-programs): Add "OmniSharp" as a - valid binary name to search for. (Bug#75954) + * lisp/progmodes/eglot.el (eglot-server-programs): Add "OmniSharp" + as a valid binary name to search for. (Bug#75954) 2025-01-31 Stefan Kangas - Do not set `trusted-content` in major modes + Do not set `trusted-content' in major modes * lisp/progmodes/elisp-mode.el (lisp-interaction-mode): - * lisp/ielm.el (inferior-emacs-lisp-mode): Do not set `trusted-content. + * lisp/ielm.el (inferior-emacs-lisp-mode): Do not set + `trusted-content'. * lisp/ielm.el (ielm): - * lisp/simple.el (get-scratch-buffer-create): Set `trusted-content` here - instead. - * lisp/files.el (trusted-content): Doc fix; warn against setting this - option to :all in a major or mode mode. - Problem reported by Max Nikulin . + * lisp/simple.el (get-scratch-buffer-create): Set + `trusted-content` here instead. + * lisp/files.el (trusted-content): Doc fix; warn against setting + this option to :all in a major or mode mode. Problem reported by + Max Nikulin . 2025-01-30 Eli Zaretskii @@ -196,8 +199,8 @@ * doc/misc/cc-mode.texi (Getting Started) (Custom Filling and Breaking, Updating CC Mode) (Mailing Lists and Bug Reports): - * lisp/progmodes/cc-mode.el: Update cc-mode URL to point to nongnu.org, - instead of old URL on SourceForge. + * lisp/progmodes/cc-mode.el: Update cc-mode URL to point to + nongnu.org, instead of old URL on SourceForge. 2025-01-28 Michael Albinus @@ -207,8 +210,8 @@ Don't signal an error in treesit-node-at - * lisp/treesit.el (treesit-node-at): Wrap - treesit-buffer-root-node within condition-case. + * lisp/treesit.el (treesit-node-at): Wrap treesit-buffer-root-node + within condition-case. 2025-01-26 Stefan Kangas @@ -219,10 +222,10 @@ 2025-01-25 Stefan Monnier - doc/lispref/modes.texi (Syntactic Font Lock): Update for commit 644c6b414f3 - - Remove outdated `nil` element, as discussed in - https://lists.gnu.org/archive/html/help-gnu-emacs/2025-01/msg00244.html + * doc/lispref/modes.texi (Syntactic Font Lock): Update for commit + 644c6b414f3, by removing an outdated `nil' element, as discussed + in + https://lists.gnu.org/archive/html/help-gnu-emacs/2025-01/msg00244.html. 2025-01-25 Zhengyi Fu (tiny change) @@ -273,7 +276,7 @@ * doc/misc/idlwave.texi (Online Help, Catalogs): * doc/misc/wisent.texi (Wisent Overview): Be more consistent with abbreviations. Use @: or comma or rewrite to avoid double spaces. - Ref: https://lists.gnu.org/r/emacs-devel/2025-01/msg00909.html + Ref: https://lists.gnu.org/r/emacs-devel/2025-01/msg00909.html. 2025-01-24 Rudolf Adamkovič @@ -294,8 +297,8 @@ Fix go-ts-mode type declaration indentation (Bug#75785) - * lisp/progmodes/go-ts-mode.el (go-ts-mode--indent-rules): - Add rule for type_declaration. + * lisp/progmodes/go-ts-mode.el (go-ts-mode--indent-rules): Add + rule for type_declaration. 2025-01-21 Arthur Miller @@ -316,9 +319,7 @@ Improve 'key-valid-p' docstring * lisp/keymap.el (key-valid-p): Add "RET", "", and "C-m" - examples. - - (Bug#75586) + examples. (Bug#75586) 2025-01-19 Stefan Kangas @@ -331,16 +332,16 @@ Better document side-effect free and pure C functions - * doc/lispref/internals.texi (Writing Emacs Primitives): - Document that side-effect free and pure properties of C functions - are defined in byte-opt.el. + * doc/lispref/internals.texi (Writing Emacs Primitives): Document + that side-effect free and pure properties of C functions are + defined in byte-opt.el. 2025-01-14 Robert Pluim Add smtpmail cross-reference to 'auth-sources'. - * doc/misc/smtpmail.texi (Authentication): Add cross-reference - to 'auth-sources'. + * doc/misc/smtpmail.texi (Authentication): Add cross-reference to + 'auth-sources'. 2025-01-12 Mauro Aranda @@ -351,7 +352,7 @@ (Defining New Types): Emphasize the use of the :tag keyword when using the lazy widget. (Bug#74409) - (cherry picked from commit 99b85e116f09e68e0d5750c9772d0a2489680078) + (cherry picked from commit 99b85e116f09e68e0d5750c9772d0a2489680078) 2025-01-11 Mauro Aranda @@ -389,15 +390,15 @@ v0.21.1 and onwards changed how this was indented. - * lisp/progmodes/go-ts-mode.el (go-ts-mode--indent-rules): - Add rule for var_spec_list. + * lisp/progmodes/go-ts-mode.el (go-ts-mode--indent-rules): Add + rule for var_spec_list. 2025-01-09 Kohei Tsuruta (tiny change) Add "text" as a thing in tsx-ts-mode - * lisp/progmodes/typescript-ts-mode.el (tsx-ts-mode): - Add definition of "text" (bug#75422). + * lisp/progmodes/typescript-ts-mode.el (tsx-ts-mode): Add + definition of "text" (bug#75422). 2025-01-09 Nikolaos Chatzikonstantinou @@ -411,16 +412,16 @@ Clarify that 'mac' line ending convention is not used on macOS * doc/emacs/mule.texi (Coding Systems): - * doc/lispref/nonascii.texi (Coding System Basics): Clarify that the - 'mac' line ending convention is not used on macOS, and is now rare - outside of legacy software. + * doc/lispref/nonascii.texi (Coding System Basics): Clarify that + the 'mac' line ending convention is not used on macOS, and is now + rare outside of legacy software. 2025-01-07 Ellis Kenyo (tiny change) Add language server for Odin - * lisp/progmodes/eglot.el (eglot-server-programs): Add language server - for the Odin programming language. (Bug#75421) + * lisp/progmodes/eglot.el (eglot-server-programs): Add language + server for the Odin programming language. (Bug#75421) 2025-01-07 Stefan Kangas @@ -437,9 +438,9 @@ Improve the documentation of 'key-valid-p' * lisp/keymap.el (key-valid-p): Add an function key and mouse - button example. Mention '' as a cursor control key - instead of a function key. Briefly explain what an event may - be. (Bug#75366) + button example. Mention '' as a cursor control key instead + of a function key. Briefly explain what an event may be. + (Bug#75366) 2025-01-04 Ulrich Müller @@ -450,11 +451,12 @@ 2025-01-04 Hong Xu - Use `keymap*-set' over `global-set-key'/`define-key' in elisp intro + Use `keymap*-set' over `global-set-key'/`define-key' in elisp + intro * doc/lispintro/emacs-lisp-intro.texi (Key Bindings): Since - `global-set-key' and `define-key' are considered legacy, we encourage - `keymap-global-set' and `keymap-set' now. (Bug#74999) + `global-set-key' and `define-key' are considered legacy, we + encourage `keymap-global-set' and `keymap-set' now. (Bug#74999) 2025-01-04 Eli Zaretskii @@ -476,8 +478,8 @@ Add expression handling to heex-ts-mode - On the latest update of the grammar expressions were added and won't be - seen as directives anymore. + On the latest update of the grammar expressions were added and + won't be seen as directives anymore. * lisp/progmodes/heex-ts-mode.el (heex-ts--sexp-regexp): Match on expression as well. @@ -503,15 +505,16 @@ 2025-01-02 Dmitry Gutov - [project-vc]: Make project-buffers more consistent with project-files + [project-vc]: Make project-buffers more consistent with + project-files - * lisp/progmodes/project.el (project-buffers): - Catch 'file-missing' error to continue anyway if .git does not - exist (bug#74826). + * lisp/progmodes/project.el (project-buffers): Catch + 'file-missing' error to continue anyway if .git does not exist + (bug#74826). 2025-01-02 Stefan Monnier - (elisp-flymake-byte-compile): Improve UX with `debug-on-error` + (elisp-flymake-byte-compile): Improve UX with `debug-on-error * lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile): Don't jump into the debugger just because the content is not trusted. @@ -520,8 +523,8 @@ Always match underscore variables for elixir-ts-mode - The code comment is invalid, as it is common to treat any _variable as a - comment. + The code comment is invalid, as it is common to treat any + _variable as a comment. * lisp/progmodes/elixir-ts-mode.el (elixir-ts-font-lock-settings): Add ":override t" to comment identifier match. (Bug#75156) @@ -530,8 +533,9 @@ Add missing fontification matches for elixir-ts-mode - * lisp/progmodes/elixir-ts-mode.el (elixir-ts--font-lock-settings): Add - matches for missing tokens and fix atom type face. (Bug#75156) + * lisp/progmodes/elixir-ts-mode.el + (elixir-ts--font-lock-settings): Add matches for missing tokens + and fix atom type face. (Bug#75156) 2024-12-26 Stefan Kangas @@ -554,8 +558,8 @@ * lisp/progmodes/xscheme.el (xscheme-running-p): (xscheme-control-g-disabled-p): * lisp/tab-bar.el (tab-bar--event-to-item): - * lisp/which-key.el (which-key--hide-popup): Don't start docstrings with - "This function" or "This variable". + * lisp/which-key.el (which-key--hide-popup): Don't start + docstrings with "This function" or "This variable". 2024-12-26 Stefan Kangas @@ -568,40 +572,44 @@ Fix comment indent in 'lua-ts-mode' and old grammar * lisp/progmodes/lua-ts-mode.el (lua-ts--simple-indent-rules): - Improve multi-line comment indentation for pre-0.0.19 grammars that - used a different structure for comment start/end markers. + Improve multi-line comment indentation for pre-0.0.19 grammars + that used a different structure for comment start/end markers. (Bug#75107) 2024-12-25 Corwin Brust - * admin/nt/dist-build/build-dep-zips.py: (deps src) handle zst + * admin/nt/dist-build/build-dep-zips.py (deps src): Handle zst + format. This patch fixes various problems preventing this script from - working. The job of this script is to collect Emacs' dependanicies and - the (MSYS2/MinGW64) source archives for dependencies (including 2nd - etc. order dependencies) into zip archives. GPL requires distributing such - archives (along with Emacs' own sources) when distributing GPL binaries. + working. The job of this script is to collect Emacs' dependanicies + and the (MSYS2/MinGW64) source archives for dependencies + (including 2nd etc. order dependencies) into zip archives. GPL + requires distributing such archives (along with Emacs' own + sources) when distributing GPL binaries. - Most principle of the changes is support for MSYS2 "w64" source archives - in zst format; previously this script assumed all sources were available - as tar.gz files. Additionally several DLLs are added to list of - required, including sqllite3 and tree-sitter. + Most principle of the changes is support for MSYS2 "w64" source + archives in zst format; previously this script assumed all sources + were available as tar.gz files. Additionally several DLLs are + added to list of required, including sqllite3 and tree-sitter. - In general this is a maintenance fix to ensure others have access to the - code used to create pretest (and, presumably release) version of Emacs - 30. Additional changes are required to progmatically identify changes - in Emacs' dependencies (e.g. after building a new Emacs binary for - distribution). There is commented out code to this effect in the - changes I've installed which did work, for a brief period in time; I - suspect some changes in MSYS2 made it more difficult (or impossible?) to - invoke the MSYS2 shell (under which this python script must run) from - the MINGW64 (under which Emacs is built). I may resort to a powershell - script as a way to orchistrate/invoke both MSYS2 and MING64 but I'm - currently still messing with a Makefile based approach (which would run - under MINGW64), in any event I believe we're all agreed this script - must interigate Emacs to create the "starting list" of dependencies to - include as a way to resolve this issue (missing/incorrect deps are - frequent source of broken binary releases). (bug#65206) + In general this is a maintenance fix to ensure others have access + to the code used to create pretest (and, presumably release) + version of Emacs 30. Additional changes are required to + progmatically identify changes in Emacs' dependencies (e.g. after + building a new Emacs binary for distribution). There is commented + out code to this effect in the changes I've installed which did + work, for a brief period in time; I suspect some changes in MSYS2 + made it more difficult (or impossible?) to invoke the MSYS2 shell + (under which this python script must run) from the MINGW64 (under + which Emacs is built). I may resort to a powershell script as a + way to orchistrate/invoke both MSYS2 and MING64 but I'm currently + still messing with a Makefile based approach (which would run + under MINGW64), in any event I believe we're all agreed this + script must interigate Emacs to create the "starting list" of + dependencies to include as a way to resolve this issue + (missing/incorrect deps are frequent source of broken binary + releases). (bug#65206) 2024-12-24 Eli Zaretskii @@ -617,40 +625,38 @@ 2024-12-23 Corwin Brust - * admin/nt/dist-build/emacs.nsi: (Uninstall) delete only one Emacs + * admin/nt/dist-build/emacs.nsi (Uninstall): Delete only one + Emacs. - Previously, the uninstaller would recursively, unconditionally, remove - the parent folder in which Emacs was installed (the folder selected by - when running the installer), into which the installer places a folder - named for the given release (e.g. emacs-30.1). This was a problem - during uinstalation when the selected folder contained other versions of - Emacs the user did not wish to remove. Additionally, deleting Start Menu - short-cuts did not work (bug#68756). + Previously, the uninstaller would recursively, unconditionally, + remove the parent folder in which Emacs was installed (the folder + selected by when running the installer), into which the installer + places a folder named for the given release (e.g. emacs-30.1). + This was a problem during uinstalation when the selected folder + contained other versions of Emacs the user did not wish to remove. + Additionally, deleting Start Menu short-cuts did not work + (bug#68756). Some installer language now better reflects that users are not required to "Accept" the GNU Public License in order to use (etc.) Emacs (bug#67667). - Users selections related to where to create (or not create) Start Menu - shortcuts are no longer ignored. (bug#75013) + Users selections related to where to create (or not create) Start + Menu shortcuts are no longer ignored. (bug#75013) Emacs (as installed by the installer) can now be uninstalled via Windows' Add/Remove Progrms Control Panel. The uninstaller will now remove (empty) parent folders, both under - Program Files and (when creation of shortcuts is enabled) under the - select Start Menu location. - -2024-12-22 Eli Zaretskii - - ;* doc/misc/efaq.texi (New in Emacs 30): Mention 'trusted-contents'. + Program Files and (when creation of shortcuts is enabled) under + the select Start Menu location. 2024-12-22 Michael Albinus Improve D-Bus and Tramp manual * doc/misc/dbus.texi (Overview): - * doc/misc/tramp.texi (GVFS-based methods): Describe, how the + * doc/misc/tramp.texi (GVFS-based methods): Describe how the feature can be checked at runtime. (Bug#75004) 2024-12-21 john muhl @@ -700,7 +706,7 @@ 2024-12-18 Eli Zaretskii - Document 'trusted-content + Document 'trusted-content' * doc/emacs/misc.texi (Host Security): Document 'trusted-content'. @@ -745,23 +751,27 @@ 2024-12-16 Stefan Monnier - * lisp/files.el (trusted-content-p): Make `:all` work in non-file buffers + * lisp/files.el (trusted-content-p): Make `:all' work in non-file + buffers. 2024-12-15 Stefan Monnier - * lisp/org/ox-texinfo.el (org-texinfo-template): Fix Info format (bug#74844) + * lisp/org/ox-texinfo.el (org-texinfo-template): Fix Info format. + (bug#74844) 2024-12-15 Stefan Monnier - trusted-content: Adjust the last patch based on preliminary feedback + trusted-content: Adjust the last patch based on preliminary + feedback. - * lisp/files.el (trusted-content): Rename from `trusted-files`. + * lisp/files.el (trusted-content): Rename from `trusted-files'. Update all references. * lisp/progmodes/elisp-mode.el (lisp-interaction-mode): * lisp/ielm.el (inferior-emacs-lisp-mode): - * lisp/simple.el (read--expression): Set `trusted-content` since - these buffers contain code that the user presumably intends to run anyway. + * lisp/simple.el (read--expression): Set `trusted-content' since + these buffers contain code that the user presumably intends to run + anyway. (elisp--safe-macroexpand-all): Make the warning more discreet. 2024-12-15 Paul Eggert @@ -776,30 +786,32 @@ Update documentation of 'etags' regexps * doc/emacs/maintaining.texi (Etags Regexps): - * doc/man/etags.1: Say that shy groups are not supported (bug#74861). + * doc/man/etags.1: Say that shy groups are not supported + (bug#74861). 2024-12-14 Stefan Monnier elisp-mode.el: Disable Flymake byte-compile backend in untrusted files To address serious security issues (CVE-2024-53920), disable - `elisp-flymake-byte-compile` except in those files explicitly - specified as "trusted". + `elisp-flymake-byte-compile' except in those files which are + explicitly specified as "trusted". - For that introduce a new custom var `trusted-files` and new - function `trusted-content-p`. + For that introduce a new custom var `trusted-files' and new + function `trusted-content-p'. - While at it, similarly skip the implicit macroexpansion done during - completion if the current file is not trusted. + While at it, similarly skip the implicit macroexpansion done + during completion if the current file is not trusted. * lisp/files.el (trusted-files): New variable. (trusted-content-p): New function. * lisp/progmodes/elisp-mode.el (elisp--safe-macroexpand-all): - New function, extracted from `elisp--local-variables`. - Use `trusted-content-p`. + New function, extracted from `elisp--local-variables'. + Use `trusted-content-p'. (elisp--local-variables): Use it. - (elisp-flymake-byte-compile): Disable according to `trusted-content-p`. + (elisp-flymake-byte-compile): Disable according to + `trusted-content-p'. 2024-12-13 Stephen Gildea @@ -816,8 +828,8 @@ Fix 'gnus-select-method' custom type * lisp/gnus/gnus.el (gnus-redefine-select-method-widget): Cater - for the 'gnus-search-engine' configuration variable, which takes - 2 args instead of 1. (Bug#74759) + for the 'gnus-search-engine' configuration variable, which takes 2 + args instead of 1. (Bug#74759) 2024-12-10 Chu (tiny change) @@ -848,16 +860,16 @@ Don't restrict 'lua-ts-send-file' to 'lua-ts-mode' * lisp/progmodes/lua-ts-mode.el (lua-ts-send-file): Remove - restriction on interactive use. Unlike related send-* commands - it can be useful to send a file to the Lua interpreter outside of - a 'lua-ts-mode' buffer. (Bug#74705) + restriction on interactive use. Unlike related send-* commands it + can be useful to send a file to the Lua interpreter outside of a + 'lua-ts-mode' buffer. (Bug#74705) 2024-12-07 Vincenzo Pupillo Remove unnecessary function call from 'php-ts-mode' - * lisp/progmodes/php-ts-mode.el (php-ts-mode): Remove - unnecessary function call 'treesit-font-lock-recompute-features'. + * lisp/progmodes/php-ts-mode.el (php-ts-mode): Remove unnecessary + function call 'treesit-font-lock-recompute-features'. (Bug#74688) (cherry picked from commit c87c5b95e1309b59b6cb07d07a20234a74a73f35) @@ -891,13 +903,13 @@ Improve docstrings of functions for moving to message headers - * lisp/gnus/message.el (message-goto-to, message-goto-from, - message-goto-subject, message-goto-cc, message-goto-bcc, - message-goto-fcc, message-goto-reply-to, - message-goto-newsgroups, message-goto-distribution, - message-goto-followup-to, message-goto-mail-followup-to, - message-goto-keywords, message-goto-summary): Mention that these - will insert an empty header if the header is not found. + * lisp/gnus/message.el (message-goto-to, message-goto-from) + (message-goto-subject, message-goto-cc, message-goto-bcc) + (message-goto-fcc, message-goto-reply-to, message-goto-newsgroups) + (message-goto-distribution, message-goto-followup-to) + (message-goto-mail-followup-to, message-goto-keywords) + (message-goto-summary): Mention that these will insert an empty + header if the header is not found. (message-position-on-field): Explain that this inserts an empty header if the header is missing, and that insertion is done after the headers mentioned in AFTERS. @@ -908,11 +920,12 @@ Fix the latest dabbrev-expand test fix - * test/lisp/dabbrev-tests.el (dabbrev-expand-after-killing-buffer): - In batch runs of this file, the user-error message contains curved - quotes, but grave quotes when running `make check' (so here was - evidently not passed to `substitute-command-keys'), so use grave - quotes so the test succeeds in both modes of execution. + * test/lisp/dabbrev-tests.el + (dabbrev-expand-after-killing-buffer): In batch runs of this file, + the user-error message contains curved quotes, but grave quotes + when running `make check' (so here was evidently not passed to + `substitute-command-keys'), so use grave quotes so the test + succeeds in both modes of execution. 2024-12-02 Michael Albinus @@ -934,15 +947,17 @@ Fix latest test for dabbrev-expand - * test/lisp/dabbrev-tests.el (dabbrev-expand-after-killing-buffer): - Fix typo in a 'should' test, use part of return value of 'should-error' - test, and remove mistaken and unfounded FIXME comment. + * test/lisp/dabbrev-tests.el + (dabbrev-expand-after-killing-buffer): Fix typo in a 'should' + test, use part of return value of 'should-error' test, and remove + mistaken and unfounded FIXME comment. 2024-12-01 Yuan Fu Allow passing nil to treesit-node-match-p (bug#74612) - * src/treesit.c (Ftreesit_node_match_p): Return nil if NODE is nil. + * src/treesit.c (Ftreesit_node_match_p): Return nil if NODE is + nil. 2024-12-01 Manuel Giraud @@ -981,7 +996,7 @@ Support PHP 8.4 and more reliable indentation (bug#74525) - Added support for PHP 8.4 property hook. More reliable CSS and + Added support for PHP 8.4 property hook. More reliable CSS and Javascript syntax indentation when there are attributes in