Stefan Kangas [Tue, 7 Jan 2025 05:12:21 +0000 (06:12 +0100)]
Modernize "Commentary" section of files.el
* lisp/files.el: Modernize "Commentary" section. (Bug#75398)
Michael Albinus [Sun, 5 Jan 2025 08:25:37 +0000 (09:25 +0100)]
* INSTALL: Add advice how to invoke 'make install'. (Bug#74400)
Hong Xu [Sat, 4 Jan 2025 20:32:24 +0000 (12:32 -0800)]
Improve the documentation of 'key-valid-p'
* lisp/keymap.el (key-valid-p): Add an function key and mouse
button example. Mention '<left>' as a cursor control key
instead of a function key. Briefly explain what an event may
be. (Bug#75366)
Ulrich Müller [Sat, 4 Jan 2025 09:37:59 +0000 (10:37 +0100)]
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)
Hong Xu [Thu, 19 Dec 2024 22:33:35 +0000 (14:33 -0800)]
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)
Eli Zaretskii [Sat, 4 Jan 2025 12:18:54 +0000 (14:18 +0200)]
Fix documentation and prompt in 'package-isolate'
* lisp/emacs-lisp/package.el (package-isolate): Fix doc string and
the prompt. (Bug#75163)
Yuan Fu [Sat, 4 Jan 2025 05:39:32 +0000 (21:39 -0800)]
; Fix typo in treesit-explore-mode
* lisp/treesit.el (treesit-explore-mode): We added the hook to
kill-buffer-hook, so make sure to remove it from
kill-buffer-hook, not post-command-hook.
Wilhelm Kirschbaum [Mon, 30 Dec 2024 10:56:40 +0000 (12:56 +0200)]
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)
Wilhelm Kirschbaum [Mon, 30 Dec 2024 10:45:08 +0000 (12:45 +0200)]
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.
Eli Zaretskii [Fri, 3 Jan 2025 08:27:46 +0000 (10:27 +0200)]
; * etc/NEWS: Document change of 'make-cursor-line-fully-visible'.
Bug#65214, bug#74430.
Stefan Kangas [Fri, 3 Jan 2025 02:36:38 +0000 (03:36 +0100)]
* lisp/man.el (Man-mode): Improve docstring.
Stefan Kangas [Thu, 2 Jan 2025 17:39:28 +0000 (18:39 +0100)]
Fix copyright years by hand
These are dates that admin/update-copyright did not update.
Stefan Kangas [Thu, 2 Jan 2025 17:32:51 +0000 (18:32 +0100)]
Update copyright year to 2025
Run "TZ=UTC0 admin/update-copyright".
Dmitry Gutov [Thu, 2 Jan 2025 16:58:40 +0000 (18:58 +0200)]
[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).
Stefan Monnier [Thu, 2 Jan 2025 15:51:38 +0000 (10:51 -0500)]
(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.
Kohei Tsuruta [Sun, 29 Dec 2024 22:47:10 +0000 (14:47 -0800)]
; * doc/lispref/modes.texi (Customizing Keywords): Fix typo (bug#75193).
Kohei Tsuruta [Fri, 27 Dec 2024 23:27:34 +0000 (15:27 -0800)]
; Add missing parameters in keymap doc
* doc/lispref/keymaps.texi (Controlling Active Maps): Add missing
parameters. (Bug#75174)
Copyright-paperwork-exempt: yes
Eli Zaretskii [Sat, 28 Dec 2024 20:38:17 +0000 (22:38 +0200)]
; * doc/misc/calc.texi: Fix makeinfo warnings (bug#75166).
Wilhelm Kirschbaum [Sun, 15 Sep 2024 07:46:07 +0000 (09:46 +0200)]
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)
Eli Zaretskii [Sat, 28 Dec 2024 12:04:26 +0000 (14:04 +0200)]
; Fix inaccuracy in ELisp Reference manual
* doc/lispref/objects.texi (Basic Char Syntax): Fix inaccurate
wording. (Bug#75113)
Eli Zaretskii [Sat, 28 Dec 2024 11:54:45 +0000 (13:54 +0200)]
; * etc/PROBLEMS: Mention problems with XPM support in GDK (bug#75018).
Wilhelm Kirschbaum [Sun, 15 Sep 2024 07:46:35 +0000 (09:46 +0200)]
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)
Stefan Kangas [Sat, 28 Dec 2024 01:24:07 +0000 (02:24 +0100)]
; Fix copyright year
Stefan Kangas [Thu, 26 Dec 2024 20:02:45 +0000 (21:02 +0100)]
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".
Stefan Kangas [Thu, 26 Dec 2024 15:07:08 +0000 (16:07 +0100)]
Enable indent-tabs-mode in obj-c-mode
* .dir-locals.el (obj-c-mode): Enable indent-tabs-mode.
john muhl [Thu, 26 Dec 2024 00:03:50 +0000 (18:03 -0600)]
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 indention for pre-0.0.19 grammars that
used a different structure for comment start/end markers.
(Bug#75107)
Corwin Brust [Wed, 25 Dec 2024 05:55:21 +0000 (23:55 -0600)]
* admin/nt/dist-build/build-dep-zips.py: (deps src) handle zst
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 dependancies (including 2nd
etc. order dependancies) 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. Additionaly several DLLs are added to list of
required, including sqllite3 and tree-sitter.
In general this is a maintaince 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' dependancies (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 dependancies to
include as a way to resolve this issue (missing/incorrect deps are
frequent source of broken binary releases). (bug#65206)
Eli Zaretskii [Tue, 24 Dec 2024 19:25:02 +0000 (21:25 +0200)]
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'.
Corwin Brust [Sun, 4 Feb 2024 02:54:29 +0000 (20:54 -0600)]
; etc/w32-feature.el (harfbuzz): improve test
This enable the tests to be used with batch (Bug#68919), e.g.
emacs.exe -l etc/w32-feature.el --batch -eval \
'(ert-run-tests-batch-and-exit)'
Corwin Brust [Mon, 23 Dec 2024 05:08:08 +0000 (23:08 -0600)]
* 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.
Eli Zaretskii [Sun, 22 Dec 2024 12:02:25 +0000 (14:02 +0200)]
; * etc/tutorials/TUTORIAL.ko: Fix the beginning.
Eli Zaretskii [Sun, 22 Dec 2024 11:50:41 +0000 (13:50 +0200)]
; * etc/publicsuffix.txt: Update from upstream.
Eli Zaretskii [Sun, 22 Dec 2024 11:43:07 +0000 (13:43 +0200)]
; Fix refcards
* etc/refcards/sk-survival.tex (section{Značky (tags)}):
* etc/refcards/sk-refcard.tex (section{Tagy}):
* etc/refcards/ru-refcard.tex (section{Теги}):
* etc/refcards/pt-br-refcard.tex (section{Tags}):
* etc/refcards/pl-refcard.tex (section{Tags}):
* etc/refcards/fr-survival.tex (section{Marqueurs}):
* etc/refcards/fr-refcard.tex (section{Tags}):
* etc/refcards/de-refcard.tex (section{Tags}):
* etc/refcards/cs-survival.tex (section{Značky (tags)}):
* etc/refcards/cs-refcard.tex (section{Tagy}):
* etc/refcards/survival.tex (section{Tags}):
* etc/refcards/refcard.tex (section{Tags}): Fix 'M-,' and 'M-*'.
Eli Zaretskii [Sun, 22 Dec 2024 10:55:46 +0000 (12:55 +0200)]
; Update acknowledgments for Emacs 30
* admin/release-process: Suggest a command to compare source
trees.
* doc/emacs/emacs.texi (Acknowledgments):
* doc/emacs/ack.texi (Acknowledgments): Add authors of new stuff
in Emacs 30.
Eli Zaretskii [Sun, 22 Dec 2024 10:11:46 +0000 (12:11 +0200)]
; Fix node name in emacs-lisp-intro.texi
* doc/lispintro/emacs-lisp-intro.texi
(Lexical vs Dynamic Binding Example): Renamed from "... vs. ...",
to avoid using period in node names.
Eli Zaretskii [Sun, 22 Dec 2024 10:06:38 +0000 (12:06 +0200)]
; Update version tags of defcustoms
* admin/release-process: Expand on 'cusver-check'.
* lisp/editorconfig.el (editorconfig-indentation-alist)
(editorconfig-trim-whitespaces-mode):
* lisp/eshell/em-cmpl.el (eshell-cmpl-remote-file-ignore):
* lisp/eshell/esh-ext.el (eshell-explicit-remote-commands):
* lisp/gnus/nnfeed.el (nnfeed-date-format):
* lisp/net/newst-ticker.el (newsticker-ticker-period):
* lisp/progmodes/cc-vars.el (c-warn-ids-with-dollar):
* lisp/progmodes/cperl-mode.el (cperl-fontify-trailer):
* lisp/progmodes/eglot.el (customize-package-emacs-version-alist)
(eglot-events-buffer-config, eglot-confirm-server-edits)
(eglot-prefer-plaintext):
* lisp/progmodes/flymake.el (customize-package-emacs-version-alist):
* lisp/progmodes/ruby-mode.el (ruby-rubocop-use-bundler):
* lisp/progmodes/verilog-mode.el
(verilog-indent-ignore-multiline-defines)
(verilog-indent-ignore-regexp, verilog-indent-class-inside-pkg)
(verilog-align-decl-expr-comments)
(verilog-align-comment-distance, verilog-align-assign-expr)
(verilog-align-typedef-regexp, verilog-align-typedef-words)
(verilog-fontify-variables):
* lisp/register.el (register-preview-display-buffer-alist):
* lisp/vc/vc-annotate.el (vc-annotate-use-short-revision): Add
missing :version tags and additions to
'customize-package-emacs-version-alist' as appropriate.
Eli Zaretskii [Sun, 22 Dec 2024 08:43:57 +0000 (10:43 +0200)]
;* doc/misc/efaq.texi (New in Emacs 30): Mention 'trusted-contents'.
Michael Albinus [Sun, 22 Dec 2024 08:31:06 +0000 (09:31 +0100)]
; * etc/NEWS: Fix wording.
Michael Albinus [Sun, 22 Dec 2024 08:30:47 +0000 (09:30 +0100)]
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)
Eli Zaretskii [Sat, 21 Dec 2024 12:12:14 +0000 (14:12 +0200)]
; Fix call to 'decode_string_utf_8' in #ifdef'ed-away code
* src/coding.c (Finternal_decode_string_utf_8): Fix calling
sequence of 'decode_string_utf_8' to adapt to changes in the
latter's signature.
Eli Zaretskii [Sat, 21 Dec 2024 11:00:05 +0000 (13:00 +0200)]
; Improve commentary in calendar.el
* lisp/calendar/calendar.el: Expand the commentary. Suggested by
Richard Lawrence <rwl@recursewithless.net>. (Bug#74965)
john muhl [Wed, 18 Dec 2024 16:59:19 +0000 (10:59 -0600)]
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)
Richard Lawrence [Mon, 16 Dec 2024 19:46:34 +0000 (20:46 +0100)]
Document representation of dates in calendar.el
* lisp/calendar/calendar.el: Add a comment in file header
explaining how dates are represented.
Eli Zaretskii [Fri, 20 Dec 2024 20:06:06 +0000 (22:06 +0200)]
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)
Andrea Corallo [Thu, 19 Dec 2024 21:27:07 +0000 (22:27 +0100)]
* Update 'ldefs-boot.el' (don't merge)
* lisp/ldefs-boot.el: Update.
Andrea Corallo [Wed, 18 Dec 2024 23:48:19 +0000 (00:48 +0100)]
* 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.
Andrea Corallo [Wed, 18 Dec 2024 23:43:27 +0000 (00:43 +0100)]
; * ChangeLog.4: Update.
Andrea Corallo [Wed, 18 Dec 2024 23:42:28 +0000 (00:42 +0100)]
; * etc/AUTHORS: Update.
Andrea Corallo [Wed, 18 Dec 2024 23:16:20 +0000 (00:16 +0100)]
* Update authors.el
* admin/authors.el (authors-aliases, authors-valid-file-names)
(authors-renamed-files-alist): Add entry.
Eli Zaretskii [Wed, 18 Dec 2024 18:37:37 +0000 (20:37 +0200)]
; * etc/NEWS: Mark unmarked entries.
Eli Zaretskii [Wed, 18 Dec 2024 17:57:13 +0000 (19:57 +0200)]
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".
Robert Pluim [Wed, 18 Dec 2024 15:00:55 +0000 (16:00 +0100)]
Mention network-interface-list in network-interface-info docstring
* src/process.c (Fnetwork_interface_info): Reference
'network-interface-list'.
Eli Zaretskii [Wed, 18 Dec 2024 14:22:21 +0000 (16:22 +0200)]
; * lisp/emacs-lisp/re-builder.el (reb-change-syntax): Fix typo.
Stefan Kangas [Tue, 17 Dec 2024 03:46:36 +0000 (04:46 +0100)]
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.
Stefan Kangas [Tue, 17 Dec 2024 03:38:18 +0000 (04:38 +0100)]
Improve browse-url-android-share docstring
* lisp/net/browse-url.el (browse-url-android-share): Clarify that
the option only applies to Android systems.
Stefan Kangas [Tue, 17 Dec 2024 02:10:42 +0000 (03:10 +0100)]
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.
Stefan Kangas [Mon, 16 Dec 2024 21:17:36 +0000 (22:17 +0100)]
Improve reb-change-syntax docstring
* lisp/emacs-lisp/re-builder.el (reb-change-syntax): Improve docstring.
Stefan Monnier [Mon, 16 Dec 2024 14:27:01 +0000 (09:27 -0500)]
* lisp/files.el (trusted-content-p): Make `:all` work in non-file buffers
Robert Pluim [Mon, 16 Dec 2024 12:35:28 +0000 (13:35 +0100)]
; * src/process.c (Fnetwork_interface_list): Fix typo.
Robert Pluim [Mon, 16 Dec 2024 12:25:24 +0000 (13:25 +0100)]
; * lisp/net/nsm.el (nsm-trust-local-network): Fix typo.
Yuan Fu [Mon, 16 Dec 2024 05:40:49 +0000 (21:40 -0800)]
; Add some tree-sitter thing content to the manual
* doc/lispref/parsing.texi (User-defined Things): List "builtin"
things.
Stefan Monnier [Sun, 15 Dec 2024 22:08:25 +0000 (17:08 -0500)]
* lisp/org/ox-texinfo.el (org-texinfo-template): Fix Info format (bug#74844)
Stefan Monnier [Sun, 15 Dec 2024 22:05:55 +0000 (17:05 -0500)]
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.
Michael Albinus [Sun, 15 Dec 2024 08:24:40 +0000 (09:24 +0100)]
; * etc/NEWS: Fix typos.
Eli Zaretskii [Sun, 15 Dec 2024 07:45:58 +0000 (09:45 +0200)]
; * doc/lispref/frames.texi (Multiple Terminals): Add indexing.
Paul Eggert [Sun, 15 Dec 2024 07:16:10 +0000 (00:16 -0700)]
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.
Eli Zaretskii [Sun, 15 Dec 2024 05:52:40 +0000 (07:52 +0200)]
Update documentation of 'etags' regexps
* doc/emacs/maintaining.texi (Etags Regexps):
* doc/man/etags.1: Say that shy groups are not supported (bug#74861).
Stefan Monnier [Tue, 10 Dec 2024 21:26:31 +0000 (16:26 -0500)]
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`.
Eli Zaretskii [Sat, 14 Dec 2024 09:57:04 +0000 (11:57 +0200)]
; * etc/PROBLEMS: Document problem with menu-bar background (bug#74028).
Stephen Gildea [Fri, 13 Dec 2024 16:53:54 +0000 (08:53 -0800)]
* lisp/time-stamp.el: Limit field width to two digits.
Eli Zaretskii [Fri, 13 Dec 2024 12:11:13 +0000 (14:11 +0200)]
; * lisp/progmodes/executable.el: Remove stale comment (bug#74846).
Eli Zaretskii [Thu, 12 Dec 2024 16:03:19 +0000 (18:03 +0200)]
; * etc/TODO: Add an item for improving defgroups.
Scott Bell [Tue, 10 Dec 2024 19:02:54 +0000 (12:02 -0700)]
; * lisp/net/rcirc.el (rcirc-next-active-buffer): Doc fix (bug#74773).
Stefan Kangas [Wed, 11 Dec 2024 21:40:22 +0000 (22:40 +0100)]
; Fix :version tag in browse-url
* lisp/net/browse-url.el (browse-url-button-regexp): Fix :version tag.
Philip Kaludercic [Tue, 10 Dec 2024 21:12:34 +0000 (22:12 +0100)]
Revert "Attempt to install package first when upgrading"
This reverts commit
3d8e49c41a66a7f05cb96f84e2a10f0f308ac9ca.
Robert Pluim [Tue, 10 Dec 2024 13:56:21 +0000 (14:56 +0100)]
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)
Chu [Tue, 10 Dec 2024 03:10:34 +0000 (11:10 +0800)]
Fix typo in maps.texi
* doc/lispref/maps.texi (Standard Keymaps): Fix typo. (Bug#74761)
Copyright-paperwork-exempt: yes
Eli Zaretskii [Mon, 9 Dec 2024 18:23:40 +0000 (20:23 +0200)]
; * etc/DEBUG: Mention "handle SIGINT" on MS-Windows.
Michael Albinus [Mon, 9 Dec 2024 14:50:59 +0000 (15:50 +0100)]
* doc/misc/tramp.texi (FUSE-based methods): Fix sshfs reference.
Stefan Kangas [Sun, 8 Dec 2024 13:51:50 +0000 (14:51 +0100)]
Improve gnus.texi indexing
* doc/misc/gnus.texi (Common Variables): Improve indexing.
Eli Zaretskii [Sun, 8 Dec 2024 05:58:41 +0000 (07:58 +0200)]
; * lisp/net/eww.el (eww-browse-with-external-browser): Fix typo.
Eli Zaretskii [Sun, 8 Dec 2024 05:47:07 +0000 (07:47 +0200)]
; Improve doc strings in compile.el
* lisp/progmodes/compile.el (compilation-transform-file-match-alist)
(compilation-error-regexp-alist): Doc fixes.
Philip Kaludercic [Sat, 7 Dec 2024 19:02:00 +0000 (20:02 +0100)]
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)
john muhl [Mon, 2 Dec 2024 15:20:01 +0000 (09:20 -0600)]
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)
Vincenzo Pupillo [Wed, 4 Dec 2024 14:06:54 +0000 (15:06 +0100)]
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)
Robert Pluim [Thu, 5 Dec 2024 10:19:41 +0000 (11:19 +0100)]
; * lisp/help-at-pt.el (display-local-help): Fix last change.
Eli Zaretskii [Wed, 4 Dec 2024 17:51:31 +0000 (19:51 +0200)]
; * lisp/help-at-pt.el (display-local-help): Doc fix.
Eli Zaretskii [Wed, 4 Dec 2024 16:21:19 +0000 (18:21 +0200)]
; * doc/emacs/building.texi (Compilation Mode): Fix last change.
Robert Pluim [Wed, 4 Dec 2024 16:00:16 +0000 (17:00 +0100)]
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'.
Robert Pluim [Tue, 3 Dec 2024 14:20:04 +0000 (15:20 +0100)]
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.
Robert Pluim [Mon, 2 Dec 2024 18:27:48 +0000 (19:27 +0100)]
Improve 'compilation-hidden-output' docstring
* lisp/progmodes/compile.el (compilation-hidden-output): Escape
the newline so the example value is more suitable for copying.
Eli Zaretskii [Wed, 4 Dec 2024 13:21:13 +0000 (15:21 +0200)]
; Improve documentation of 'epa-mail-verify'
* doc/misc/epa.texi (Mail-mode integration):
* lisp/epa-mail.el (epa-mail-verify): Improve documentation of
'epa-mail-verify'. (Bug#74630)
Robert Pluim [Tue, 3 Dec 2024 14:41:48 +0000 (15:41 +0100)]
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)
Stephen Berman [Tue, 3 Dec 2024 09:38:26 +0000 (10:38 +0100)]
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.
Michael Albinus [Mon, 2 Dec 2024 18:21:54 +0000 (19:21 +0100)]
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)
Manuel Giraud [Mon, 2 Dec 2024 14:11:52 +0000 (15:11 +0100)]
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)
Eli Zaretskii [Mon, 2 Dec 2024 12:33:52 +0000 (14:33 +0200)]
; Fix grammar in Emacs user manual
* doc/emacs/trouble.texi (Sending Patches): Fix wording. Reported
by Daniel Martín <mardani29@yahoo.es>. (Bug#74638)
Stephen Berman [Mon, 2 Dec 2024 12:13:39 +0000 (13:13 +0100)]
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.
Yuan Fu [Sun, 1 Dec 2024 19:22:48 +0000 (11:22 -0800)]
; Update tree-sitter manual
* doc/lispref/parsing.texi (User-defined Things): Add manual
entry for treesit-node-match-p, treesit-thing-defined-p,
treesit-thing-definition. Change wording for some functions.
Yuan Fu [Sat, 30 Nov 2024 00:33:28 +0000 (16:33 -0800)]
Allow passing nil to treesit-node-match-p (bug#74612)
* src/treesit.c (Ftreesit_node_match_p): Return nil if NODE is nil.