emacs.git
10 months ago; * etc/NEWS: Remove temporary documentation markers.
Stefan Kangas [Sun, 26 Jan 2025 20:37:56 +0000 (21:37 +0100)]
; * etc/NEWS: Remove temporary documentation markers.

10 months ago; * etc/NEWS: Add missing temporary documentation tags.
Stefan Kangas [Sun, 26 Jan 2025 20:36:43 +0000 (21:36 +0100)]
; * etc/NEWS: Add missing temporary documentation tags.

10 months agoDocument insert-directory-program as a user option
Stefan Kangas [Sun, 26 Jan 2025 20:36:32 +0000 (21:36 +0100)]
Document insert-directory-program as a user option

* doc/lispref/files.texi (Contents of Directories): Document
'insert-directory-program' as a user option.

10 months agodoc/lispref/modes.texi (Syntactic Font Lock): Update for commit 644c6b414f3
Stefan Monnier [Sat, 25 Jan 2025 15:48:38 +0000 (10:48 -0500)]
doc/lispref/modes.texi (Syntactic Font Lock): Update for commit 644c6b414f3

Remove outdated `nil` element, as discussed in
https://lists.gnu.org/archive/html/help-gnu-emacs/2025-01/msg00244.html

10 months agoRestore the old behavior of `bookmark-write-file'
Zhengyi Fu [Thu, 23 Jan 2025 05:35:16 +0000 (13:35 +0800)]
Restore the old behavior of `bookmark-write-file'

* lisp/bookmark.el (bookmark-write-file): Use 'pp-28' to avoid
filling the bookmarks.  (Bug#75775)

Copyright-paperwork-exempt: yes

10 months ago; Improve prompts and error messages in 'info-look'
Eli Zaretskii [Sat, 25 Jan 2025 10:10:32 +0000 (12:10 +0200)]
; Improve prompts and error messages in 'info-look'

* lisp/info-look.el (info-lookup-change-mode): Improve text of
prompt and error messages.  (Bug#75634)

10 months ago; * admin/admin.el (set-version): Note about Android.
Eli Zaretskii [Sat, 25 Jan 2025 08:38:29 +0000 (10:38 +0200)]
; * admin/admin.el (set-version): Note about Android.

10 months agoAvoid double spaces around abbrevations in Texinfo
Stefan Kangas [Fri, 24 Jan 2025 16:32:17 +0000 (17:32 +0100)]
Avoid double spaces around abbrevations 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

10 months ago; * doc/emacs/custom.texi (Init Rebinding): Fix spacing.
Robert Pluim [Fri, 24 Jan 2025 15:55:15 +0000 (16:55 +0100)]
; * doc/emacs/custom.texi (Init Rebinding): Fix spacing.

10 months ago; Fix previous change
Robert Pluim [Fri, 24 Jan 2025 14:58:47 +0000 (15:58 +0100)]
; Fix previous change

* doc/emacs/fixit.texi (Spelling): Use "personal" instead of
"private" dictionary.

10 months agoIspell: Use "personal dictionary" terminology consistently
Rudolf Adamkovič [Fri, 24 Jan 2025 09:52:14 +0000 (10:52 +0100)]
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)

10 months ago; Check man pages for mistakes less frequently
Stefan Kangas [Fri, 24 Jan 2025 00:53:21 +0000 (01:53 +0100)]
; Check man pages for mistakes less frequently

* admin/make-tarball.txt: Move checking man pages from here...
* admin/release-process: ...to here.

10 months ago; * admin/release-process: Minor copy-edits.
Stefan Kangas [Fri, 24 Jan 2025 00:40:55 +0000 (01:40 +0100)]
; * admin/release-process: Minor copy-edits.

10 months agoAdd language server "ruff server" for Python
Stefan Kangas [Thu, 23 Jan 2025 17:32:29 +0000 (18:32 +0100)]
Add language server "ruff server" for Python

* lisp/progmodes/eglot.el (eglot-server-programs): Add "ruff
server" for Python.

10 months agoFix go-ts-mode type declaration indentation (Bug#75785)
Randy Taylor [Thu, 23 Jan 2025 16:16:34 +0000 (11:16 -0500)]
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.

10 months ago; Minor improvements for doc strings in map.el
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.

10 months ago; Fix typos
Stefan Kangas [Thu, 23 Jan 2025 02:13:01 +0000 (03:13 +0100)]
; Fix typos

10 months ago; * src/w32.c (w32_memory_info): Fix coding style of last change.
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.

10 months agoFix bug in w32_memory_info
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.

10 months agoAvoid crashes in redisplay due to problematic font setups
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)

10 months agoImprove 'key-valid-p' docstring
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)

