summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-06-04Use `confirm-nonexistent-file-or-buffer' in ffapdevmainCharles A. Roelli
* test/lisp/ffap-tests.el (ffap-respects-confirm-nonexistent-file-or-buffer): New test. * lisp/ffap.el (ffap-read-file-or-url): Respect `confirm-nonexistent-file-or-buffer'.
2026-06-04plstore: use 'plstore--has-secret-keys'Xiyue Deng
* lisp/plstore.el (plstore-find, plstore-get, plstore--encode) (plstore--decode): Use 'plstore--has-secret-keys' to replace manual check for existence of secret keys. (Bug#81061)
2026-06-04Don't unconditionally append the :ascent property in wid-editDavid Ponce
* lisp/wid-edit.el (widget-toggle-value-create): Don't duplicate the :ascent property if already set. (Bug#81167)
2026-06-04Decrypt plstore when needed in 'plstore-delete'Xiyue Deng
When a plstore has entries with secret keys, processing the plstore file would require decryption first. However, unlike other functions like 'plstore-get', 'plstore-put', etc., 'plstore-delete' does not check for secret keys and decrypt the file, which would corrupt the file when deleting any entries with secret keys. This patch adds checking for secret keys and decrypt the file when needed before removing the entry with name. * lisp/plstore.el (plstore--has-secret-keys): New. * lisp/plstore.el (plstore-delete): Check for secret keys of the entry and decrypt plstore before performing the deletion. (Bug#81061)
2026-06-04Avoid background fills on parent during child frame resize/move/hideDmitry Gutov
* src/xterm.c (x_suspend_background_fills) (x_restore_background_fills): New functions. (x_set_window_size, x_set_window_size_and_position) (x_make_frame_invisible): Use them (bug#80961).
2026-06-03Always return a list from send-to--collect-itemsPip Cet
* lisp/send-to.el (send-to--collect-items): Return singleton list, not a string directly.
2026-06-03* lisp/send-to.el (send-to--resolve-handler): Add autoload.Pip Cet
2026-06-02Support Ansible messages in compilation-modeMichael Albinus
* etc/NEWS: Mention Ansible integration in compilation mode. * etc/compilation.txt: Add examples of Ansible error, warning and note messages. Fix typos. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add Ansible regexps for error, warning and note messages. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): Add new test cases. (compile-test-error-regexps): Increase expected infos.
2026-06-01Disable markdown-ts-mode & markdown-ts-view-mode for Emacs 31João Távora
Ported from emacs-31 release branch: commit 984932d4dc992af384b8201caa6f1ba8457cfb2a Author: Sean Whitton <spwhitton@spwhitton.name> Date: Mon Jun 1 11:48:42 2026 +0100 Disable markdown-ts-mode & markdown-ts-view-mode for Emacs 31 This synchronizes master's Eglot with emacs-31. The goal of that commit is to demote those markdown-ts-mode.el modes to "experimental" status in emacs-31, but Eglot was already relying on them and changes were needed. 984932d4dc992af384b8201caa6f1ba8457cfb2a is not the commit that best does those changes, but since that commit was marked "do not merge" on emacs-31, I thought it best to bring it here manually so any further work -- which doesn't contradict the overarching intention -- can continue in emacs-31 with clean merges to master (where the GNU-devel core Elpa package is pulled from). * lisp/progmodes/eglot.el (eglot-documentation-renderer) (eglot--format-markup): Don't call eglot--builtin-mdown-p. * doc/misc/eglot.texi (Customization Variables): * etc/EGLOT-NEWS: Don't mention markdown-ts-mode Co-authored-by: Sean Whitton <spwhitton@spwhitton.name>
2026-06-01Improve x_free_gc checking when debuggingPaul Eggert
* src/xfaces.c (x_free_gc): When debugging, also diagnose unlikely case when ngcs == INT_MIN.
2026-06-01Pacify -Wuseless-cast if --enable-checking=allPaul Eggert
Problem reported by Helmut Eller (Bug#81132#25). * src/dispextern.h (IF_DEBUG): Omit cast that is useless if the argument is already void. * src/ftfont.c (adjust_anchor): Omit useless cast.
2026-06-01Prevent segfaults due to frame resizing at the wrong timeEli Zaretskii
* src/dispextern.h: * src/xdisp.c (dont_resize_frames): New variable. (unwind_format_mode_line): Decrement 'dont_resize_frames'. (gui_consider_frame_title, display_mode_line, Fformat_mode_line): Increment 'dont_resize_frames'. * src/dispnew.c (do_pending_window_change): Don't resize frames if 'dont_resize_frames' is non-zero. (Bug#81121)
2026-06-01; Move markdown-ts-mode to correct NEWS file.Sean Whitton
2026-06-01Check whether g_settings_schema_source_get_default returned NULLDan R. K. Ports
* src/pgtkfns.c (parse_resource_key): * src/xsettings.c (init_gsettings): Check whether g_settings_schema_source_look up returned NULL (bug#81166). Copyright-paperwork-exempt: yes
2026-06-01; Merge from origin/emacs-31Sean Whitton
The following commit was skipped: 984932d4dc9 Disable markdown-ts-mode & markdown-ts-view-mode for Emac...
2026-06-01Merge from origin/emacs-31Sean Whitton
2c2f1c00acc ; * lisp/vc/vc-dir.el (vc-dir-update): Add an assertion. 51f823a3afa ; * etc/NEWS: Fix annotation. 271cc5c76c0 More tests for fill-paragraph-handle-comment.erts cc9f35c54ba ; * etc/PROBLEMS: Minor fixes of last change. 2727a6f4e8d ; Document problems caused by validation of *.eln files o... f1dd84bec99 ; * lisp/play/doctor.el (doctor-death): Fix Samaritans UR... 0bfbe06090c Update to Org 9.8.5 aac5e0457ae Eglot: replace eglot-prefer-plaintext with eglot-document... ec3d662de0b Make HTML button elements tab-stoppable in eww (bug#81107) # Conflicts: # etc/NEWS
2026-06-01Disable markdown-ts-mode & markdown-ts-view-mode for Emacs 31Sean Whitton
Do not merge to master. * lisp/progmodes/eglot.el (eglot-documentation-renderer) (eglot--format-markup): Don't call eglot--builtin-mdown-p. * lisp/textmodes/markdown-ts-mode.el (markdown-ts-mode) (markdown-ts-view-mode): Mark as experimental. (auto-mode-alist, treesit-major-mode-remap-alist): Don't add anything. * doc/misc/eglot.texi (Customization Variables): * etc/EGLOT-NEWS: * etc/NEWS: Don't mention markdown-ts-mode or markdown-ts-view-mode.
2026-06-01; * lisp/vc/vc-dir.el (vc-dir-update): Add an assertion.Sean Whitton
2026-06-01; * etc/NEWS: Fix annotation.Sean Whitton
2026-06-01Restore runtime dependencies to documentation filesPo Lu
* Makefile.in (MAKE_DOC_FOR_DOCLANG): Remove unnecessary .PHONY definitions for targets which will be encompassed by $(DOC). (MAKE_DOC): Create a common target to to which to assign runtime dependencies. (misc-info-common, misc-dvi-common, misc-html-common) (misc-pdf-common, misc-ps-common): Assign runtime dependencies on Lisp etc. previously assigned to the bare targets now subject to indirection.
2026-05-31Ignore SO_RCVTIMEO errors in emacsclientPaul Eggert
* lib-src/emacsclient.c: Include <stdckdint.h> (timeout): Now signed, and initially -1. All uses changed. (decode_options): Do not worry about ERANGE or ranges, as other code now deal with this; the old code was wrong anyway as it mixed uintmax_t with INTMAX_MAX and INTMAX_MIN. But do check for syntax errors and negative values. (set_socket_timeout): Don’t time out if the timeout is 0 or enormous. Silently ignore errors (Bug#81160). (main): Allow --timeout=0, as per documentation.
2026-05-31More tests for fill-paragraph-handle-comment.ertsJuri Linkov
* test/lisp/textmodes/fill-resources/fill-paragraph-handle-comment.erts: Add more tests for current comment lines (bug#80449).
2026-05-31README for manual translations available, and how to compile themVincent Belaïche
2026-05-31Make build in doc/ happen in parallel over DOCLANGSVincent Belaïche
This also avoids using ";" in make rules, which doesn't propagate errors from the first command to the entire line. * Makefile.in (MAKE_DOC_FOR_DOCLANG): New. (MAKE_DOC): delegate to 'MAKE_DOC_FOR_DOCLANG' per language doc build.
2026-05-31Make doc/ build fail on DOCLANG=dummyVincent Belaïche
* doc/misc/Makefile.in (DOCLANG): Call 'error' when asked to produce manuals for a language we don't know about.
2026-05-31; * m4/texinfo.m4 (gl_SET_MAKEINFO): Fix introductory comment.Vincent Belaïche
2026-05-31Avoid using the LANG environment variableVincent Belaïche
Amend commit 75153f7b769 " Fix clash with locale variable" by Andreas Schwab. Use DOCLANG instead of INFO_LANG for renaming, as documentation does not produce only info output, and DOCLANG is iterating over DOCLANGS. * Makefile.in: Rename 'LANG' to 'DOCLANG' to avoid clash with well-known environment variable. * doc/misc/Makefile.in: Adjusted accordingly, rename 'INFO_LANG' to 'DOCLANG' where Andreas had already renamed 'LANG'. * doc/translations/fr/misc/ses-fr.texi: rename 'INFO_LANG' to 'DOCLANG' in explanatory comment.
2026-05-31; * etc/PROBLEMS: Minor fixes of last change.Eli Zaretskii
2026-05-31; Document problems caused by validation of *.eln files on macOSAaron Jensen
* etc/PROBLEMS: Document slowdown on macOS caused by the OS validation of *.eln files.
2026-05-31; * lisp/play/doctor.el (doctor-death): Fix Samaritans URL (bug#81155).Eli Zaretskii
2026-05-31Fix clash with locale variableAndreas Schwab
LANG is a locale variable, use INFO_LANG instead. * doc/misc/Makefile.in (INFO_LANG): Renamed from LANG, all uses changed. * doc/translations/fr/misc/ses-fr.texi: Use INFO_LANG instead of LANG.
2026-05-31Allow optionally disabling the use of TABs for TTY cursor movementEli Zaretskii
* src/term.c (syms_of_term) <tty-cursor-movement-use-TAB>: New var. <tty-cursor-movement-use-TAB-BS>: Doc fix. * src/cm.c (calccost): Use it to disable use of TABs for cursor motion on text terminals. * etc/NEWS: Announce the new variable.
2026-05-31; Fix a recent changeEli Zaretskii
* doc/misc/Makefile.in (DOCMISC_W32_TARGET): Define.
2026-05-31Update to Org 9.8.5Kyle Meyer
2026-05-31; * doc/translations/fr/info_common.mk: Fix typos.Eli Zaretskii
2026-05-31Fix rules in doc/misc/Makefile.inEli Zaretskii
* doc/misc/Makefile.in (INFO_TARGETS): Always build efaq-w32.info. (info_template): Remove unnecessary extra prerequisite for $$(buildinfodir)/$(1)$$(lang_suffix).info, which repeats an existing pattern rule and causes ccmode.info be constantly regenerated.
2026-05-30Eglot: replace eglot-prefer-plaintext with eglot-documentation-rendererJoão Távora
The old boolean 'eglot-prefer-plaintext' is replaced by the more expressive 'eglot-documentation-renderer', which can hold a major-mode symbol, t (plain text), or nil (auto-detect each time). By selecting a renderer once at startup the repeated per-request lookups are avoided, which helps with the slowness reported in bug#81150. * lisp/progmodes/eglot.el (eglot-prefer-plaintext): Declare obsolete alias to 'eglot-documentation-renderer'. (eglot-documentation-renderer): New defcustom, reworked from from eglot-prefer-plaintext. (eglot--accepted-formats): Use new variable. (eglot--format-markup): Use new variable. * etc/EGLOT-NEWS: Announce change. * doc/misc/eglot.texi (Customization Variables): Document eglot-documentation-renderer.
2026-05-30Make HTML button elements tab-stoppable in eww (bug#81107)Amin Bandali
* lisp/net/eww.el (eww-form-submit): Call put-text-property to add help-echo and shr-tab-stop properties. (eww-tag-input): Exclude inputs with type="submit" when adding the help-echo and shr-tab-stop properties, since that's now done in eww-form-submit, called earlier for type="submit".
2026-05-30Merge from origin/emacs-31Eli Zaretskii
72d890c43e7 ; Update the documentation of 'debug' 69fd4b87f4d Don't make buffer read-only when reverting if 'view-mode'... 2955b51e80c ; * etc/NEWS: Document the change in mode-line faces. # Conflicts: # etc/NEWS
2026-05-30; Update the documentation of 'debug'Eli Zaretskii
2026-05-30Don't make buffer read-only when reverting if 'view-mode' was disabledEli Zaretskii
* lisp/view.el (view--disable): Reset 'read-only-mode--state'. (Bug#81149)
2026-05-30; * etc/NEWS: Document the change in mode-line faces.Eli Zaretskii
2026-05-29(reftex-isearch-minor-mode): A few more simplificationsStefan Monnier
* lisp/textmodes/reftex-global.el (reftex-isearch-minor-mode): Simplify docstring. Remove redundant `setq`s and mode line update.
2026-05-29Refactor reftex-isearch-minor-mode to use define-minor-modeLuniya DW
See L88 in etc/TODO. * lisp/textmodes/reftex-global.el (reftex-isearch-minor-mode): Use `define-minor-mode`. * lisp/textmodes/reftex.el (reftex-isearch-minor-mode): Remove redundant variable definition.
2026-05-29Fix build outside source directoryAndreas Schwab
2026-05-29Fix overquoting in gl_SET_MAKEINFOAndreas Schwab
2026-05-29Merge from origin/emacs-31Sean Whitton
24879846852 * lisp/shell.el (shell): Fix typo: use process-live-p (bu... 545bbc6ebe8 widget-image-find: Use 'image-load-path' (bug#81140) 69286be27db ; Fix an overwide docstring line.
2026-05-29; Merge from origin/emacs-31Sean Whitton
The following commit was skipped: d8933b9f074 Fix the MSDOS build
2026-05-29Merge from origin/emacs-31Sean Whitton
c3babe4b896 Fix lax whitespace highlight during query-replace 2e70b88623e Fix fill-paragraph combining text with preceding comment ea54c33950f ; * etc/PROBLEMS: Link to bug#81124. 02897e208d0 emacsclient quote_argument is void c6181780663 ; Mark process-test-stderr-buffer as :unstable when runni... 2c1b45f5c56 ; Improve documentation of 'vc-dir-auto-hide-up-to-date' 768c8bf0045 Revert "* admin/notes/documentation: Recommend not using ... a7414f18598 native--compile-skip-on-battery-p: Try to fix ?b, ?B cond... 7cee526a8cc Save and restore original local keymap in grep-edit-mode 4d87d203cfb Fix display of inline SVG images in Rmail 4c55d04ebe3 Add treesit-ready-p check back to tree-sitter major modes... 7892ae5eaf4 Fix pathological slowness in flex completion 12eec781ed6 No longer raise error on HTTP 402 (Payment Required) (bug... 1800350b186 Avoid compilation-mode matching rust as gnu
2026-05-29* lisp/shell.el (shell): Fix typo: use process-live-p (bug#81145).Augusto Stoffel