2024-12-19 Andrea Corallo * Update authors.el * admin/authors.el (authors-aliases, authors-valid-file-names) (authors-renamed-files-alist): Add entry. 2024-12-18 Eli Zaretskii Document 'trusted-content * doc/emacs/misc.texi (Host Security): Document 'trusted-content'. * lisp/files.el (trusted-content): Doc fix. * etc/NEWS: Mark its entry as "documented". 2024-12-18 Robert Pluim Mention network-interface-list in network-interface-info docstring * src/process.c (Fnetwork_interface_info): Reference 'network-interface-list'. 2024-12-17 Stefan Kangas Move NEWS items from unreleased 28.3 to released 29.1 * etc/NEWS.28: Remove empty sections for 28.3. Move single pertinent item from here... * etc/NEWS.29: ...to here. 2024-12-17 Stefan Kangas Improve browse-url-android-share docstring * lisp/net/browse-url.el (browse-url-android-share): Clarify that the option only applies to Android systems. 2024-12-17 Stefan Kangas Minor doc fix for url-handler-regexp * lisp/url/url-handlers.el (url-handler-regexp): Remove mention of obsolete internal protocol "about" (i.e. url-about.el). Reflow. 2024-12-16 Stefan Kangas Improve reb-change-syntax docstring * lisp/emacs-lisp/re-builder.el (reb-change-syntax): Improve docstring. 2024-12-16 Stefan Monnier * 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) 2024-12-15 Stefan Monnier trusted-content: Adjust the last patch based on preliminary feedback * 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. (elisp--safe-macroexpand-all): Make the warning more discreet. 2024-12-15 Paul Eggert Update documentation of 'etags' regexps some more * doc/emacs/maintaining.texi (Etags Regexps): * doc/man/etags.1: Give more details about what's not supported. 2024-12-15 Eli Zaretskii Update documentation of 'etags' regexps * doc/emacs/maintaining.texi (Etags Regexps): * 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". 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. * 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`. (elisp--local-variables): Use it. (elisp-flymake-byte-compile): Disable according to `trusted-content-p`. 2024-12-13 Stephen Gildea * lisp/time-stamp.el: Limit field width to two digits. 2024-12-10 Philip Kaludercic Revert "Attempt to install package first when upgrading" This reverts commit 3d8e49c41a66a7f05cb96f84e2a10f0f308ac9ca. 2024-12-10 Robert Pluim 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) 2024-12-10 Chu (tiny change) Fix typo in maps.texi * doc/lispref/maps.texi (Standard Keymaps): Fix typo. (Bug#74761) 2024-12-09 Michael Albinus * doc/misc/tramp.texi (FUSE-based methods): Fix sshfs reference. 2024-12-08 Stefan Kangas Improve gnus.texi indexing * doc/misc/gnus.texi (Common Variables): Improve indexing. 2024-12-07 Philip Kaludercic Attempt to install package first when upgrading * lisp/emacs-lisp/package.el (package-upgrade): Swap the 'package-install' and the 'package-delete' invocations. (Bug#74556) 2024-12-07 john muhl 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) 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'. (Bug#74688) (cherry picked from commit c87c5b95e1309b59b6cb07d07a20234a74a73f35) 2024-12-04 Robert Pluim Add tags to 'compilation-transform-file-match-alist' custom type * lisp/progmodes/compile.el (compilation-filter-start): Add some more meaningful tags, and switch to using 'radio' instead of 'choice'. 2024-12-04 Robert Pluim Improve 'compilation-transform-file-match-alist' documentation * doc/emacs/building.texi (Compilation Mode): Document 'compilation-transform-file-match-alist'. * lisp/progmodes/compile.el (compilation-transform-file-match-alist): Expand docstring and add some examples. 2024-12-04 Robert Pluim Improve 'compilation-hidden-output' docstring * lisp/progmodes/compile.el (compilation-hidden-output): Escape the newline so the example value is more suitable for copying. 2024-12-04 Robert Pluim 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. (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. (cherry picked from commit 9f266e2d7cde41f5872304bae0b6d2415655f1c8) 2024-12-03 Stephen Berman 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. 2024-12-02 Michael Albinus Fix password prompt in comint (don't merge) * lisp/comint.el (comint-watch-for-password-prompt): Use whole string for setting the prompt. (Bug#74626) 2024-12-02 Manuel Giraud Fix the version of librsvg API change * src/image.c (init_svg_functions, svg_load_image): The first official version that introduces 'rsvg_handle_get_pixbuf_and_error' is 2.59.0 not 2.58.0. (Bug#74606) 2024-12-02 Stephen Berman 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. 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. 2024-12-01 Manuel Giraud Update to version 2.58 of librsvg API (bug#74606) * src/image.c (init_svg_functions): Declare new function. (svg_load_image): Use it. 2024-12-01 Visuwesh Fix decoding of non-ASCII email attachments * lisp/mail/rfc2231.el (rfc2231-parse-string): Fix logic when a non-ASCII file name is split between two filename*N* parts. (Bug#74624) 2024-11-30 Stephen Berman Prevent "Selecting deleted buffer" error with dabbrev-expand * lisp/dabbrev.el (dabbrev-expand): Use the buffer where the last expansion was found only if it is still a live buffer (bug#74090). * test/lisp/dabbrev-tests.el (dabbrev-expand-test-minibuffer-3): Fix typo in doc string. (dabbrev-expand-after-killing-buffer): New test. 2024-11-30 Yuan Fu Fix docstring of c-ts-mode-indent-style * lisp/progmodes/c-ts-mode.el (c-ts-mode-indent-style): Make the docstring reflect what's expected by the code. 2024-11-29 Vincenzo Pupillo Support PHP 8.4 and more reliable indentation (bug#74525) Added support for PHP 8.4 property hook. More reliable CSS and Javascript syntax indentation when there are attributes in