Eli Zaretskii [Thu, 23 Jan 2025 10:29:04 +0000 (12:29 +0200)]
; Minor improvements for doc strings in map.el
* lisp/emacs-lisp/map.el (map-let, map-put, map-apply)
(map-values-apply, map-some, map-every-p, map--merge)
(map-merge-with, map-put!): Doc fixes.
Stefan Kangas [Thu, 23 Jan 2025 02:13:01 +0000 (03:13 +0100)]
; Fix typos
Eli Zaretskii [Tue, 21 Jan 2025 19:25:15 +0000 (21:25 +0200)]
; * src/w32.c (w32_memory_info): Fix coding style of last change.
Arthur Miller [Tue, 21 Jan 2025 18:10:14 +0000 (19:10 +0100)]
Fix bug in w32_memory_info
* src/w32.c (w32_memory_info): Initialize struct size.
Eli Zaretskii [Tue, 21 Jan 2025 12:24:57 +0000 (14:24 +0200)]
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)
Robert Pluim [Fri, 17 Jan 2025 08:44:32 +0000 (09:44 +0100)]
Improve 'key-valid-p' docstring
* lisp/keymap.el (key-valid-p): Add "RET", "<return>", and "C-m"
examples.
(Bug#75586)
Stefan Kangas [Sun, 19 Jan 2025 13:28:30 +0000 (14:28 +0100)]
Minor copyedits in internals.texi
* doc/lispref/internals.texi (Writing Emacs Primitives): Minor
copyedits.
Stefan Kangas [Sun, 19 Jan 2025 12:57:23 +0000 (13:57 +0100)]
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.
Eli Zaretskii [Sat, 18 Jan 2025 13:07:52 +0000 (15:07 +0200)]
; Fix documentation about faces of tool-tip text
* lisp/tooltip.el (tooltip):
* src/frame.c (syms_of_frame) <use-system-tooltips>: Doc fixes.
Eli Zaretskii [Sat, 18 Jan 2025 10:56:48 +0000 (12:56 +0200)]
; * lisp/net/eww.el (eww-download): Doc fix (bug#75585)
Stefan Kangas [Fri, 17 Jan 2025 16:22:45 +0000 (17:22 +0100)]
; * etc/NEWS: Tweak wording of NSM items.
Harald Jörg [Tue, 14 Jan 2025 11:17:47 +0000 (12:17 +0100)]
; cperl-mode-tests.el: Don't run the newest test in perl-mode
* test/lisp/progmodes/cperl-mode-tests.el (cperl-test-bug-74245): Skip
if not in cperl-mode
Robert Pluim [Tue, 14 Jan 2025 09:25:18 +0000 (10:25 +0100)]
Add smtpmail cross-reference to 'auth-sources'.
* doc/misc/smtpmail.texi (Authentication): Add cross-reference
to 'auth-sources'.
Peter Oliver [Thu, 7 Nov 2024 19:22:21 +0000 (19:22 +0000)]
; cperl-mode.el: Add a test for Bug#74245
* test/lisp/progmodes/cperl-mode-resources/cperl-bug-74245.pl: New test data.
* test/lisp/progmodes/cperl-mode-tests.el (cperl-test-bug-74245): Verify
that a bare \"$\" can appear at the end of a subroutine signature.
Eli Zaretskii [Mon, 13 Jan 2025 12:00:10 +0000 (14:00 +0200)]
Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/emacs into emacs-30
Harald Jörg [Mon, 13 Jan 2025 11:24:40 +0000 (12:24 +0100)]
; cperl-mode.el: Allow bare $ in a signature (Bug#74245)
* lisp/progmodes/cperl-mode.el (cperl--signature-rx): Allow bare
sigils for unused parameters in signatures.
(cperl-find-pods-heres): Avoid $) at the end of a signature being
treated as the punctuation variable $) by treating this dollar as
punctuation
* test/lisp/progmodes/cperl-mode-tests.el
(cperl-test-signature-rx): Add ($first,$) as a valid signature,
remove ($) from the list of invalid signatures.
Mauro Aranda [Sun, 12 Jan 2025 18:19:40 +0000 (15:19 -0300)]
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)
Mauro Aranda [Wed, 1 Jan 2025 11:22:45 +0000 (08:22 -0300)]
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)
Eli Zaretskii [Sat, 11 Jan 2025 10:58:03 +0000 (12:58 +0200)]
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)
Eli Zaretskii [Sat, 11 Jan 2025 10:40:59 +0000 (12:40 +0200)]
; Fix documentation of completion commands
* src/minibuf.c (Fcompleting_read): Move part of doc string of
'read-from-minibuffer' to doc string of this function. Suggested
by Eshel Yaron <me@eshelyaron.com>.
Stefan Kangas [Sat, 11 Jan 2025 06:09:23 +0000 (07:09 +0100)]
; Simplify admin/run-codespell
* admin/run-codespell (emacs_run_codespell): Simplify. Use env in
shebang to use more recent bash on macOS.
Stefan Kangas [Sat, 11 Jan 2025 04:18:51 +0000 (05:18 +0100)]
; Remove duplicated word in files.el Commentary
Stefan Kangas [Sat, 11 Jan 2025 04:05:14 +0000 (05:05 +0100)]
Improve checkdoc-common-verbs-wrong-voice docstring
* lisp/emacs-lisp/checkdoc.el (checkdoc-common-verbs-wrong-voice):
Improve docstring.
Stefan Kangas [Sat, 11 Jan 2025 01:28:15 +0000 (02:28 +0100)]
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.
Randy Taylor [Sun, 5 Jan 2025 21:48:00 +0000 (16:48 -0500)]
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.
Kohei Tsuruta [Tue, 7 Jan 2025 15:36:14 +0000 (07:36 -0800)]
Add "text" as a thing in tsx-ts-mode
* lisp/progmodes/typescript-ts-mode.el (tsx-ts-mode):
Add definition of "text" (bug#75422).
Copyright-paperwork-exempt: yes
Nikolaos Chatzikonstantinou [Sun, 5 Jan 2025 13:16:06 +0000 (08:16 -0500)]
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)
Stefan Kangas [Thu, 9 Jan 2025 02:08:29 +0000 (03:08 +0100)]
; * admin/MAINTAINERS: Remove Kelvin White.
Stefan Kangas [Wed, 8 Jan 2025 03:50:53 +0000 (04:50 +0100)]
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.
Ellis Kenyo [Tue, 7 Jan 2025 15:43:58 +0000 (15:43 +0000)]
Add language server for Odin
* lisp/progmodes/eglot.el (eglot-server-programs): Add language server
for the Odin programming language. (Bug#75421)
Copyright-paperwork-exempt: yes
Eli Zaretskii [Tue, 7 Jan 2025 15:20:22 +0000 (17:20 +0200)]
; Improve documentation of function-type display
* etc/NEWS: Document 'help-display-function-type'.
* doc/lispref/functions.texi (Declare Form):
* doc/lispref/objects.texi (Type Specifiers):
* doc/emacs/help.texi (Name Help): Better indexing of function
types. (Bug#65288)
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).