emacs.git
10 months agoEglot: mention ocaml-ts-mode in eglot-server-programs
João Távora [Tue, 11 Feb 2025 13:00:33 +0000 (13:00 +0000)]
Eglot: mention ocaml-ts-mode in eglot-server-programs

* lisp/progmodes/eglot.el (eglot-server-programs): Mention
ocaml-ts-mode.

(cherry picked from commit 96dc5deddc2b60210feb10e3a68b74ecd2480b34)

10 months ago; Don't document a complicated default
Stefan Kangas [Tue, 11 Feb 2025 08:12:07 +0000 (09:12 +0100)]
; Don't document a complicated default

* doc/misc/message.texi (Superseding): Don't document the default value
of 'message-ignored-supersedes-headers' here; the list was out-of-date,
and is likely to become out-of-date again in the future if updated.
It's also easy enough to look up for users outside of Info.

10 months agoFix minibuffer-next-completion in completing-read-multiple
Dmitry Gutov [Tue, 11 Feb 2025 15:47:21 +0000 (17:47 +0200)]
Fix minibuffer-next-completion in completing-read-multiple

* lisp/emacs-lisp/crm.el (completing-read-multiple):
Adapt to the previous removal of completion-base-affixes
(bug#48356, bug#48356).

10 months ago; Document 'completing-read-multiple' in the ELisp manual
Eli Zaretskii [Tue, 11 Feb 2025 14:42:19 +0000 (16:42 +0200)]
; Document 'completing-read-multiple' in the ELisp manual

* doc/lispref/minibuf.texi (Minibuffer Completion): Mention
'completing-read-multiple' (bug#76194).

10 months ago; * lisp/gnus/nnweb.el (nnweb-type): Doc fix.
Stefan Kangas [Tue, 11 Feb 2025 06:50:05 +0000 (07:50 +0100)]
; * lisp/gnus/nnweb.el (nnweb-type): Doc fix.

10 months agolisp/help.el (help-function-arglist): Fix out-of-bounds access (bug#76179)
Stefan Monnier [Mon, 10 Feb 2025 20:35:20 +0000 (15:35 -0500)]
lisp/help.el (help-function-arglist): Fix out-of-bounds access (bug#76179)

10 months ago; * .mailmap: Add a few more entries.
Stefan Kangas [Mon, 10 Feb 2025 00:31:30 +0000 (01:31 +0100)]
; * .mailmap: Add a few more entries.

10 months ago; * .mailmap: Add Felicián Németh.
Stefan Kangas [Sun, 9 Feb 2025 15:26:48 +0000 (16:26 +0100)]
; * .mailmap: Add Felicián Németh.

10 months ago; * etc/PROBLEMS: Fix last change (bug#74220).
Eli Zaretskii [Sun, 9 Feb 2025 07:17:31 +0000 (09:17 +0200)]
; * etc/PROBLEMS: Fix last change (bug#74220).

10 months ago; * etc/PROBLEMS: Document problem with GPM mouse display (bug#74220).
Jared Finder [Sun, 9 Feb 2025 03:08:05 +0000 (19:08 -0800)]
; * etc/PROBLEMS: Document problem with GPM mouse display (bug#74220).

10 months agoFix program execution on Android 15 QPR2 Beta
Po Lu [Sun, 9 Feb 2025 04:06:52 +0000 (12:06 +0800)]
Fix program execution on Android 15 QPR2 Beta

* exec/trace.c (process_vm_readv, process_vm_writev): New
function pointers.  Attempt to load them on recent Android
systems when `exec' was not linked with a sufficiently
up-to-date libc.
(read_memory, user_copy): Always use process_vm_readv and
process_vm_writev if available.
(handle_openat): Write trailing NULL byte of filename to user
buffer.
(exec_init): Attempt to dlsym process_vm_readv and
process_vm_writev.

10 months ago; * admin/authors.el (authors-aliases): Add aliases.
Eli Zaretskii [Sat, 8 Feb 2025 12:06:00 +0000 (14:06 +0200)]
; * admin/authors.el (authors-aliases): Add aliases.

10 months ago; Avoid passive tense in Emacs manual
Eli Zaretskii [Sat, 8 Feb 2025 11:47:11 +0000 (13:47 +0200)]
; Avoid passive tense in Emacs manual

* doc/lispref/variables.texi (Defining Variables): Avoid passive
tense (bug#76135).

10 months agoFix gnus-score-find-score-files-function :type
Mauro Aranda [Fri, 7 Feb 2025 10:31:34 +0000 (07:31 -0300)]
Fix gnus-score-find-score-files-function :type

* lisp/gnus/gnus-score.el (gnus-score-find-score-files-function): Delete
extra quotes.  (Bug#76118)

10 months agoImprove documentation of 'file-name-concat'
Eli Zaretskii [Thu, 6 Feb 2025 08:42:04 +0000 (10:42 +0200)]
Improve documentation of 'file-name-concat'

* doc/lispref/files.texi (Directory Names):
* src/fileio.c (Ffile_name_concat): Advise not to use
'file-name-concat' unless necessary.  (Bug#76023)

10 months ago* src/fileio.c (Fsubstitute_in_file_name): Doc fix (bug#76023).
Eli Zaretskii [Tue, 4 Feb 2025 14:06:36 +0000 (16:06 +0200)]
* src/fileio.c (Fsubstitute_in_file_name): Doc fix (bug#76023).

10 months ago; Update link to picons database
Stefan Kangas [Mon, 3 Feb 2025 22:51:15 +0000 (23:51 +0100)]
; Update link to picons database

* lisp/gnus/gnus-art.el (gnus-picon-databases): Fix broken link.

10 months ago* lisp/emacs-lisp/track-changes.el (track-changes-fetch): Fix bug#75906
Stefan Monnier [Mon, 3 Feb 2025 20:50:36 +0000 (15:50 -0500)]
* lisp/emacs-lisp/track-changes.el (track-changes-fetch): Fix bug#75906

10 months ago; Don't use HTTPS in HTTP-specific example
Stefan Kangas [Mon, 3 Feb 2025 11:37:06 +0000 (12:37 +0100)]
; Don't use HTTPS in HTTP-specific example

* doc/misc/org.org (External Links): Change HTTP example to use HTTP.
Changing it to HTTPS has been done before, but it's a mistake.  To avoid
making this mistake again, change the URL to orgmode.org to make it more
similar to the example on the next line, thereby contrasting the two.

10 months agoBetter NaN handling in proced-tests.el
Michael Albinus [Mon, 3 Feb 2025 11:51:48 +0000 (12:51 +0100)]
Better NaN handling in proced-tests.el

* test/lisp/proced-tests.el (proced--cpu-at-point): Make it more robust.
(proced--assert-process-valid-cpu-refinement):
Handle `ert-test-skipped' signal.

10 months agoFix padding when using which-key-setup-side-window-right
Robert Pluim [Sun, 2 Feb 2025 12:33:37 +0000 (13:33 +0100)]
Fix padding when using which-key-setup-side-window-right

* lisp/which-key.el (which-key--pad-column): Insert zero padding
spaces when the description string is longer than the column
width.  (Bug#75765)

10 months agoImprove documentation of 'display-monitor-attributes-
Eli Zaretskii [Sun, 2 Feb 2025 13:58:18 +0000 (15:58 +0200)]
Improve documentation of 'display-monitor-attributes-

* doc/lispref/frames.texi (Multiple Terminals):
* lisp/frame.el (display-monitor-attributes-list): Better
documentation of what the 'source' key means on X.  (Bug#75936)

10 months ago; * etc/NEWS: Fix wording.
Michael Albinus [Sat, 1 Feb 2025 11:24:27 +0000 (12:24 +0100)]
; * etc/NEWS: Fix wording.

10 months agoRemove bookmark fringe marks when deleting all bookmarks
Eli Zaretskii [Sat, 1 Feb 2025 09:33:34 +0000 (11:33 +0200)]
Remove bookmark fringe marks when deleting all bookmarks

* lisp/bookmark.el (bookmark-delete-all): Remove fringe marks for
all the bookmarks.  (Bug#75953)

10 months agoImprove wording in symbols.texi
Stefan Kangas [Sat, 1 Feb 2025 03:08:43 +0000 (04:08 +0100)]
Improve wording in symbols.texi

* doc/lispref/symbols.texi (Symbol Components): Improve wording
(Bug#75512).   Reported by Matt Trzcinski <matt@excalamus.com>.

10 months agoFix typo in Gnus manual
Manuel Giraud [Fri, 31 Jan 2025 18:25:03 +0000 (19:25 +0100)]
Fix typo in Gnus manual

* doc/misc/gnus.texi (Comparing Mail Back Ends): Fix a missing
verb.  (Bug#75974)

10 months agoeglot: Allow omnisharp binary to be capitalized "OmniSharp"
Damien Cassou [Thu, 30 Jan 2025 20:44:31 +0000 (21:44 +0100)]
eglot: Allow omnisharp binary to be capitalized "OmniSharp"

Some distributors (e.g. nixpkgs) provide a binary "OmniSharp" instead of
"omnisharp", which breaks on case-sensitive file-systems.

* lisp/progmodes/eglot.el (eglot-server-programs): Add "OmniSharp" as a
valid binary name to search for.  (Bug#75954)

10 months agoDo not set `trusted-content` in major modes
Stefan Kangas [Sun, 26 Jan 2025 13:53:49 +0000 (14:53 +0100)]
Do not set `trusted-content` in major modes

* lisp/progmodes/elisp-mode.el (lisp-interaction-mode):
* lisp/ielm.el (inferior-emacs-lisp-mode): Do not set `trusted-content.
* lisp/ielm.el (ielm):
* lisp/simple.el (get-scratch-buffer-create): Set `trusted-content` here
instead.
* lisp/files.el (trusted-content): Doc fix; warn against setting this
option to :all in a major or mode mode.
Problem reported by Max Nikulin <manikulin@gmail.com>.

10 months ago; * lisp/subr.el (sit-for): Doc fix.
Eli Zaretskii [Thu, 30 Jan 2025 09:37:40 +0000 (11:37 +0200)]
; * lisp/subr.el (sit-for): Doc fix.

10 months ago* src/puresize.h (BASE_PURESIZE): Increase (bug#75907).
Eli Zaretskii [Thu, 30 Jan 2025 06:38:05 +0000 (08:38 +0200)]
* src/puresize.h (BASE_PURESIZE): Increase (bug#75907).

10 months ago; Fix Cygw32 build (bug#75926)
Eli Zaretskii [Wed, 29 Jan 2025 15:55:58 +0000 (17:55 +0200)]
; Fix Cygw32 build (bug#75926)

(cherry picked from commit cb62a47896bb21420a709c655034e8acfcb08082)

10 months ago; * admin/MAINTAINERS: Prefer "website" to "home page".
Stefan Kangas [Tue, 28 Jan 2025 17:45:52 +0000 (18:45 +0100)]
; * admin/MAINTAINERS: Prefer "website" to "home page".

10 months ago; * admin/MAINTAINERS: Remove Bastien Guerry.
Bastien Guerry [Tue, 28 Jan 2025 13:25:22 +0000 (14:25 +0100)]
; * admin/MAINTAINERS: Remove Bastien Guerry.

(cherry picked from commit eb73dd0d45126e693645ead7a34f113217fa48bb)

10 months ago; * admin/MAINTAINERS: Add CC Mode.
Stefan Kangas [Sun, 26 Jan 2025 21:02:07 +0000 (22:02 +0100)]
; * admin/MAINTAINERS: Add CC Mode.

10 months agoUpdate cc-mode URL to point to nongnu.org
Stefan Kangas [Sun, 26 Jan 2025 20:57:34 +0000 (21:57 +0100)]
Update cc-mode URL to point to nongnu.org

* doc/misc/cc-mode.texi (Getting Started)
(Custom Filling and Breaking, Updating CC Mode)
(Mailing Lists and Bug Reports):
* lisp/progmodes/cc-mode.el: Update cc-mode URL to point to nongnu.org,
instead of old URL on SourceForge.

10 months ago; * etc/NEWS: Note CVE-2024-53920 further up also.
Stefan Kangas [Sun, 26 Jan 2025 21:58:13 +0000 (22:58 +0100)]
; * etc/NEWS: Note CVE-2024-53920 further up also.

10 months ago; * CONTRIBUTE: Suggest to run more tests sometimes.
Eli Zaretskii [Tue, 28 Jan 2025 14:57:47 +0000 (16:57 +0200)]
; * CONTRIBUTE: Suggest to run more tests sometimes.

10 months ago* CONTRIBUTE: Recommend running the unit test prior to committing.
Michael Albinus [Tue, 28 Jan 2025 09:12:09 +0000 (10:12 +0100)]
* CONTRIBUTE: Recommend running the unit test prior to committing.

10 months agoDon't signal an error in treesit-node-at
Yuan Fu [Tue, 21 Jan 2025 04:36:41 +0000 (20:36 -0800)]
Don't signal an error in treesit-node-at

* lisp/treesit.el (treesit-node-at): Wrap
treesit-buffer-root-node within condition-case.

10 months ago; Improve documentation of '.dir-locals.el'
Eli Zaretskii [Mon, 27 Jan 2025 13:19:06 +0000 (15:19 +0200)]
; Improve documentation of '.dir-locals.el'

* doc/lispref/variables.texi (Directory Local Variables):
* doc/emacs/custom.texi (Directory Variables): Document that
'.dir-locals-2.el' must be in the same directory as
'.dir-locals.el'.  (Bug#75890)

10 months ago; (let-alist): Document double-dot escape syntax. (Bug#75852)
Eshel Yaron [Sun, 26 Jan 2025 07:56:15 +0000 (08:56 +0100)]
; (let-alist): Document double-dot escape syntax. (Bug#75852)

10 months ago; Prefer HTTPS to HTTP in docs
Stefan Kangas [Sun, 26 Jan 2025 21:39:10 +0000 (22:39 +0100)]
; Prefer HTTPS to HTTP in docs

* doc/emacs/android.texi (Android Software):
* doc/lispref/frames.texi (X Selections):
* doc/misc/cc-mode.texi (Custom Filling and Breaking):
* doc/misc/efaq.texi (Basic editing):
* doc/misc/gnus.texi (Propagating marks, Spam Statistics Package):
* doc/misc/org.org (External Links, Images in HTML export)
(LaTeX Export, LaTeX math snippets): Prefer HTTPS to HTTP.  Fix or
mark some broken links while we're at it.

10 months ago; * admin/MAINTAINERS: Sort external packages alphabetically.
Stefan Kangas [Sun, 26 Jan 2025 20:52:21 +0000 (21:52 +0100)]
; * admin/MAINTAINERS: Sort external packages alphabetically.

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.