2025-02-23 Stefan Kangas Mention CVE-2025-1244 in NEWS * etc/NEWS: Document CVE-2025-1244. For anyone looking to backport this, the fix is in commit 820f0793f0b46448928905552726c1f1b999062f. 2025-02-23 Yuan Fu Use character position for ranges in treesit_sync_visible_region * src/treesit.c (treesit_sync_visible_region): Use character position instead of byte position when comparing to ranges, because the ranges are in character position. 2025-02-21 Po Lu Fix reported Haiku build error in emacs-30.1-rc1 * src/haiku_support.cc (keysym_from_raw_char): Don't define duplicate cases on the previous release. 2025-02-20 Stefan Kangas Bump Emacs version to 30.1 * README: * configure.ac: * exec/configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version to 30.1. 2025-02-20 Stefan Kangas Update files for Emacs 30.1 * ChangeLog.4: * etc/AUTHORS: Update for Emacs 30.1. 2025-02-19 Po Lu Fix remaining Android bugs reported over the past months * java/org/gnu/emacs/EmacsActivity.java (attachWindow): Guarantee that child windows promoted to toplevels receive layout parameters that direct them to receive their parents' dimensions. Otherwise, the size of the window as a child is retained on Huawei HarmonyOS 4.2 and possibly other Android distributions. * java/org/gnu/emacs/EmacsService.java (updateCursorAnchorInfo): Run anchor updates on the UI thread, as `InputMethodManager#updateCursorAnchorInfo' is liable to call `View#requestLayout'. * java/org/gnu/emacs/EmacsView.java (onMeasure): Always call `measureChildren', or child frames' onLayout handlers might not be invoked after they request a layout cycle and are duly processed in `onLayout'. (swapBuffers): Delete erroneous commentary. * java/org/gnu/emacs/EmacsWindow.java (viewLayout): If overrideRedirect, don't inadvertently clear rect.left and rect.top by recording the window's WM window-relative position. Fix typos. (reparentTo): Invalidate focus after transferring frame. (translateCoordinates): Account for override-redirect windows. Mostly important for mouse-drag-and-drop-region. 2025-02-19 Po Lu Properly move existing tooltips on Android * java/org/gnu/emacs/EmacsWindow.java (requestViewLayout): If an override redirect window, additionally notify the window manager of layout changes. 2025-02-17 Po Lu Fix crash in frame deletion on Android * java/org/gnu/emacs/EmacsWindow.java (destroyHandle): Invalidate the input focus in the UI thread, as is proper. 2025-02-17 Po Lu * src/pgtkterm.c (pgtk_enumerate_devices): Circumvent bug#76239. 2025-02-16 Michael Albinus * lisp/man.el (Man-shell-file-name): Ensure a Bourne shell. (Bug#75308) 2025-02-15 Po Lu Add two missing NULL checks of malloc'd values on Android * src/android.c (sendDndUri, sendDndText): Verify that allocated string memory is non-nil before writing to it. 2025-02-13 Stefan Kangas Fix (Non)GNU ELPA description in manual * doc/emacs/package.texi (Packages): Move detailed (Non)GNU ELPA description... (Package Installation): ...here, and fix incorrect information. 2025-02-13 Stefan Kangas Move 'package-archives' documentation to emacs manual * doc/lispref/package.texi (Package Archives): Move documentation of package-archives variable from here... * doc/emacs/package.texi (Package Installation): ...to here. (Bug#76266) 2025-02-12 Stefan Kangas Document (Non-)GNU ELPA in emacs manual * doc/emacs/package.texi (Packages): Document GNU ELPA and NonGNU ELPA. (Bug#59609) 2025-02-12 Robert Pluim Fix author name * admin/authors.el (authors-aliases): Fix entry for "thuna.cing@gmail.com" (Bug#76221). 2025-02-12 Yuan Fu Use c-ts-common's comment setup in go-ts-mode (bug#75978) c-ts-common-comment-setup sets up fill-paragraph-function, which enables filling for comments. * lisp/progmodes/go-ts-mode.el (go-ts-mode): (go-mod-ts-mode): Use c-ts-common-comment-setup. 2025-02-12 Robert Brown (tiny change) Add java-language-server to eglot-server-programs * lisp/progmodes/eglot.el (eglot-server-programs): Add support for Java server . (Bug#59138) 2025-02-11 João Távora Eglot: mention ocaml-ts-mode in eglot-server-programs * lisp/progmodes/eglot.el (eglot-server-programs): Mention ocaml-ts-mode. (cherry picked from commit 96dc5deddc2b60210feb10e3a68b74ecd2480b34) 2025-02-11 Dmitry Gutov Fix minibuffer-next-completion in completing-read-multiple * lisp/emacs-lisp/crm.el (completing-read-multiple): Adapt to the previous removal of completion-base-affixes (bug#48356, bug#48356). 2025-02-10 Stefan Monnier lisp/help.el (help-function-arglist): Fix out-of-bounds access (bug#76179) 2025-02-09 Po Lu Fix program execution on Android 15 QPR2 Beta * exec/trace.c (process_vm_readv, process_vm_writev): New function pointers. Attempt to load them on recent Android systems when `exec' was not linked with a sufficiently up-to-date libc. (read_memory, user_copy): Always use process_vm_readv and process_vm_writev if available. (handle_openat): Write trailing NULL byte of filename to user buffer. (exec_init): Attempt to dlsym process_vm_readv and process_vm_writev. 2025-02-07 Mauro Aranda Fix gnus-score-find-score-files-function :type * lisp/gnus/gnus-score.el (gnus-score-find-score-files-function): Delete extra quotes. (Bug#76118) 2025-02-06 Eli Zaretskii Improve documentation of 'file-name-concat' * doc/lispref/files.texi (Directory Names): * src/fileio.c (Ffile_name_concat): Advise not to use 'file-name-concat' unless necessary. (Bug#76023) 2025-02-04 Eli Zaretskii * src/fileio.c (Fsubstitute_in_file_name): Doc fix (bug#76023). 2025-02-03 Stefan Monnier * lisp/emacs-lisp/track-changes.el (track-changes-fetch): Fix bug#75906. 2025-02-03 Michael Albinus Better NaN handling in proced-tests.el * test/lisp/proced-tests.el (proced--cpu-at-point): Make it more robust. (proced--assert-process-valid-cpu-refinement): Handle `ert-test-skipped' signal. 2025-02-03 Robert Pluim Fix padding when using which-key-setup-side-window-right * lisp/which-key.el (which-key--pad-column): Insert zero padding spaces when the description string is longer than the column width. (Bug#75765) 2025-02-02 Eli Zaretskii Improve documentation of 'display-monitor-attributes-list' * doc/lispref/frames.texi (Multiple Terminals): * lisp/frame.el (display-monitor-attributes-list): Better documentation of what the 'source' key means on X. (Bug#75936) 2025-02-01 Eli Zaretskii Remove bookmark fringe marks when deleting all bookmarks * lisp/bookmark.el (bookmark-delete-all): Remove fringe marks for all the bookmarks. (Bug#75953) 2025-02-01 Stefan Kangas Improve wording in symbols.texi * doc/lispref/symbols.texi (Symbol Components): Improve wording (Bug#75512). Reported by Matt Trzcinski . 2025-02-01 Manuel Giraud Fix typo in Gnus manual * doc/misc/gnus.texi (Comparing Mail Back Ends): Fix a missing verb. (Bug#75974) 2025-02-01 Damien Cassou 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. * 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 * lisp/progmodes/elisp-mode.el (lisp-interaction-mode): * 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 . 2025-01-30 Eli Zaretskii * src/puresize.h (BASE_PURESIZE): Increase. (bug#75907) 2025-01-28 Stefan Kangas Update cc-mode URL to point to nongnu.org * 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. 2025-01-28 Michael Albinus * CONTRIBUTE: Recommend running the unit test prior to committing. 2025-01-28 Yuan Fu Don't signal an error in treesit-node-at * lisp/treesit.el (treesit-node-at): Wrap treesit-buffer-root-node within condition-case. 2025-01-26 Stefan Kangas Document insert-directory-program as a user option * doc/lispref/files.texi (Contents of Directories): Document 'insert-directory-program' as a user option. 2025-01-25 Stefan Monnier * 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) Restore the old behavior of `bookmark-write-file' * lisp/bookmark.el (bookmark-write-file): Use 'pp-28' to avoid filling the bookmarks. (Bug#75775) 2025-01-24 Stefan Kangas Avoid double spaces around abbreviations in Texinfo * doc/emacs/custom.texi (Init Rebinding): * doc/emacs/dired.texi (Operating on Files): * doc/emacs/emacs.texi (Top): * doc/emacs/emerge-xtra.texi (Emerge): * doc/emacs/files.texi (Files): * doc/emacs/frames.texi (Drag and Drop): * doc/emacs/misc.texi (Hyperlinking): * doc/emacs/modes.texi (Modes): * doc/emacs/mule.texi (Input Methods): * doc/emacs/windows.texi (Window Tool Bar): * doc/lispintro/emacs-lisp-intro.texi (Lexical & Dynamic Binding Differences): * doc/lispref/elisp.texi (Top): * doc/lispref/functions.texi (Functions, Generic Functions): * doc/lispref/hash.texi (Defining Hash): * doc/lispref/keymaps.texi (Creating Keymaps): * doc/lispref/lists.texi (Property Lists): * doc/lispref/modes.texi (%-Constructs): * doc/lispref/nonascii.texi (Character Properties): * doc/lispref/processes.texi (Misc Network): * doc/lispref/searching.texi (Regexp Functions): * doc/lispref/syntax.texi (Syntax Table Internals): * doc/lispref/text.texi (Filling, Checksum/Hash) (JSONRPC deferred requests): * doc/misc/calc.texi (What is Calc, Modes Tutorial): * doc/misc/cc-mode.texi (List Line-Up, Operator Line-Up) (Custom Macros, Indenting Directives): * doc/misc/efaq.texi (Colors on a TTY, Security risks with Emacs): * doc/misc/eglot.texi (Eglot Variables): * doc/misc/erc.texi (Connecting): * doc/misc/eshell.texi (Aliases, Completion): * doc/misc/flymake.texi (Backend functions): * doc/misc/gnus-faq.texi (FAQ 5 - Composing messages): * doc/misc/gnus.texi (Gnus Unplugged, Window Layout) (Filtering Incoming Mail, History): * 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. 2025-01-24 Rudolf Adamkovič Ispell: Use "personal dictionary" terminology consistently * lisp/textmodes/ispell.el (ispell-command-loop, ispell-help): Use consistent terminology when referring to "personal dictionary". (Bug#75802) 2025-01-23 Stefan Kangas Add language server "ruff server" for Python * lisp/progmodes/eglot.el (eglot-server-programs): Add "ruff server" for Python. 2025-01-23 Randy Taylor 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. 2025-01-21 Arthur Miller Fix bug in w32_memory_info * src/w32.c (w32_memory_info): Initialize struct size. 2025-01-21 Eli Zaretskii Avoid crashes in redisplay due to problematic font setups * src/xdisp.c (handle_single_display_spec) (produce_stretch_glyph): Avoid crashes if a face's font is NULL. (Bug#75725) 2025-01-20 Robert Pluim Improve 'key-valid-p' docstring * lisp/keymap.el (key-valid-p): Add "RET", "", and "C-m" examples. (Bug#75586) 2025-01-19 Stefan Kangas Minor copyedits in internals.texi * doc/lispref/internals.texi (Writing Emacs Primitives): Minor copyedits. 2025-01-19 Stefan Kangas 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. 2025-01-14 Robert Pluim Add smtpmail cross-reference to 'auth-sources'. * doc/misc/smtpmail.texi (Authentication): Add cross-reference to 'auth-sources'. 2025-01-12 Mauro Aranda Emphasize the use of :tag for new customization types * doc/lispref/customize.texi (Type Keywords): Name important use cases of the :tag keyword. (Defining New Types): Emphasize the use of the :tag keyword when using the lazy widget. (Bug#74409) (cherry picked from commit 99b85e116f09e68e0d5750c9772d0a2489680078) 2025-01-11 Mauro Aranda Fix checkbox's child creation * lisp/wid-edit.el (widget-checklist-add-item): Swap function calls so that child is actually a widget. (Bug#72156) 2025-01-11 Eli Zaretskii Document that 'package-vc' doesn't support built-in packages * doc/misc/use-package.texi (Install package): * doc/emacs/package.texi (Fetching Package Sources): Document that upgrading built-in packages is not yet supported using 'package-vc'. (Bug#75328) 2025-01-11 Stefan Kangas Improve checkdoc-common-verbs-wrong-voice docstring * lisp/emacs-lisp/checkdoc.el (checkdoc-common-verbs-wrong-voice): Improve docstring. 2025-01-11 Stefan Kangas Document string-as-{unibyte,multibyte} as obsolete in manual * doc/lispref/nonascii.texi (Selecting a Representation): Document string-as-unibyte and string-as-multibyte as obsolete. 2025-01-10 Randy Taylor Fix go-ts-mode var spec indentation (Bug#75362) 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. 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) 2025-01-09 Nikolaos Chatzikonstantinou Improve doc string of 'package-delete' * lisp/emacs-lisp/package.el (package-delete): Elaborate on the kind of argument expected by the function. (Bug#75382) 2025-01-08 Stefan Kangas 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. 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) 2025-01-07 Stefan Kangas Modernize "Commentary" section of files.el * lisp/files.el: Modernize "Commentary" section. (Bug#75398) 2025-01-05 Michael Albinus * INSTALL: Add advice how to invoke 'make install'. (Bug#74400) 2025-01-05 Hong Xu 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) 2025-01-04 Ulrich Müller Update doc string of 'insert' * src/editfns.c (Finsert): Mention 'decode-coding-string' instead of the obsolete 'string-as-multibyte' in doc string. (Bug#75345) 2025-01-04 Hong Xu 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) 2025-01-04 Eli Zaretskii Fix documentation and prompt in 'package-isolate' * lisp/emacs-lisp/package.el (package-isolate): Fix doc string and the prompt. (Bug#75163) 2025-01-03 Wilhelm Kirschbaum Update fontification for attribute values in heex-ts-mode Attribute values are strings as with html-ts-mode. * lisp/progmodes/heex-ts-mode.el (heex-ts--font-lock-settings): Change to attribute value to @font-lock-string-face. (Bug#75192) 2025-01-03 Wilhelm Kirschbaum 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. * lisp/progmodes/heex-ts-mode.el (heex-ts--sexp-regexp): Match on expression as well. (heex-ts--indent-rules): Indent on expression end. (Bug#75191) * test/lisp/progmodes/heex-ts-mode-resources/indent.erts: Add expression indent test. 2025-01-03 Stefan Kangas * lisp/man.el (Man-mode): Improve docstring. 2025-01-02 Stefan Kangas Fix copyright years by hand These are dates that admin/update-copyright did not update. 2025-01-02 Stefan Kangas Update copyright year to 2025 Run "TZ=UTC0 admin/update-copyright". 2025-01-02 Dmitry Gutov [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). 2025-01-02 Stefan Monnier (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. 2024-12-28 Wilhelm Kirschbaum Always match underscore variables for elixir-ts-mode 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) 2024-12-28 Wilhelm Kirschbaum 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) 2024-12-26 Stefan Kangas Don't start docstrings with "This function" or similar * lisp/calculator.el (calculator-add-operators): * lisp/erc/erc-backend.el (erc-server-ping-handler): * lisp/erc/erc-log.el (erc-generate-log-file-name-with-date): (erc-generate-log-file-name-short): * lisp/erc/erc-track.el (erc-track-shorten-function): * lisp/eshell/em-smart.el (eshell-where-to-jump): * lisp/eshell/esh-mode.el (eshell-begin-on-new-line): * lisp/gnus/gnus-art.el (gnus-prompt-before-saving): * lisp/mail/supercite.el (sc-cite-region-limit): * lisp/net/nsm.el (network-security-protocol-checks): * lisp/org/org-element.el (org-element--cache-avoid-synchronous-headline-re-parsing): * lisp/progmodes/hideif.el (hif-merge-ifdef-region): * lisp/progmodes/modula2.el (m2-indent): * 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". 2024-12-26 Stefan Kangas Enable indent-tabs-mode in obj-c-mode * .dir-locals.el (obj-c-mode): Enable indent-tabs-mode. 2024-12-26 john muhl 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. (Bug#75107) 2024-12-25 Corwin Brust * 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. 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) 2024-12-24 Eli Zaretskii Document undocumented completion commands * src/minibuf.c (Fread_from_minibuffer): * lisp/minibuffer.el (minibuffer-complete-history) (minibuffer-complete-defaults): Doc fixes. * doc/emacs/mini.texi (Completion Commands): Fix markup, style of describing commands, and indexing. Document 'C-x UP' and 'C-x DOWN'. 2024-12-23 Corwin Brust * 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). 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) 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 Michael Albinus Improve D-Bus and Tramp manual * doc/misc/dbus.texi (Overview): * doc/misc/tramp.texi (GVFS-based methods): Describe how the feature can be checked at runtime. (Bug#75004) 2024-12-21 john muhl Add 'lua-ts-mode' to 'interpreter-mode-alist' * lisp/progmodes/lua-ts-mode.el: Enable 'lua-ts-mode' for Lua scripts based on their interpreter line. (Bug#74951) 2024-12-21 Richard Lawrence Document representation of dates in calendar.el * lisp/calendar/calendar.el: Add a comment in file header explaining how dates are represented. 2024-12-20 Eli Zaretskii Autoload 'shortdoc-help-fns-examples-function' * lisp/help-fns.el (shortdoc-help-fns-examples-function): Autoload, to allow adding it to 'help-fns-describe-function-functions' as advertised. (Bug#74995) 2024-12-19 Andrea Corallo * Update 'ldefs-boot.el' (don't merge) * lisp/ldefs-boot.el: Update. 2024-12-19 Andrea Corallo * Bump Emacs version to 30.0.93 * nt/README.W32: Update Emacs version. * msdos/sed2v2.inp: Likewise. * exec/configure.ac: Likewise. * configure.ac: Likewise. * README: Likewise. 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 which are 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