10 months agoMinor copyedits in internals.texi
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.

10 months agoBetter document side-effect free and pure C functions
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.

10 months ago; Fix documentation about faces of tool-tip text
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.

10 months ago; * lisp/net/eww.el (eww-download): Doc fix (bug#75585)
Eli Zaretskii [Sat, 18 Jan 2025 10:56:48 +0000 (12:56 +0200)]
; * lisp/net/eww.el (eww-download): Doc fix (bug#75585)

10 months ago; * etc/NEWS: Tweak wording of NSM items.
Stefan Kangas [Fri, 17 Jan 2025 16:22:45 +0000 (17:22 +0100)]
; * etc/NEWS: Tweak wording of NSM items.

11 months ago; cperl-mode-tests.el: Don't run the newest test in perl-mode
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

11 months agoAdd smtpmail cross-reference to 'auth-sources'.
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'.

11 months ago; cperl-mode.el: Add a test for Bug#74245
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.

11 months agoMerge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/emacs into emacs-30
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

11 months ago; cperl-mode.el: Allow bare $ in a signature (Bug#74245)
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.

11 months agoEmphasize the use of :tag for new customization types
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)

11 months agoFix checkbox's child creation
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)

11 months agoDocument that 'package-vc' doesn't support built-in packages
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)

11 months ago; Fix documentation of completion commands
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>.

11 months ago; Simplify admin/run-codespell
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.

11 months ago; Remove duplicated word in files.el Commentary
Stefan Kangas [Sat, 11 Jan 2025 04:18:51 +0000 (05:18 +0100)]
; Remove duplicated word in files.el Commentary

11 months agoImprove checkdoc-common-verbs-wrong-voice docstring
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.

11 months agoDocument string-as-{unibyte,multibyte} as obsolete in manual
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.

11 months agoFix go-ts-mode var spec indentation (Bug#75362)
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.

11 months agoAdd "text" as a thing in tsx-ts-mode
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

11 months agoImprove doc string of 'package-delete'
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)

11 months ago; * admin/MAINTAINERS: Remove Kelvin White.
Stefan Kangas [Thu, 9 Jan 2025 02:08:29 +0000 (03:08 +0100)]
; * admin/MAINTAINERS: Remove Kelvin White.

11 months agoClarify that 'mac' line ending convention is not used on macOS
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.

11 months agoAdd language server for Odin
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

11 months ago; Improve documentation of function-type display
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)

11 months agoModernize "Commentary" section of files.el
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)

11 months ago* INSTALL: Add advice how to invoke 'make install'. (Bug#74400)
Michael Albinus [Sun, 5 Jan 2025 08:25:37 +0000 (09:25 +0100)]
* INSTALL: Add advice how to invoke 'make install'.  (Bug#74400)

11 months agoImprove the documentation of 'key-valid-p'
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)

11 months agoUpdate doc string of 'insert'
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)

11 months agoUse `keymap*-set' over `global-set-key'/`define-key' in elisp intro
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)

11 months agoFix documentation and prompt in 'package-isolate'
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)

11 months ago; Fix typo in treesit-explore-mode
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.

11 months agoUpdate fontification for attribute values in heex-ts-mode
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)

11 months agoAdd expression handling to heex-ts-mode
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.

11 months ago; * etc/NEWS: Document change of 'make-cursor-line-fully-visible'.
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.

11 months ago* lisp/man.el (Man-mode): Improve docstring.
Stefan Kangas [Fri, 3 Jan 2025 02:36:38 +0000 (03:36 +0100)]
* lisp/man.el (Man-mode): Improve docstring.

11 months agoFix copyright years by hand
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.

11 months agoUpdate copyright year to 2025
Stefan Kangas [Thu, 2 Jan 2025 17:32:51 +0000 (18:32 +0100)]
Update copyright year to 2025

Run "TZ=UTC0 admin/update-copyright".

11 months ago[project-vc]: Make project-buffers more consistent with project-files
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).

11 months ago(elisp-flymake-byte-compile): Improve UX with `debug-on-error`
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.

