summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
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-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-05-31README for manual translations available, and how to compile themVincent Belaïche
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-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-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-31; Fix a recent changeEli Zaretskii
* doc/misc/Makefile.in (DOCMISC_W32_TARGET): Define.
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-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-29Fix build outside source directoryAndreas Schwab
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-29ses doc, add comment how to compile individually the manuals.Vincent Belaïche
2026-05-29Handle the info duplicate target issue as close as possible to the conflict.Vincent Belaïche
The problems are: - filtering out the info from info making templates misses some dependencies. - naming PHONY target info.info is misleading, as there is also an info.info in the info build directory
2026-05-29Generate manual for other languages than default.Vincent Belaïche
* doc/translations/fr/info_common.mk: * doc/translations/default/info_common.mk: New file. * doc/misc/Makefile.in: Get INFO_COMMON from language respective info_common.mk helper script. (INFO_TARGETS): Make it depend from info_common.mk settings. (ORG_SETUP, ORG_SRC): Make it point at language specific sub-directory. (texi_sources, DVI_TARGETS, HTML_TARGETS, PDF_TARGETS) (PS_TARGETS, echo-info, info_template,efaq%$(lang_suffix).dvi) (efaq%$(lang_suffix).pdf, efaq%$(lang_suffix).texi) (efaq%$(lang_suffix).html): Make it use language specific suffix. (${buildinfodir}/%$(lang_suffix).info, %$(lang_suffix).dvi) (%$(lang_suffix).pdf, %$(lang_suffix).html, %$(lang_suffix).ps): Make it use language specific suffix/subdirectory. * Makefile.in (DOCLANGS): New variable, list of languages. (install-info, uninstall): List targets into 'info_misc' for all languages. (TAGS tags): Make tags for all languages. ($(DOCS)): Create target for all languages. (texi_misc_fr, texi_misc_default): Set macro for all languages. (srcdir_doc_info_dir_inputs): Macro concatenate texi_misc_lll for all language lll.
2026-05-29Add dependance of info file on source.Vincent Belaïche
Suppress also superfluous exta .info extension of info.info.
2026-05-28dbus-call-method-asynchronously supports also an ERROR-HANDLERmasterMichael Albinus
* doc/misc/dbus.texi (Asynchronous Methods): HANDLER can also be (HANDLER . ERROR-HANDLER). * etc/NEWS: Mention ERROR-HANDLER of dbus-call-method-asynchronously. * lisp/net/dbus.el (dbus-call-method-asynchronously): Adapt docstring. (dbus-check-event, dbus-handle-event): HANDLER can also be (HANDLER . ERROR-HANDLER). * src/dbusbind.c (Fdbus_message_internal): HANDLER can also be (HANDLER . ERROR-HANDLER). (Bug#80952) * test/lisp/net/dbus-tests.el (dbus--test-method-another-handler) (dbus--test-method-error-handler): New defvars. (dbus--test-method-another-handler) (dbus--test-method-error-handler): New functions. (dbus-test04-call-method-error-handler): New test. (dbus-test10-keep-fd): Extend test.
2026-05-26Update from Gnulib by running admin/merge-gnulibPaul Eggert
In addition to the automatic changes, also do the following, needed due to recent Gnulib changes. * admin/merge-gnulib (AVOIDED_MODULES): Add btoc32, c32_apply_type_test, c32_get_type_test, c32isalnum, c32rtomb, c32tolower, c32toupper, localeinfo, mbrtoc32-regular. Remove btowc, iswctype, mbrtowc, wcrtomb, wctype, wctype-h. Also remove iswblank, iswdigit, iswxdigit, locale-h, raise, stdarg-h, some of which perhaps could have been removed earlier. * configure.ac (_REGEX_AVOID_UCHAR_H): New macro.
2026-05-24; Improve documentation of 'vc-dir-auto-hide-up-to-date'Eli Zaretskii
* lisp/vc/vc-dir.el (vc-dir-auto-hide-up-to-date): Doc fix. * doc/emacs/maintaining.texi (VC Directory Buffer): Document 'vc-dir-auto-hide-up-to-date'. (Bug#81033)
2026-05-23Merge from origin/emacs-31Eli Zaretskii
7a17f97baa7 Prettify special glyphs f13287fde0d Revert "sh-script: Mark + and * as punctuation rather tha... 70b79b3ed8d Rename `icalendar-recur' type and related functions 3d2bb233f27 ; Minor Tramp changes f6281d757d3 ; * etc/NEWS: Tell how to disable 'markdown-ts-mode'. 142b1e0d4c3 Fix Lisp injection via X-Draft-From in Gnus d6f7b2d99bd Save/restore old_buffer slot via window configurations (B... e0fbecaf658 Adapt ert-remote-temporary-file-directory settings 3de7f0ce5e5 Fix warning message in 'markdown-ts-mode--initialize' 7df8604ea63 ; Improve documentation of lazy-highlight in search and r... 2936b36164d Fix "assertion 'GTK_IS_WINDOW (window)' failed" 98348a0bdc9 [Xt] Fix child frame resizing glitch 13b29eebc16 Eglot: use standard face for completion annotations (bug#... # Conflicts: # etc/NEWS
2026-05-23; Minor Tramp changesMichael Albinus
* doc/misc/tramp.texi (Frequently Asked Questions): google-drive has been disabled in GNOME 50. * lisp/net/tramp-cmds.el (tramp-enable-method): Upcase prompt. * lisp/net/tramp-sh.el (tramp-sh-handle-make-process) (tramp-sh-handle-process-file): Improve setting of environment variables. * test/lisp/net/tramp-tests.el (tramp-methods) <mock>: Add `tramp-tmpdir'. Adapt `tramp-login-program'. (ert-remote-temporary-file-directory): Improve expansion. (tramp-test35-remote-path): Adapt test.
2026-05-22; Improve documentation of lazy-highlight in search and replace commandsEli Zaretskii
* lisp/isearch.el (lazy-highlight, lazy-highlight-initial-delay) (lazy-highlight-buffer, isearch-lazy-highlight, isearch-forward): * lisp/replace.el (query-replace, query-replace-lazy-highlight) (query-replace, query-replace-regexp): Doc fixes. * doc/emacs/search.texi (Search Customizations): Document 'lazy-highlight-buffer' and 'lazy-highlight-buffer-max-at-a-time'. Use @vtable to avoid the need of indexing each variable separately.
2026-05-21Etags handling of fortran files (bug#81086).Roland Winkler
* lib-src/etags.c: Tag fortran modules. Honor file extensions "f95", "f03", "f08" for fortran files. * doc/emacs/maintaining.texi: Update accordingly.
2026-05-21Merge from origin/emacs-31João Távora
655302cc212 Fix 'shr-outline-search' (bug#81073) 1754015c603 Improve auth-source-backend-parse 8f31ccbf823 Eglot: announce markdown support for completion docs aad170d1edf markdown-ts-mode: hide fence lines in view-mode (bug#81081) 133d1d591cb markdown-ts-mode: align default face definitions with mar... e0aeee2dc5f Fix markdown-ts-mode atx_heading face computation (bug#81... 997fc2cef77 Allow markdown-ts--run-command-in-code-block to ignore ou... 7d84e69a349 hideshow: Menu entry for 'hs-toggle-all' e90cafc2886 ; * doc/lispref/display.texi (Displaying Faces): Mention ... 520c5b7c71b ; * doc/lispref/text.texi (Special Properties): Fix last ... 8095fbef772 doc/lispref/text.texi: Add complement to commit f4a1c006569f 9436d92c5da Eglot: fix eglot--format-makrup when MARKUP just a string 9ba65aa9656 Fix missing margin face on display prop in erc-stamp
2026-05-19; * doc/lispref/display.texi (Displaying Faces): Mention 'margin' face.Eli Zaretskii
2026-05-19; * doc/lispref/text.texi (Special Properties): Fix last change.Eli Zaretskii
2026-05-18doc/lispref/text.texi: Add complement to commit f4a1c006569fStefan Monnier
* doc/lispref/text.texi (Examining Properties): Mention the change in cursor-sensor-functions.
2026-05-16Merge from origin/emacs-31Eli Zaretskii
cf96e9cb5a5 ; Fix byte-compilation warnings in non-Tree-Sitter builds 23575adc7be ; * doc/lispref/variables.texi (Local Variables): Fix typ... 8b6fb2f6465 ; * doc/lispref/variables.texi (Local Variables): Fix 'na... d3c72b83890 ; * src/xdisp.c (display_line): Fix commentary (bug#80693). a981517b72e Fill margins with 'margin' face on truncated screen lines 8e374990357 ; * doc/lispref/os.texi (Init File): Fix markup (bug#81049). f4c326c378a ; * src/sfnt.c (sfnt_read_cmap_format_12): Assert there's... bf89ee6d078 ; * etc/PROBLEMS: Cursor not shown on Windows with system... 20500d62006 ; htmlfontify: Handle 'reset' face attribute value (bug#8... d0d657fa902 ; Minor Tramp cleanup 93ea0d7d289 ; Improve documentation of VC commands in Dired 318084829c5 Eglot: adjust reference to completion frontends in manual 2a166c2dbdb Eldoc: display documentation in visual-line-mode aba60ad0c5b Eglot: prefer markdown-ts-view-mode for markup rendering ... 689c3bd5088 Use 'read-multiple-choice' in 'markdown-ts-mode' (bug#81027) 71809ee5df5 Fix 'markdown-ts-code-span' face (bug#81026) 286833e401d Add read-only 'markdown-ts-view-mode' (bug#81023) b39c123490b Fix strikethrough in 'markdown-ts-mode' (bug#80991) 0be998d4bc0 Fix code-span in headings in 'markdown-ts-mode' (bug#80979) a00beb3a31b Make 'markdown-ts-inline-images' buffer local and test fo... a0c05029fd1 * etc/NEWS: Mention new user option tramp-propagate-emacs... 2e71d2c709f Propagate EMACSCLIENT_TRAMP to remote hosts with Tramp ff96db93f23 keyboard-tests.el: Try and fix the failure on EMBA ce3098752cf doc: Remove long obsolete references to `package-initialize` 9bc04b001ac vc-next-action: Call vc-delete-file on FILESET-ONLY-FILES 13039e3442b ; touch-up last commit: copyright and comments c2a24dcec8b ; update msys2 build helper for Emacs 31 & UCRT 3630baae720 hideshow: Support new 'margin' face for margin indicators... 20d17df3f4f Use the new 'margin' face in Flymake (bug#80693) 07f2bbc905d vc-dir-resynch-file: Pass down non-truename'd FILE
2026-05-16Merge from origin/emacs-31Eli Zaretskii
7eab6ef3cee Fix 'sgml-parse-tag-backward' to handle tags in comments 09dc864b0b8 Fix eww-submit for forms with no action (bug#80918) 0e7a24d9313 * lisp/progmodes/hideshow.el (hs--set-variable): Use 'set... f12b01582db Fix Completions buffer disappearing with tmm-menubar (bug... 519fd832111 Fix secrets.el when Emacs is a flatpak 9e4ea934f23 Fix 'prepare-user-lisp' to follow symlinks e613e38021e Update "timeout" to 2.1.6 196fd80689e [GTK3, HiDPI] Fix width/height round-trip through Configu... acc07f1a030 [GTK3] On Expose, repaint the border before the content 5323eebcffc Test read-passwd behavior (bug#80838) 01c5990dd06 Fix nested read-passwd calls (bug#80838) 027043df257 ; * lisp/gnus/message.el (message-server-alist): Doc fix ... 3b608b233ed Fix terminal emulation of "ESC [ K" sequence 6a605c65a83 Fix vertical-motion across overlay strings with embedded ... e4d529c67b6 ; Fix last change d54faa0f1bf Mark gnus-dbus.el as obsolete 9bf2a19bb21 Move gnus-dbus.el to obsolete/gnus-dbus.el 984024daf3c Gnus: Use new sleep library d7c130972e0 ; * lisp/term/pgtk-win.el (icon-map-list): Fix :type. 5579893ed7c ; Don't block/unblock input in text_extents methods 547b1ee7b6d Fix Rmail behavior wrt globalized minor modes 6ba05106f4e Fix display images in the display margins 56f27dd9f06 Eglot: fix eglot--sig-info with non-UTF-32 positionEncoding 543d8a7a9d7 [NS] Fix deprecated variable (bug#80985) # Conflicts: # etc/NEWS
2026-05-16; * doc/lispref/variables.texi (Local Variables): Fix types (bug#81004).Eli Zaretskii
2026-05-16; * doc/lispref/variables.texi (Local Variables): Fix 'named-let'.Eli Zaretskii
2026-05-15; * doc/lispref/os.texi (Init File): Fix markup (bug#81049).Manuel Giraud
2026-05-14; Improve documentation of VC commands in DiredEli Zaretskii
* doc/emacs/dired.texi (Misc Dired Features): Move VC reference from here... (Operating on Files): ...to here. Add other VC commands supported by Dired. * doc/emacs/maintaining.texi (Old Revisions, VC Change Log): Fix cross-references.
2026-05-14Eglot: adjust reference to completion frontends in manualJoão Távora
* doc/misc/eglot.texi (Eglot Features): Rework.
2026-05-14Eglot: prefer markdown-ts-view-mode for markup rendering (bug#80127)João Távora
Eglot previously needed gfm-view-mode from markdown-mode.el to render Markdown from LSP servers. It now prefers markdown-ts-view-mode when available. * lisp/progmodes/eglot.el (eglot--accepted-formats): Recognize markdown-ts-view-mode as a Markdown renderer. (eglot--format-markup): Rework with cl-labels; prefer markdown-ts-view-mode over gfm-view-mode. * doc/misc/eglot.texi (Eglot Features): Don't mention markdown-mode directly. * etc/EGLOT-NEWS: Mention change
2026-05-13Propagate EMACSCLIENT_TRAMP to remote hosts with TrampMichael Albinus
* doc/misc/tramp.texi (Remote processes): Explain `tramp-propagate-emacsclient-tramp'. * lisp/net/tramp.el (tramp-remote-process-environment): Adapt docstring. (tramp-propagate-emacsclient-tramp): New defcustom. (tramp-handle-make-process): * lisp/net/tramp-sh.el (tramp-sh-handle-make-process) (tramp-sh-handle-process-file): Use it. * test/lisp/net/tramp-tests.el (tramp-test33-environment-variables): Adapt test.
2026-05-13doc: Remove long obsolete references to `package-initialize`Stefan Monnier
Since Emacs-27, `package-initialize` is for internal use only, and callers should either call `package-activate-all` instead (cheaper and faster) or do nothing at all (because the other functions should trigger the needed initialization automatically as needed). * doc/lispref/package.texi (Packaging Basics): Delete `package-initialize`. * doc/misc/eglot.texi (Reporting bugs): Don't recommend using `package-initialize`. * doc/misc/org.org (Using Emacs packaging system): Simplify the command line since both `(require 'package)` and `(package-initialize)` are redundant here.
2026-05-12Change ERC version to 5.7-gitF. Jason Park
* doc/misc/erc.texi: Change ERCVER to 5.7 without a "-git" suffix. * lisp/erc/erc.el (erc-version): Change working version to 5.7-git. Do the same for the package "Version" header. Bump required Compat version to 31. Add new 5.7 to Emacs 32.1 mapping in top-level modification of `customize-package-emacs-version-alist'.
2026-05-11Change ERC version for Emacs 31 to 5.6.2.31.1F. Jason Park
* doc/misc/erc.texi: Change ERCVER to 5.6.2.31.1. * lisp/erc/erc.el: Change "Version" package header to 5.6.2.31.1. Don't update the `customize-package-emacs-version-alist' entry because this is not a GNU ELPA release. (erc-version): Change version to 5.6.2.31.1. Do not merge to master.
2026-05-11Fix secrets.el when Emacs is a flatpakMichael Albinus
* doc/misc/dbus.texi (Flatpak integration): New chapter. * lisp/net/secrets.el (top): Protect against wrong signals in the flatpak case. (Bug#80977)
2026-05-09; Fix last changeMichael Albinus
* doc/misc/gnus.texi (System Sleep Integration): Move @anchor up. * etc/NEWS: gnus-dbus.el is obsolete. Presentational fixes and improvements. * lisp/gnus/gnus-start.el (gnus-close-on-sleep): Add :version. (gnus-sleep-handler): Use `ignore-errors'.
2026-05-09Gnus: Use new sleep libraryMorgan Smith
* etc/NEWS: Announce. * lisp/gnus/gnus-start.el: Don't require gnus-dbus. (gnus-sleep-handler): New function. (gnus-close-on-sleep): New variable. (gnus-1): Add `gnus-sleep-handler' to `system-sleep-event-functions' when `gnus-close-on-sleep' is non-nil. * doc/misc/gnus.texi: Update documentation.
2026-05-07Update to Transient v0.13.3-10-g87d0ca08Jonas Bernoulli
2026-05-07; * doc/emacs/emacs.texi (Acknowledgments): Fill.Sean Whitton
2026-05-07; Fixes to Acknowledgments lists.Sean Whitton
2026-05-05Introduce 'margin' face for window margin backgroundAndrea Alberti
A new basic face 'margin' is used for text displayed in the left and right margin areas, i.e., the areas typically used by VCS and LSP packages for per-line annotations. Its background defaults to the frame default, preserving existing behavior for users who do not customize it. * etc/NEWS: Document the new 'margin' face. * lisp/faces.el (margin): Add 'margin' face, inheriting from 'default'. * src/dispextern.h (face_id): Add MARGIN_FACE_ID. * src/xdisp.c (face_at_pos): Use 'margin' as the base face for strings displayed in margin areas so that they inherit the gutter background by default. (extend_face_to_end_of_line): Compute 'margin_fill_face_id' from the 'margin' face. Use while loops to explicitly fill all empty character slots in both left and right margins for both GUI and TTY branches. (display_line): Call 'extend_face_to_end_of_line' for beyond-EOB rows when the window has margins. Also extend the existing condition for text rows with empty margins to trigger when the 'margin' face background differs from the frame default, not only when the default face is remapped. * src/xfaces.c (realize_basic_faces): Realize 'margin' as a basic face to support face-remapping and efficient lookup. (Bug#80693)
2026-05-05Accept stream type as 4th argument of X-Message-SMTP-Method headerAugusto Stoffel
* lisp/gnus/message.el (message-multi-smtp-send-mail): Set 'smtpmail-stream-type' if specificed in the header. * doc/misc/message.texi (Mail Variables): Document that. (Bug#80880)
2026-05-04nadvice.el: Make it easier to find how to change an interactive-formStefan Monnier
* lisp/emacs-lisp/nadvice.el (advice--how-alist): Add ':interactive-only'. * doc/lispref/functions.texi (Advice Combinators): Document it. (Core Advising Primitives): Use it.