]> git.eshelyaron.com Git - emacs.git/log
emacs.git
8 days agoAdd optional PREDICATE argument to read-directory-name
Joseph Turner [Fri, 29 Sep 2023 03:27:47 +0000 (20:27 -0700)]
Add optional PREDICATE argument to read-directory-name

* lisp/files.el (read-directory-name): Add optional PREDICATE argument.
* doc/lispref/minibuf.texi (Reading File Names): Document above change.
(Bug#66224)

(cherry picked from commit 3f1d84d593bf864b72043ff2a598b18b5e9b05be)

8 days agoIncrease recentf-max-saved-items to 25
Stefan Kangas [Thu, 13 Feb 2025 05:23:17 +0000 (06:23 +0100)]
Increase recentf-max-saved-items to 25

* lisp/recentf.el (recentf-max-saved-items): Increase default to 25.

(cherry picked from commit 2e9413255fb8cbd0c8481ca6f863b37df3e9008d)

8 days ago; Properly quote some functions in cl-lib as such
Stefan Kangas [Thu, 13 Feb 2025 02:59:30 +0000 (03:59 +0100)]
; Properly quote some functions in cl-lib as such

(cherry picked from commit ab43d956cad94da7bf3c325821666e408af4c73d)

8 days agoproject-(remember|forget)-projects-under: Improve docstrings
Ship Mints [Thu, 13 Feb 2025 00:14:57 +0000 (02:14 +0200)]
project-(remember|forget)-projects-under: Improve docstrings

* lisp/progmodes/project.el (project-forget-projects-under)
(project-remember-projects-under): Clarify docstrings (bug#76234).

(cherry picked from commit 6077bbfc3d4a4aa042b364d31dd681e9f7ab7f30)

8 days agoChange the project-switch-project prompt to include the dir name
shipmints [Wed, 12 Feb 2025 22:29:37 +0000 (00:29 +0200)]
Change the project-switch-project prompt to include the dir name

* lisp/progmodes/project.el:
(project--switch-project-command): Add new argument DIR.
Change the prompt to "Command in `xxx': ..." (bug#76235).
(project-switch-project): Pass DIR to the above function.

(cherry picked from commit 86e17fbcbddb57b0653b7046202e54624c477836)

8 days agoConsolidate side-effect-free decls in cl-lib
Stefan Kangas [Wed, 12 Feb 2025 18:55:34 +0000 (19:55 +0100)]
Consolidate side-effect-free decls in cl-lib

* lisp/emacs-lisp/cl-macs.el: Consolidate two identical loops with
side-effect-free declarations into one.

(cherry picked from commit b93cdeb04769fde8e553a03ed4c68b442f9c43b4)

8 days agoAvoid cl-caaar etc. compatibility macros in Org
Stefan Kangas [Wed, 12 Feb 2025 17:33:59 +0000 (18:33 +0100)]
Avoid cl-caaar etc. compatibility macros in Org

* lisp/org/ob-core.el (org-babel-process-params):
* lisp/org/org-agenda.el (org-agenda-span-to-ndays):
* lisp/org/org-capture.el (org-capture-set-target-location):
* lisp/org/org.el (org-set-effort): Don't use cl-caaar, cl-caadr,
etc. compatibility macros in Org.  We don't need to use them, since Org
requires Emacs 26.1.

(cherry picked from commit a669e6a37610f78115f473176f3914cea4c20fb2)

8 days ago; * etc/symbol-releases.eld: Add caaar, caadr, etc.
Stefan Kangas [Wed, 12 Feb 2025 17:26:43 +0000 (18:26 +0100)]
; * etc/symbol-releases.eld: Add caaar, caadr, etc.

(cherry picked from commit d5f788e016131421df8bdc1c5c7e0378d5143729)

8 days agoDelete comments about obsolete cl--compiler-macro-cXXr
Stefan Kangas [Wed, 12 Feb 2025 17:11:59 +0000 (18:11 +0100)]
Delete comments about obsolete cl--compiler-macro-cXXr

* lisp/emacs-lisp/cl-macs.el:
* lisp/subr.el: Delete obsolete comments about compatibility alias
cl--compiler-macro-cXXr.

(cherry picked from commit 816b9b4a0bf7c37883b9bceb8da196bba1855608)

8 days agoDeclare caar, cadr, etc. as side-effect-free
Stefan Kangas [Wed, 12 Feb 2025 17:05:11 +0000 (18:05 +0100)]
Declare caar, cadr, etc. as side-effect-free

* lisp/subr.el (caar, cadr, cdar, cddr, caaar, caadr, cadar, caddr)
(cdaar, cdadr, cddar, cdddr, caaaar, caaadr, caadar, caaddr, cadaar)
(cadadr, caddar, cadddr, cdaaar, cdaadr, cdadar, cdaddr, cddaar)
(cddadr, cdddar, cddddr): Declare side-effect-free.
* lisp/emacs-lisp/cl-macs.el: Remove redundant declarations of
compatibility aliases for the above functions as side-effect-free.

(cherry picked from commit f478d2d1b935f609b6c390c0ef961c00b295bbd7)

8 days ago; Skip commit 31381f982dd6f17132a77bc41735a2fcf7cf5d6b
Eshel Yaron [Thu, 13 Feb 2025 11:52:12 +0000 (12:52 +0100)]
; Skip commit 31381f982dd6f17132a77bc41735a2fcf7cf5d6b

8 days agoFix treesit-outline related settings
Juri Linkov [Wed, 12 Feb 2025 18:31:22 +0000 (20:31 +0200)]
Fix treesit-outline related settings

* lisp/treesit.el (treesit-outline-level): Use level 1 by default
since treesit-outline--at-point now always returns the current node.

* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode):
Use 'bos' instead of 'bol'.  Add "singleton_class" to
'treesit-outline-predicate'.  Use new condition 'named' in
'treesit-outline-predicate' (bug#74963).

(cherry picked from commit 44c11cd4241ffc8636135bc41ac718101666d34d)

8 days ago; * lisp/treesit.el: Remove TODO for integration with thing-at-point.
Juri Linkov [Wed, 12 Feb 2025 17:41:12 +0000 (19:41 +0200)]
; * lisp/treesit.el: Remove TODO for integration with thing-at-point.

At this point, thing-at-point with all standard things
is already supported by treesit, for example:
"(thing-at-point 'defun)" by treesit-beginning-of-defun,
"(thing-at-point 'sexp)" by treesit-forward-sexp,
"(thing-at-point 'list)" by treesit-up-list,
"(thing-at-point 'sentence)" by treesit-forward-sentence,
"(thing-at-point 'comment)" by treesit-forward-comment.
https://lists.gnu.org/archive/html/emacs-devel/2025-02/msg00384.html

(cherry picked from commit b514ec87b618e4ee9a95b248eb55c5e0cc69949c)

8 days agoNew command project-find-matching-file
Dmitry Gutov [Wed, 12 Feb 2025 17:17:29 +0000 (19:17 +0200)]
New command project-find-matching-file

* lisp/progmodes/project.el (project--read-project-list):
Ensure that the directory has a trailing '/' (bug#75983).

(cherry picked from commit 82da36286265bb34baf39425a880dc11285648f2)

8 days agoFix recently introduced test failure
Stefan Kangas [Wed, 12 Feb 2025 16:40:51 +0000 (17:40 +0100)]
Fix recently introduced test failure

* test/lisp/progmodes/go-ts-mode-tests.el
(go-mod-ts-mode-test-indentation): Fix test.

(cherry picked from commit b9552ad8442ad20ed47b2d312a666585e23958fa)

8 days agoMark package-x.el as obsolete
Stefan Kangas [Wed, 12 Feb 2025 16:33:52 +0000 (17:33 +0100)]
Mark package-x.el as obsolete

* lisp/obsolete/package-x.el: Add "Obsolete-since" header.  (Bug#76194)
* doc/lispref/package.texi (Package Archives): Don't document package-x.

(cherry picked from commit 5d4927192a23bceb1403bd0170d5b4849162262d)

8 days agoMove package-x.el to lisp/obsolete
Stefan Kangas [Wed, 12 Feb 2025 16:32:33 +0000 (17:32 +0100)]
Move package-x.el to lisp/obsolete

* lisp/emacs-lisp/package-x.el: Move from here...
* lisp/obsolete/package-x.el: ...to here.  (Bug#76194)

(cherry picked from commit f7867e685659ede4fafa8691381cfe08becc6ad6)

8 days ago; Fix indentation to appease git hooks
Stefan Kangas [Wed, 12 Feb 2025 16:32:03 +0000 (17:32 +0100)]
; Fix indentation to appease git hooks

* lisp/emacs-lisp/package-x.el (package-upload-buffer-internal):
Fix indentation.

(cherry picked from commit cdf9f3ae19d9b5f82a3677f4a9b7585e956cded6)

8 days agoMake reading project--list safer
Ship Mints [Wed, 12 Feb 2025 16:02:28 +0000 (18:02 +0200)]
Make reading project--list safer

* lisp/progmodes/project.el (project--read-project-list):
Ensure that each directory has a trailing '/' (bug#75983).

(cherry picked from commit 2bb38cc46dfedfb1547746d9123d6b433ccdaca4)

9 days agoHandle negative frame position values in xterm.c (Bug#76190)
Martin Rudalics [Wed, 12 Feb 2025 09:54:28 +0000 (10:54 +0100)]
Handle negative frame position values in xterm.c  (Bug#76190)

* src/xterm.c (x_calc_absolute_position): Always handle negative
positions when XNegative or YNegative were set (Bug#76190).

(cherry picked from commit 8eef8907392942a8ececc0f989fa0bb031f4af18)

9 days agoAllow URL-FORMAT as string and function in bug-reference-setup-from-vc-alist
Tassilo Horn [Wed, 12 Feb 2025 09:33:08 +0000 (10:33 +0100)]
Allow URL-FORMAT as string and function in bug-reference-setup-from-vc-alist

That's a slight simplification resulting from bug#72735.

* lisp/progmodes/bug-reference.el (bug-reference-setup-from-vc-alist):
Rename URL-FORMAT-FN to URL-FORMAT and mention it may be string or
function.
* (bug-reference-maybe-setup-from-vc): Handle the new case where
bug-url-fmt is just a string rather than a function.

(cherry picked from commit b5404a205c1a1aa858dc430ffaa32a35c744e244)

9 days ago; Fix up last commit
Stefan Kangas [Wed, 12 Feb 2025 08:17:37 +0000 (09:17 +0100)]
; Fix up last commit

* lisp/emulation/cua-base.el (cua--copy-or-cut-handler): Extract
function from...
(cua-cut-handler, cua-copy-handler): ...here.
(cua-cut-to-global-mark, cua-copy-to-global-mark): Declare.

(cherry picked from commit 2254f7159813c345021896605be177e43c7ccb6d)

9 days agoFix 'C-x C-c' with cua-prefix-override-inhibit-delay nil
Siyuan Chen [Mon, 27 May 2024 16:29:50 +0000 (00:29 +0800)]
Fix 'C-x C-c' with cua-prefix-override-inhibit-delay nil

* lisp/emulation/cua-base.el (cua-cut-handler, cua-copy-handler): New
functions to fix cut and paste when 'cua-prefix-override-inhibit-delay'
is nil.  (Bug#71230)

Copyright-paperwork-exempt: yes
(cherry picked from commit 1fdfcad924a9dfaf5858624bb86cc34bd050a0de)

9 days agoX11 drag-and-drop corrections
Po Lu [Wed, 12 Feb 2025 07:49:12 +0000 (15:49 +0800)]
X11 drag-and-drop corrections

* lisp/x-dnd.el (x-dnd-handle-drag-n-drop-event): Take cdddr of
client-message, skipping the selection information.
(x-dnd-do-direct-save): Do not erase the local copy of a remote
file if it was not in fact copied on behalf of the recipient.
(x-dnd-handle-xds-drop): Return proper action.

* src/xterm.c (x_term_init): Remove unused variable on non-GTK
builds.

(cherry picked from commit fa4260594fd2aae1c7d3e829b3cb15e344bc25ff)

9 days agoAdd go-work-ts-mode for Go workspace files
Gabriel Santos [Thu, 21 Nov 2024 02:07:28 +0000 (23:07 -0300)]
Add go-work-ts-mode for Go workspace files

* lisp/progmodes/eglot.el (eglot-server-programs): Add go-work-ts-mode.
* lisp/progmodes/go-ts-mode.el
(Commentary): Add the repositories for the grammars.
(go-work-ts-mode--indent-rules, go-work-ts-mode--keywords)
(go-work-ts-mode--font-lock-settings): New variables.
(go-work-ts-mode--directive-matcher, go-work-ts-mode): New functions.
(go-mod-ts-mode--directive-matcher): Rename from
go-mod-ts-mode--in-directive-p.  Be more specific on the directive
location (modules).  Replace mention of nil with function.  Use member
instead of pcase to check node types.

* admin/notes/tree-sitter/build-module/batch.sh
* admin/notes/tree-sitter/build-module/build.sh: Add go-work support.

* test/lisp/progmodes/go-ts-mode-resources/font-lock-package.go:
* test/lisp/progmodes/go-ts-mode-resources/indent-mod.erts:
* test/lisp/progmodes/go-ts-mode-resources/indent-work.erts:
New files for testing indentation and font-locking for Go
module and workspace files.
* test/lisp/progmodes/go-ts-mode-tests.el: Add tests for Go module and
workspace files.  (Bug#74461)

* etc/NEWS: Announce go-work-ts-mode.

(cherry picked from commit aade1b707c6b4932ed023f387d49324c6a7123eb)

9 days agoimage-dired: Add extra keybinds for navigation
Gabriel Santos [Mon, 6 Jan 2025 19:56:31 +0000 (16:56 -0300)]
image-dired: Add extra keybinds for navigation

* lisp/image/image-dired.el (image-dired-thumbnail-mode-map):
Bind previously unused keys for alternative navigation.  (Bug#75410)

(cherry picked from commit 7aa42917288829406d12c6d5c537ef9a720326a2)

9 days agoPrint bare symbols for EMACS_GENERATE_DYNVARS
Basil L. Contovounesios [Wed, 18 Oct 2023 13:33:51 +0000 (15:33 +0200)]
Print bare symbols for EMACS_GENERATE_DYNVARS

* lisp/emacs-lisp/bytecomp.el (byte-compile--load-dynvars): Remove
redundant goto-char.
(byte-compile-file): Bind print-symbols-bare around .dynvars file
generation.  (Bug#66628)

(cherry picked from commit dcc4cec04ada100d4389393500bdc94018e180c8)

9 days agoSubstitute all emacsclient occurrences in emacsclient.desktop
Lin Jian [Mon, 29 Jan 2024 22:11:26 +0000 (06:11 +0800)]
Substitute all emacsclient occurrences in emacsclient.desktop

After commit "From .desktop files, reuse a frame or start a new
Emacs as required" on 2021-06-30, there are two emacsclient
occurrences for the Exec key of etc/emacsclient.desktop.
Before this change, only the first occurrence is substituted.

* Makefile.in (install-etc): Substitute all emacsclient
occurrences in emacsclient.desktop.  (Bug#68803)

Copyright-paperwork-exempt: yes
(cherry picked from commit a73a1e00523c55942b953b55c3baaeb335e07e45)

9 days agoRemove an unneeded sed command for emacs.service
Lin Jian [Mon, 29 Jan 2024 22:12:43 +0000 (06:12 +0800)]
Remove an unneeded sed command for emacs.service

After commit e5348f125ff03ac70713e5b227f9e51f759a587b on
2020-12-14, there is no ExecStop in etc/emacs.service.
* Makefile.in (install-etc): Remove an unneeded sed command for
etc/emacs.service.

Copyright-paperwork-exempt: yes
(cherry picked from commit 9e3359475f167ad8b18e5259a6585700ab135953)

9 days agoHighlight multiple symbols in single quotes in CL strings
Thuna [Fri, 18 Nov 2022 14:56:38 +0000 (15:56 +0100)]
Highlight multiple symbols in single quotes in CL strings

* lisp/emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): When
multiple space-delimited symbols are single quoted together (e.g "`foo
bar'"), highlight them.  (Bug#59360)

(cherry picked from commit 32700f38fdd279cb79e3b78b35cb8666f5cd08a7)

9 days ago; Add a utility script for retrieving Android port dependencies
Po Lu [Wed, 12 Feb 2025 03:14:29 +0000 (11:14 +0800)]
; Add a utility script for retrieving Android port dependencies

* admin/download-android-deps.sh: New file.

(cherry picked from commit ea3a937176fbf038a6f6f5cc7b47fb8cecdd894a)

9 days agoFix 'rcirc-buffer-process' not working on channel buffers
Thuna [Mon, 19 Dec 2022 08:33:29 +0000 (09:33 +0100)]
Fix 'rcirc-buffer-process' not working on channel buffers

* lisp/net/rcirc.el (rcirc-buffer-process): Look at BUFFER's
'rcirc-server-buffer's 'rcirc-process' instead.  Signal an error if it
has none.  (Bug#60191)

(cherry picked from commit fb90e21af1b05d8cdeac9ae62b03b76ae9c74ae0)

9 days agoFix Gnus logo color customization
Trevor Arjeski [Wed, 27 Nov 2024 07:12:07 +0000 (10:12 +0300)]
Fix Gnus logo color customization

Fix a bug where customizing `gnus-logo-color-style' from use-package's
:custom keyword did not set `gnus-logo-colors' before Gnus is launched.

This patch does the following:
- Implements a :set keyword on `gnus-logo-color-style' which will
  correctly set `gnus-logo-colors'
- Exposes `gnus-logo-colors' using `defcustom' for more fine-grained
  customization
- Uses :set-after on `gnus-logo-colors' so that it is set after
  `gnus-logo-color-style'

* lisp/gnus/gnus.el (gnus-logo-colors): Convert to defcustom.
(gnus-logo-color-style): Add :set property.  (Bug#74554)

(cherry picked from commit 77d0078a6c50c95b63ac7c3739ee325264deff34)

9 days ago; Update :version tag of x-gtk-stock-map
Stefan Kangas [Wed, 12 Feb 2025 02:34:12 +0000 (03:34 +0100)]
; Update :version tag of x-gtk-stock-map

* lisp/term/pgtk-win.el (x-gtk-stock-map):
* lisp/term/x-win.el (x-gtk-stock-map): Update :version tags.

(cherry picked from commit 481336967cc5d262cec2b4822b83752348bbd494)

9 days agoAdd icons used by 'mpc.el' to 'x-gtk-stock-map'
john muhl [Wed, 19 Jun 2024 16:47:42 +0000 (11:47 -0500)]
Add icons used by 'mpc.el' to 'x-gtk-stock-map'

* lisp/term/x-win.el (x-gtk-stock-map):
* lisp/term/pgtk-win.el (x-gtk-stock-map): Include tool-bar icons
used by 'mpc.el'.

(cherry picked from commit 0184acdd3174e95b79756433b9c8c08143737c81)

9 days agoEglot: use Eldoc in eglot-hierarchy-mode
João Távora [Tue, 11 Feb 2025 16:50:23 +0000 (16:50 +0000)]
Eglot: use Eldoc in eglot-hierarchy-mode

Use it to show details of the thing at point, like the full
signature and the locus of the definition.

* lisp/progmodes/eglot.el: Add optional arg MODE.
(eglot--hierarchy-source-major-mode): New defvar.
(eglot--hierarchy-1): Adjust.
(eglot-hierarchy-mode): Set eldoc stuff.
(eglot-hierarchy-center-on-node): Cosmetic fix.
(eglot-hierarchy-detail-eldoc-function)
(eglot-hierarchy-locus-eldoc-function): New eldoc functions.

(cherry picked from commit 3fd0b802de20dc83b5d5236b6d458df73c9d4e77)

9 days agoRemove `smtpmail-address-buffer' temporary buffer
Manuel Giraud [Mon, 15 Jul 2024 15:33:21 +0000 (17:33 +0200)]
Remove `smtpmail-address-buffer' temporary buffer

* lisp/mail/smtpmail.el (smtpmail-address-buffer): Remove variable.
(smtpmail-send-it):
(smtpmail-deduce-address-list): Replace `smtpmail-address-buffer' with a
temporary buffer.  Set `smtpmail-recipient-address-list' only in
caller.  (Bug#72128)

(cherry picked from commit e2991272f286af94f13d9d78ac609f08ad77183e)

9 days agoDelete redundant lambdas around unary functions
Stefan Kangas [Tue, 11 Feb 2025 18:04:00 +0000 (19:04 +0100)]
Delete redundant lambdas around unary functions

This is not just stylistic, but also slightly faster.  These are all
regular defuns, of course, as this won't work with macros and defsubsts.

* lisp/calc/calc-nlfit.el (math-nlfit-fit-curve)
(calc-fit-hubbert-linear-curve):
* lisp/calendar/cal-tex.el (cal-tex-latexify-list):
* lisp/calendar/todo-mode.el (todo-sort):
* lisp/cedet/semantic/ctxt.el (semantic-ctxt-end-of-symbol-default)
(semantic-ctxt-current-symbol-default):
* lisp/cedet/semantic/symref.el (semantic-symref-result-get-files):
* lisp/cedet/semantic/texi.el (semantic-texi-command-completion-list):
* lisp/descr-text.el (describe-char):
* lisp/emacs-lisp/eieio-datadebug.el
(data-debug-add-specialized-thing):
* lisp/emacs-lisp/rmc.el (read-multiple-choice--short-answers):
* lisp/eshell/em-pred.el (eshell-modifier-alist):
* lisp/gnus/gnus-cache.el (gnus-cache-articles-in-group):
* lisp/gnus/gnus-dired.el (gnus-dired-attach):
* lisp/help-mode.el (help-package-def):
* lisp/ibuf-ext.el (ibuffer-mark-modified-buffers):
* lisp/image/image-dired.el:
* lisp/international/quail.el (quail-keyseq-translate)
(quail-get-translations):
* lisp/isearch.el (isearch-pre-command-hook)
(search-within-boundaries):
* lisp/mail/supercite.el (sc-ask):
* lisp/mh-e/mh-e.el (mh-variant-set):
* lisp/net/rcirc.el (rcirc-nick-channels, rcirc-channel-nicks):
(rcirc-browse-url):
* lisp/obsolete/thumbs.el (thumbs-cleanup-thumbsdir):
* lisp/org/org-agenda.el (org-agenda-filter-completion-function):
* lisp/org/org-table.el (org-table-eval-formula):
* lisp/org/org.el (org-set-regexps-and-options):
* lisp/org/ox.el (org-export--get-inbuffer-options):
* lisp/ses.el (ses-range):
* lisp/textmodes/emacs-news-mode.el (emacs-news--buttonize):
* lisp/textmodes/ispell.el (ispell-begin-tex-skip-regexp):
* lisp/vc/vc-cvs.el (vc-cvs-stay-local-p):
* lisp/window.el (window--state-get-1):
* test/lisp/emacs-lisp/shortdoc-tests.el (shortdoc-all-groups-work):
Delete redundant lambdas around unary functions.  (Bug#66816)

(cherry picked from commit 0e76716c5faa5e91ac3913b02ba4dc690cf5df83)

9 days ago; * lisp/treesit.el: Remove implemented TODO for integration with hideshow.
Juri Linkov [Tue, 11 Feb 2025 17:47:21 +0000 (19:47 +0200)]
; * lisp/treesit.el: Remove implemented TODO for integration with hideshow.

(cherry picked from commit 14e0f214e6d144030d696afc3ed2f2abdd3c9f06)

9 days agoImprove outline-predicate of ts-modes (bug#74448)
Juri Linkov [Tue, 11 Feb 2025 17:42:33 +0000 (19:42 +0200)]
Improve outline-predicate of ts-modes (bug#74448)

* lisp/progmodes/c-ts-mode.el (c-ts-mode--outline-predicate):
Simplify since 'treesit-outline-search' was fixed in 302274b1862.
Use 'treesit-parent-until' to handle the case with "pointer_declarator".

* lisp/textmodes/yaml-ts-mode.el (yaml-ts-mode--outline-predicate):
Add "block_sequence_item".

(cherry picked from commit 58c09c3d36075c3a1a9f178fd8ee019309e6f403)

9 days agoEglot: fix thinko in previous commit
João Távora [Tue, 11 Feb 2025 16:14:43 +0000 (16:14 +0000)]
Eglot: fix thinko in previous commit

* lisp/progmodes/eglot.el (eglot--hierarchy-1): 'roots' is a
vector.

(cherry picked from commit 3e699b3047af70bc8d30e21b295b98dbd6797e9c)

9 days ago; Skip commit 13608ad64d13145df88b86a8efa893be42244792
Eshel Yaron [Wed, 12 Feb 2025 10:49:10 +0000 (11:49 +0100)]
; Skip commit 13608ad64d13145df88b86a8efa893be42244792

9 days 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.

(cherry picked from commit 19791839cfbb9202aff8a8d476ec76741592c97d)

9 days ago; Skip commit 88bc748f52fe3ed161d5c7b3aca1de0fb0fa1209
Eshel Yaron [Wed, 12 Feb 2025 10:48:47 +0000 (11:48 +0100)]
; Skip commit 88bc748f52fe3ed161d5c7b3aca1de0fb0fa1209

9 days agoEglot: error if no hierarchies available at point
João Távora [Tue, 11 Feb 2025 15:28:59 +0000 (15:28 +0000)]
Eglot: error if no hierarchies available at point

* lisp/progmodes/eglot.el (eglot--hierarchy-1): Error if no
hierarchy at point.

(cherry picked from commit 9d2d8a4d39441ad9de3862164aa57dbdf5874baf)

9 days agoEglot: make better use of :company-docsig
João Távora [Tue, 11 Feb 2025 13:59:46 +0000 (13:59 +0000)]
Eglot: make better use of :company-docsig

* lisp/progmodes/eglot.el (eglot-completion-at-point): Make better
use of :company-docsig

(cherry picked from commit 4847168c5b4b015eec0e9feca0ccc3cfdf17e837)

9 days agoEglot: cosmetic refactor of eglot-completion-at-point
João Távora [Tue, 11 Feb 2025 13:32:07 +0000 (13:32 +0000)]
Eglot: cosmetic refactor of eglot-completion-at-point

* lisp/progmodes/eglot.el (eglot-completion-at-point): rework.

(cherry picked from commit 5f9982ededa3aa2e8890e86836eb56f57cfe4cf1)

9 days 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)

9 days ago; Skip commit 737f249aa2c86fb555b134b9e430a5be9cf2b655
Eshel Yaron [Wed, 12 Feb 2025 10:45:01 +0000 (11:45 +0100)]
; Skip commit 737f249aa2c86fb555b134b9e430a5be9cf2b655

9 days ago* src/bidi.c: Add comments to uses of INT_PROMOTE (bug#75964).
Eli Zaretskii [Tue, 11 Feb 2025 13:42:26 +0000 (15:42 +0200)]
* src/bidi.c: Add comments to uses of INT_PROMOTE (bug#75964).

(cherry picked from commit 326593c88dfb98639f76a1b99c0b22958aae0e25)

9 days agoCorrect project-remember/forget-projects-under message grammar
shipmints [Sun, 2 Feb 2025 16:39:55 +0000 (11:39 -0500)]
Correct project-remember/forget-projects-under message grammar

* lisp/progmodes/project.el:
(project-remember-projects-under): Correct grammar for the singular
case.  Rather than "1 projects were found", say "1 project was found".
(project-forget-projects-under): Ditto.  (Bug#76016)

(cherry picked from commit b2d2ad58ea45bbbcde772152b240f1c2c5a7c2fa)

9 days ago; Skip commit 788380cf6a2529ee7477aaadaa430e889c76dacd
Eshel Yaron [Wed, 12 Feb 2025 10:44:46 +0000 (11:44 +0100)]
; Skip commit 788380cf6a2529ee7477aaadaa430e889c76dacd

9 days agoUpdate webjump.el example links
Stefan Kangas [Tue, 11 Feb 2025 06:13:31 +0000 (07:13 +0100)]
Update webjump.el example links

* lisp/net/webjump.el (webjump-sample-sites): Don't recommend some
defunct or otherwise non-privacy respecting websites.  Prefer HTTPS to
HTTP.
(webjump-to-iwin, webjump-state-to-postal-alist): Make obsolete, as this
functionality seems to no longer work due to broken links.

(cherry picked from commit 34d353cd7207fc47e7c2945faad4ca6e4b864a0f)

9 days ago; Delete redundant defvar
Stefan Kangas [Tue, 11 Feb 2025 05:28:03 +0000 (06:28 +0100)]
; Delete redundant defvar

* lisp/emacs-lisp/lisp-mnt.el (report-emacs-bug-address): Delete
redudant defvar.

(cherry picked from commit 644476dc85974c1cd5bff3a3094cc4941c1ca9ff)

9 days agoAdd new function lm-package-version
Stefan Kangas [Tue, 11 Feb 2025 05:10:39 +0000 (06:10 +0100)]
Add new function lm-package-version

* lisp/emacs-lisp/lisp-mnt.el (lm-package-version): New function.
* lisp/emacs-lisp/package.el (package-buffer-info)
(package-get-version): Use above new function.
(lm-package-version): Declare.

(cherry picked from commit e6a2256c8b7357f9654a566e31647316f44780c3)

9 days agoDon't warn for packages without a footer line
Stefan Kangas [Tue, 11 Feb 2025 03:46:52 +0000 (04:46 +0100)]
Don't warn for packages without a footer line

* lisp/emacs-lisp/package.el (package-buffer-info): Don't warn when the
terminating comment (i.e., the footer line) is missing.  (Bug#26490)

(cherry picked from commit 5b34dbf4003a96c1b48e4981eedf2ed7abe43849)

9 days 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.

(cherry picked from commit 37f255146028954e5c3c374fa2f1eb596b69f9a4)

9 days ago; Mark erc-nicks test as :unstable
F. Jason Park [Tue, 11 Feb 2025 05:59:52 +0000 (21:59 -0800)]
; Mark erc-nicks test as :unstable

* test/lisp/erc/erc-nicks-tests.el (erc-nicks-track-faces/prioritize):
Mark as :unstable outside of EMBA and ERC's own CI.  (Bug#76188)

(cherry picked from commit 79e5eae8a648a16bed4688f979692eba1e0ce037)

9 days agoMinor simplification in Fdescribe_buffer_bindings
Stefan Kangas [Mon, 10 Feb 2025 23:46:30 +0000 (00:46 +0100)]
Minor simplification in Fdescribe_buffer_bindings

* src/keymap.c (Fdescribe_buffer_bindings): Minor simplification.

(cherry picked from commit 2a405cb8979e08fd190e840f2a7b31efeb15a7cb)

9 days agoPrefer keyword arguments in message-mode menu definition
Stefan Kangas [Mon, 10 Feb 2025 22:50:59 +0000 (23:50 +0100)]
Prefer keyword arguments in message-mode menu definition

* lisp/gnus/message.el (message-mode-menu): Prefer keyword arguments in
menu definition.  Reformat for readability and consistency.

(cherry picked from commit bc1090145c702bbc94fad0e3d8ccea445e2056c4)

9 days ago; Quote function symbols in help-fns-tests.el
Stefan Kangas [Mon, 10 Feb 2025 22:46:18 +0000 (23:46 +0100)]
; Quote function symbols in help-fns-tests.el

* test/lisp/help-fns-tests.el: Properly quote function symbols as such.

(cherry picked from commit 71c369bf666d529712be54fc1bc7fd3dffd8ace6)

9 days agoAdd test for Bug#76179
Stefan Kangas [Mon, 10 Feb 2025 21:37:40 +0000 (22:37 +0100)]
Add test for Bug#76179

* test/lisp/help-fns-tests.el (help-fns-test-bug76179):
New test.  (Bug#76179)

(cherry picked from commit 2d257fa24ffb6e622b2a3b6beb861bddfdb764b3)

9 days ago; Move describe-symbol test to its proper section
Stefan Kangas [Mon, 10 Feb 2025 21:31:26 +0000 (22:31 +0100)]
; Move describe-symbol test to its proper section

* test/lisp/help-fns-tests.el (help-fns-test-dangling-alias): Move test
to its proper section.

(cherry picked from commit 7fbdad01e510984e9166191191a9046a065dffd9)

9 days agoPacify gcc -Wswitch-enum in bidi.c
Paul Eggert [Sat, 8 Feb 2025 23:56:04 +0000 (15:56 -0800)]
Pacify gcc -Wswitch-enum in bidi.c

* src/bidi.c (bidi_get_type, bidi_resolve_explicit)
(bidi_find_bracket_pairs, bidi_resolve_brackets)
(bidi_resolve_neutral): Use ‘switch (INT_PROMOTE (E))’
to indicate that it’s intended that we not enumerate all the enum
values.

(cherry picked from commit 467a88394f8d7fe545bd236586a9a3ed991ab9dc)

9 days agoSet process-adaptive-read-buffering to nil by default
Stefan Kangas [Sun, 9 Feb 2025 21:50:34 +0000 (22:50 +0100)]
Set process-adaptive-read-buffering to nil by default

* src/process.c (syms_of_process) <process-adaptive-read-buffering>:
Set the default to nil.  (Bug#75574)

(cherry picked from commit 8a669b6be523e043423b81571a8c94cb49ccc8e5)

9 days ago; Add test for my last commit
Stefan Kangas [Mon, 10 Feb 2025 14:28:56 +0000 (15:28 +0100)]
; Add test for my last commit

* test/lisp/help-fns-tests.el (help-fns-test-bug76172): New test.

(cherry picked from commit af528d9ea40d027fa0100578b8b753b1ec3c0432)

9 days 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)

(cherry picked from commit 411db5543274275896ff4bf93096e9fd5574d06e)

9 days ago* lisp/ansi-osc.el (ansi-osc-directory-tracker): Don't check host name.
Michael Albinus [Mon, 10 Feb 2025 15:37:25 +0000 (16:37 +0100)]
* lisp/ansi-osc.el (ansi-osc-directory-tracker): Don't check host name.

(cherry picked from commit 0c7214dc97aef577487d71851580e8a68784075d)

9 days ago; Skip commit 55ffbeaab1da66abee8a84f79c2cebd2c61f336f
Eshel Yaron [Wed, 12 Feb 2025 10:40:03 +0000 (11:40 +0100)]
; Skip commit 55ffbeaab1da66abee8a84f79c2cebd2c61f336f

9 days ago; Silence byte-compiler
Stefan Kangas [Mon, 10 Feb 2025 12:00:12 +0000 (13:00 +0100)]
; Silence byte-compiler

* lisp/transient.el (transient-set-default-level)
(transient-scope): Silence byte-compiler.

(cherry picked from commit e33eb91061d53b31ee4c5557600f13749aa4ffd5)

9 days ago; * lisp/emacs-lisp/eieio.el (defclass): Add autoload cookie.
Gerd Möllmann [Mon, 10 Feb 2025 13:33:55 +0000 (14:33 +0100)]
; * lisp/emacs-lisp/eieio.el (defclass): Add autoload cookie.

(cherry picked from commit 8b3a276e4b3d096afed2b130d4d7f47dca7f7fc6)

9 days ago; Skip commit 68770e28deadc60e39a545c84b7f7462ac0eaa88
Eshel Yaron [Wed, 12 Feb 2025 10:39:39 +0000 (11:39 +0100)]
; Skip commit 68770e28deadc60e39a545c84b7f7462ac0eaa88

9 days 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.

(cherry picked from commit 317a5015f8a561317da829f3430829a3ef8a4d13)

9 days 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.

(cherry picked from commit f599860b50ecd288144987ff9de40ca3b40a417b)

9 days 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).

(cherry picked from commit 798ce492d51d16204a28820eb0c8d61fdc8a49e7)

9 days 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).

(cherry picked from commit d78a4c0f4cb534dd5b1dc8cfe91f34b6d2c996d3)

9 days ago; (scope--analyze-define-widget): Fix typo.
Eshel Yaron [Wed, 12 Feb 2025 10:22:14 +0000 (11:22 +0100)]
; (scope--analyze-define-widget): Fix typo.

9 days agominibuffer.el: Fix completions header-line mouse clicks
Eshel Yaron [Wed, 12 Feb 2025 08:43:09 +0000 (09:43 +0100)]
minibuffer.el: Fix completions header-line mouse clicks

See bug#75219

9 days agoscope.el, elisp-mode.el: Support thing-at-point "things"
Eshel Yaron [Wed, 12 Feb 2025 08:42:16 +0000 (09:42 +0100)]
scope.el, elisp-mode.el: Support thing-at-point "things"

9 days agoscope.el: Recognize face arg of pulse-momentary-highlight-region
Eshel Yaron [Wed, 12 Feb 2025 08:41:39 +0000 (09:41 +0100)]
scope.el: Recognize face arg of pulse-momentary-highlight-region

10 days agoansi-osc-directory-tracker respects remote files
shipmints [Mon, 10 Feb 2025 11:55:54 +0000 (12:55 +0100)]
ansi-osc-directory-tracker respects remote files

* etc/NEWS: ansi-osc-directory-tracker supports remote directories.

* lisp/ansi-osc.el (ansi-osc-directory-tracker):
If 'default-directory' is a remote-file form, retain that form
when 'default-directory' changes are detected.

(cherry picked from commit 424fc4a56cb33af05a1d59c75c9159df7086b3c6)

10 days ago* doc/misc/ert.texi (Helper Functions): Improve index. Fix markups.
Michael Albinus [Mon, 10 Feb 2025 10:30:32 +0000 (11:30 +0100)]
* doc/misc/ert.texi (Helper Functions): Improve index.  Fix markups.

(cherry picked from commit b92cfadc6af3abf773f666bedc571bb85402b001)

10 days agoImplement tab line dragging with mouse (Bug#76084)
Martin Rudalics [Mon, 10 Feb 2025 09:58:05 +0000 (10:58 +0100)]
Implement tab line dragging with mouse (Bug#76084)

* lisp/mouse.el (mouse-drag-line): Allow tab line dragging if
there's a window above.  Consider tab line height when
calculating 'position'.  Add 'tab-line' binding to transient
map.
(mouse-drag-tab-line): Have it drag the tab line only (and not
the entire frame) when the tab line is between two windows.

(cherry picked from commit efa9b97b454d2bf56d50fb4ef37e8378bb2e4b2a)

10 days agoFix handling of visibility on tty frames (Bug#76031)
Martin Rudalics [Mon, 10 Feb 2025 09:36:38 +0000 (10:36 +0100)]
Fix handling of visibility on tty frames (Bug#76031)

* src/frame.h (FRAME_REDISPLAY_P): Remove.  Use the new function
frame_redisplay_p instead.  Extern frame_redisplay_p.
* src/frame.c (frame_redisplay_p): New function to replace
FRAME_REDISPLAY_P macro.
(make_terminal_frame): Don't tinker with frame visibility and
don't make the new frame the terminal's top frame.
(do_switch_frame): Make sure frame switched to and any of its
ancestors are visible.  Don't reset the visibility of other
frames.
(other_frames): Do not assume tty frames are by default visible.
(Fmake_frame_invisible): When making the selected tty frame
invisible, explicitly select the next visible frame.
* src/dispnew.c (Fredraw_display): Use frame_redisplay_p instead
of FRAME_REDISPLAY_P.
* src/xdisp.c (clear_garbaged_frames, echo_area_display)
(prepare_menu_bars, redisplay_internal, display_and_set_cursor)
(gui_clear_cursor): Use frame_redisplay_p instead of
FRAME_REDISPLAY_P.
* src/keyboard.c (tty_read_avail_input): When storing an event
and the selected frame is a child frame whose root is its
terminal's top frame, set the frame_or_window slot to the child
frame since otherwise the next switch frame event will select
the top frame instead.

(cherry picked from commit 4d1ceac9f9332f74ac2ab300eb2a629ea742b1dc)

10 days ago* lisp/treesit.el: Fix treesit-outline.
Juri Linkov [Mon, 10 Feb 2025 07:19:46 +0000 (09:19 +0200)]
* lisp/treesit.el: Fix treesit-outline.

(treesit-outline--at-point): New internal function.
(treesit-outline-search, treesit-outline-level):
Use 'treesit-outline--at-point'.

(cherry picked from commit 302274b18625b04d1f52fe4c1e52dbcd2cd5124b)

10 days agoFix compilation on Haiku Nightly hrev58622
Po Lu [Mon, 10 Feb 2025 04:04:27 +0000 (12:04 +0800)]
Fix compilation on Haiku Nightly hrev58622

* configure.ac (BOBJECTLIST_OWNERSHIP_IS_TEMPLATE_PARAMETER):
Define if BObjectList ownership over its contents is specified
as a template parameter.

* src/haiku_support.cc (class EmacsFontSelectionDialog)
[BOBJECTLIST_OWNERSHIP_IS_TEMPLATE_PARAMETER]: Adjust
accordingly.

(cherry picked from commit 6e8bb757841d76e2df9757404dfafc5cb7777cb8)

10 days agoDon't use deprecated unload-hook variables in Gnus
Stefan Kangas [Sun, 9 Feb 2025 23:40:23 +0000 (00:40 +0100)]
Don't use deprecated unload-hook variables in Gnus

* lisp/gnus/gnus-registry.el (gnus-registry-unload-hook):
* lisp/gnus/spam-stat.el (spam-stat-unload-hook):
* lisp/gnus/spam.el (spam-unload-hook): Rename functions from this...

* lisp/gnus/gnus-registry.el (gnus-registry-unload-function):
* lisp/gnus/spam-stat.el (spam-stat-unload-function):
* lisp/gnus/spam.el (spam-unload-function): ...to this.  Don't set the
corresponding variables, always return nil, update callers, and leave
old name as obsolete function aliases.
Ref: https://lists.gnu.org/r/emacs-devel/2025-02/msg00294.html

(cherry picked from commit ceef9025944fd3d51122f913ed9a74a259db55f7)

10 days agoFix fontification of ATTRIBUTE_NO_SANITIZE_ADDRESS functions
Stefan Kangas [Sun, 9 Feb 2025 23:03:12 +0000 (00:03 +0100)]
Fix fontification of ATTRIBUTE_NO_SANITIZE_ADDRESS functions

* .dir-locals.el (c-mode) <c-noise-macro-names>:
Add "ATTRIBUTE_NO_SANITIZE_ADDRESS", to fontify functions with this
attribute correctly.

(cherry picked from commit 1c16d81bac05f0feb9e2fabfd435f92e9ac951ee)

10 days ago; Add missing section marker to ert.el
Stefan Kangas [Sun, 9 Feb 2025 21:17:45 +0000 (22:17 +0100)]
; Add missing section marker to ert.el

(cherry picked from commit 893f6652da3127bb894c822f338179aa6c0cb1cc)

10 days agoUse unload-function instead of unload-hook in ert
Stefan Kangas [Sun, 9 Feb 2025 21:16:09 +0000 (22:16 +0100)]
Use unload-function instead of unload-hook in ert

* lisp/emacs-lisp/ert.el
(ert-unload-function): Rename from 'ert--unload-function'.
(ert--unload-function): Make into obsolete function alias for the above.

(cherry picked from commit 859608c05152ef7efdc55b3fcd3997d7801125f8)

10 days agoImprove treesit settings for {json,html,toml,yaml}-ts-mode (bug#73404)
Juri Linkov [Sun, 9 Feb 2025 17:54:02 +0000 (19:54 +0200)]
Improve treesit settings for {json,html,toml,yaml}-ts-mode (bug#73404)

* lisp/progmodes/json-ts-mode.el (json-ts-mode): Add 'list' thing
to 'treesit-thing-settings'.
(json-ts-mode): Disable outlines.

* lisp/textmodes/html-ts-mode.el (html-ts-mode--defun-name):
Get a grandchild 'tag_name' from 'element' that was already
defined by 'treesit-defun-type-regexp'.
(html-ts-mode--outline-predicate): New function.
(html-ts-mode): Add "comment" to the 'list' thing
in 'treesit-thing-settings'.  Use "tag_name" and "attribute"
in 'sentence' to conform to sentence navigating arguments
in other ts-modes.  Remove unnecessary heading
from 'treesit-simple-imenu-settings' and use "element"
supported by 'html-ts-mode--defun-name'.
Set 'treesit-outline-predicate' to 'html-ts-mode--outline-predicate'.

* lisp/textmodes/toml-ts-mode.el (toml-ts-mode):
Add 'treesit-thing-settings'.

* lisp/textmodes/yaml-ts-mode.el (yaml-ts-mode--defun-name)
(yaml-ts-mode--outline-predicate): New functions.
(yaml-ts-mode): Set 'treesit-defun-type-regexp',
'treesit-defun-name-function', 'treesit-defun-tactic'.
Add 'sentence' to 'treesit-thing-settings'.
Set 'treesit-simple-imenu-settings' and 'treesit-outline-predicate'.
Use 'kill-local-variable' for 'forward-sexp-function'
and 'show-paren-data-function' instead of resetting their value.

* lisp/treesit.el (treesit-outline-search): Check for the thing
before the end of the line to support such case when the thing
fits on the current line and ends before the end of the line
such as e.g. '<h1>...</h1>' in html-ts-mode.
(treesit-hs-find-next-block, treesit-hs-inside-comment-p):
Use anchors for "\\`comment\\'" (bug#75609).

(cherry picked from commit e9d17e41971c887675d52e1dcee21978d4247130)

10 days ago; Silence byte-compiler
Stefan Kangas [Sun, 9 Feb 2025 15:16:01 +0000 (16:16 +0100)]
; Silence byte-compiler

* lisp/net/eww.el (eww-bookmark-kill):
* test/lisp/savehist-tests.el: Silence byte-compiler.

(cherry picked from commit 7e60ceeccbca1b9f67297ad7e9f11fd498b28d4d)

10 days ago; Simplify last commit
Stefan Kangas [Sun, 9 Feb 2025 14:56:35 +0000 (15:56 +0100)]
; Simplify last commit

* lisp/mail/footnote.el (footnote-mode): Simplify last change.

(cherry picked from commit 5c07fc7557ad9dd353f18a270042d9e844c85bef)

10 days agoscope.el: Fix defalias handling
Eshel Yaron [Mon, 10 Feb 2025 20:54:25 +0000 (21:54 +0100)]
scope.el: Fix defalias handling

10 days agoAdd mouse face to semantic face instead of replacing
Eshel Yaron [Mon, 10 Feb 2025 20:01:40 +0000 (21:01 +0100)]
Add mouse face to semantic face instead of replacing

10 days ago* lisp/help-fns.el (help-fns--insert-menu-bindings): Bug fix.
Eshel Yaron [Mon, 10 Feb 2025 19:01:33 +0000 (20:01 +0100)]
* lisp/help-fns.el (help-fns--insert-menu-bindings): Bug fix.

10 days agoelisp-mode.el: Show symbol documentation via 'help-echo'
Eshel Yaron [Mon, 10 Feb 2025 19:01:04 +0000 (20:01 +0100)]
elisp-mode.el: Show symbol documentation via 'help-echo'

10 days agoscope.el: Recognize 'mouse-face' text property
Eshel Yaron [Mon, 10 Feb 2025 18:58:02 +0000 (19:58 +0100)]
scope.el: Recognize 'mouse-face' text property

10 days agoFix next/previous-line-completion
Eshel Yaron [Mon, 10 Feb 2025 18:57:40 +0000 (19:57 +0100)]
Fix next/previous-line-completion

12 days agoImprove filling with footnote-mode
Stefan Kangas [Sun, 9 Feb 2025 14:34:41 +0000 (15:34 +0100)]
Improve filling with footnote-mode

* lisp/mail/footnote.el (footnote-mode): Add regexp for footnotes
to sentence-end-base to improve filling.

(cherry picked from commit 64905eba2707f89c3befe99b36d14e24eeb9f8c0)