11 months ago; * doc/lispref/modes.texi (Customizing Keywords): Fix typo (bug#75193).
Kohei Tsuruta [Sun, 29 Dec 2024 22:47:10 +0000 (14:47 -0800)]
; * doc/lispref/modes.texi (Customizing Keywords): Fix typo (bug#75193).

11 months ago; Add missing parameters in keymap doc
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

11 months ago; * doc/misc/calc.texi: Fix makeinfo warnings (bug#75166).
Eli Zaretskii [Sat, 28 Dec 2024 20:38:17 +0000 (22:38 +0200)]
; * doc/misc/calc.texi: Fix makeinfo warnings (bug#75166).

11 months agoAlways match underscore variables for elixir-ts-mode
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)

11 months ago; Fix inaccuracy in ELisp Reference manual
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)

11 months ago; * etc/PROBLEMS: Mention problems with XPM support in GDK (bug#75018).
Eli Zaretskii [Sat, 28 Dec 2024 11:54:45 +0000 (13:54 +0200)]
; * etc/PROBLEMS: Mention problems with XPM support in GDK (bug#75018).

11 months agoAdd missing fontification matches for elixir-ts-mode
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)

11 months ago; Fix copyright year
Stefan Kangas [Sat, 28 Dec 2024 01:24:07 +0000 (02:24 +0100)]
; Fix copyright year

11 months agoDon't start docstrings with "This function" or similar
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".

11 months agoEnable indent-tabs-mode in obj-c-mode
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.

11 months agoFix comment indent in 'lua-ts-mode' and old grammar
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)

11 months ago* admin/nt/dist-build/build-dep-zips.py: (deps src) handle zst
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)

11 months agoDocument undocumented completion commands
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'.

11 months ago; etc/w32-feature.el (harfbuzz): improve test
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)'

11 months ago* admin/nt/dist-build/emacs.nsi: (Uninstall) delete only one Emacs
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.

11 months ago; * etc/tutorials/TUTORIAL.ko: Fix the beginning.
Eli Zaretskii [Sun, 22 Dec 2024 12:02:25 +0000 (14:02 +0200)]
; * etc/tutorials/TUTORIAL.ko: Fix the beginning.

11 months ago; * etc/publicsuffix.txt: Update from upstream.
Eli Zaretskii [Sun, 22 Dec 2024 11:50:41 +0000 (13:50 +0200)]
; * etc/publicsuffix.txt: Update from upstream.

11 months ago; Fix refcards
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-*'.

11 months ago; Update acknowledgments for Emacs 30
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.

11 months ago; Fix node name in emacs-lisp-intro.texi
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.

11 months ago; Update version tags of defcustoms
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.

11 months ago;* doc/misc/efaq.texi (New in Emacs 30): Mention 'trusted-contents'.
Eli Zaretskii [Sun, 22 Dec 2024 08:43:57 +0000 (10:43 +0200)]
;* doc/misc/efaq.texi (New in Emacs 30): Mention 'trusted-contents'.

11 months ago; * etc/NEWS: Fix wording.
Michael Albinus [Sun, 22 Dec 2024 08:31:06 +0000 (09:31 +0100)]
; * etc/NEWS: Fix wording.

11 months agoImprove D-Bus and Tramp manual
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)

11 months ago; Fix call to 'decode_string_utf_8' in #ifdef'ed-away code
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.

11 months ago; Improve commentary in calendar.el
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)

11 months agoAdd 'lua-ts-mode' to 'interpreter-mode-alist'
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)

11 months agoDocument representation of dates in calendar.el
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.

11 months agoAutoload 'shortdoc-help-fns-examples-function'
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)

11 months ago* Update 'ldefs-boot.el' (don't merge)
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.

11 months ago* Bump Emacs version to 30.0.93
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.

11 months ago; * ChangeLog.4: Update.
Andrea Corallo [Wed, 18 Dec 2024 23:43:27 +0000 (00:43 +0100)]
; * ChangeLog.4: Update.

11 months ago; * etc/AUTHORS: Update.
Andrea Corallo [Wed, 18 Dec 2024 23:42:28 +0000 (00:42 +0100)]
; * etc/AUTHORS: Update.

11 months ago* Update authors.el
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.

11 months ago; * etc/NEWS: Mark unmarked entries.
Eli Zaretskii [Wed, 18 Dec 2024 18:37:37 +0000 (20:37 +0200)]
; * etc/NEWS: Mark unmarked entries.

11 months agoDocument 'trusted-content
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".

11 months agoMention network-interface-list in network-interface-info docstring
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'.

11 months ago; * lisp/emacs-lisp/re-builder.el (reb-change-syntax): Fix typo.
Eli Zaretskii [Wed, 18 Dec 2024 14:22:21 +0000 (16:22 +0200)]
; * lisp/emacs-lisp/re-builder.el (reb-change-syntax): Fix typo.

12 months agoMove NEWS items from unreleased 28.3 to released 29.1
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.