]> git.eshelyaron.com Git - emacs.git/log
emacs.git
3 weeks ago; * lisp/progmodes/php-ts-mode.el: Docstring fixes
Phil Sainty [Fri, 4 Jul 2025 06:30:49 +0000 (18:30 +1200)]
; * lisp/progmodes/php-ts-mode.el: Docstring fixes

(php-ts-mode-alternative-php-program-name, php-ts-mode--executable):
Improve documentation.

(cherry picked from commit 1ea68b930c045596706534abb3b7fcbcbc7a5b6d)

3 weeks agoRetain the <base> tag when making a page in EWW document readable
Steven Allen [Wed, 2 Jul 2025 21:32:28 +0000 (14:32 -0700)]
Retain the <base> tag when making a page in EWW document readable

The base tag is necessary to correctly resolve relative links.

* lisp/net/eww.el (eww-readable-dom): Retain the base tag in addition to
the title/link tags.  (Bug#78948)
* test/lisp/net/eww-tests.el (eww-test--wordy-page): Add a base tag.
(eww-test/readable/default-readable): Test that the base tag is retained.

(cherry picked from commit f10bf71151b7f5d0e1d7d183c11261b257d4d022)

3 weeks agolisp/dired.el (dired-mode-immediate-menu): Don't quote `lambda`
Stefan Monnier [Thu, 3 Jul 2025 21:35:10 +0000 (17:35 -0400)]
lisp/dired.el (dired-mode-immediate-menu): Don't quote `lambda`

(cherry picked from commit 2cb7387e6fa0d5a85d18f7b35e3be508c690c12f)

3 weeks agolisp/dired-x.el (dired-omit-lines): Don't quote `lambda`
Stefan Monnier [Thu, 3 Jul 2025 21:09:56 +0000 (17:09 -0400)]
lisp/dired-x.el (dired-omit-lines): Don't quote `lambda`

(cherry picked from commit 5f44515539eac4cd1ecb0057120475fe217bbc69)

3 weeks agoFactor out some common code from VC incoming/outgoing functions
Sean Whitton [Thu, 3 Jul 2025 19:21:29 +0000 (20:21 +0100)]
Factor out some common code from VC incoming/outgoing functions

* lisp/vc/vc.el (vc--maybe-read-remote-location)
(vc--incoming-revision): New functions, factored out.
(vc-log-incoming, vc-default-log-incoming, vc-log-outgoing)
(vc-default-log-outgoing): Use them.

(cherry picked from commit 8c6d549f6ffd623e30fef9aeb73ccb1194bcfb58)

3 weeks ago; * lisp/vc/vc-hg.el (vc-hg-command): Improve docstring.
Sean Whitton [Thu, 3 Jul 2025 19:10:42 +0000 (20:10 +0100)]
; * lisp/vc/vc-hg.el (vc-hg-command): Improve docstring.

(cherry picked from commit f1fe815b43c87b147e3e6cc5cd600cd66cc65b7f)

3 weeks agoVC: Make incoming-revision backend function responsible for fetching
Sean Whitton [Thu, 3 Jul 2025 19:09:14 +0000 (20:09 +0100)]
VC: Make incoming-revision backend function responsible for fetching

* lisp/vc/vc-hg.el (vc-hg-incoming-revision): Pull the incoming
revision if we don't have it.
(vc-hg-mergebase): Don't invoke 'hg pull'.
* lisp/vc/vc.el: Document that the incoming-revision backend
function, for distributed VCS, should fetch the incoming
revision into local storage.

(cherry picked from commit 37a9a9495e795f225b1736c56e37c3965de6c58c)

3 weeks agoDon't ignore mouse release event in display-buffer-override-next-command
Juri Linkov [Thu, 3 Jul 2025 17:34:16 +0000 (20:34 +0300)]
Don't ignore mouse release event in display-buffer-override-next-command

* lisp/window.el (display-buffer-override-next-command):
Don't exit on mouse down event, thus waiting for the incoming
mouse up event (bug#78945).

(cherry picked from commit 3b6e8c5e3c464efbf01d51f39d044cf9d24f5eaf)

3 weeks agoAvoid segfaults due to C-g when a thread does GC
Eli Zaretskii [Thu, 3 Jul 2025 13:19:09 +0000 (16:19 +0300)]
Avoid segfaults due to C-g when a thread does GC

* src/keyboard.c (handle_interrupt): Don't forcibly switch threads
if a non-main thread was in GC when the signal handler was called.

(cherry picked from commit 205d69e7e64cf23df0bc7a52b1149f6130c117b5)

3 weeks ago; Skip commit f48c283e885bbc5feee0804bc12f1cb633249316
Eshel Yaron [Wed, 23 Jul 2025 20:13:24 +0000 (22:13 +0200)]
; Skip commit f48c283e885bbc5feee0804bc12f1cb633249316

3 weeks agouniquify-get-unique-names: Return a list with propertized strings
Dmitry Gutov [Wed, 2 Jul 2025 02:26:51 +0000 (05:26 +0300)]
uniquify-get-unique-names: Return a list with propertized strings

* lisp/uniquify.el (uniquify-get-unique-names): Return a list of
strings, and add text property 'uniquify-orig-buffer' to each,
pointing at the corresponding buffers (bug#77312).

* lisp/progmodes/project.el (project--read-project-buffer):
Look up that property's values here and build the alist.

(cherry picked from commit 76877a6b08492c555744cfebda3224df91dec82a)

3 weeks agoEnsure <style> and <template> HTML tags are never "readable" in EWW
Jim Porter [Wed, 2 Jul 2025 01:33:05 +0000 (18:33 -0700)]
Ensure <style> and <template> HTML tags are never "readable" in EWW

This helps fix EWW readable mode on some web pages that use these tags,
like the FSF blog.

* lisp/net/eww.el (eww--walk-readability): Check for <style> and
<template> tags.

(cherry picked from commit fa77689b1e352febb2cf9bdd38c595937ae8089e)

3 weeks agocus-edit.el: Don't quote lambdas and improve macro declaration
Stefan Monnier [Tue, 1 Jul 2025 21:37:02 +0000 (17:37 -0400)]
cus-edit.el: Don't quote lambdas and improve macro declaration

* lisp/cus-edit.el (custom-reset-extended-menu): Don't quote lambdas.
(custom-dirlocals-with-buffer): Add indent and debug info.

(cherry picked from commit f732a44af801a11467b160d5efc0c7aa7d11266e)

3 weeks ago(load-path-filter): Loading can happen in the middle of completion
Stefan Monnier [Tue, 1 Jul 2025 20:55:14 +0000 (16:55 -0400)]
(load-path-filter): Loading can happen in the middle of completion

* lisp/startup.el (load-path-filter-cache-directory-files):
Don't get confused by the context's `completion-regexp-list`.

(cherry picked from commit b3b83b3603e9922c48eb782102933c6ac7fd16e9)

3 weeks ago; Skip commit 7f35bf97067ef42492d01cc61aab3d1681228357
Eshel Yaron [Wed, 23 Jul 2025 20:12:18 +0000 (22:12 +0200)]
; Skip commit 7f35bf97067ef42492d01cc61aab3d1681228357

3 weeks agoUpdate to Transient v0.9.3-8-gecd64f17
Jonas Bernoulli [Tue, 1 Jul 2025 16:23:32 +0000 (18:23 +0200)]
Update to Transient v0.9.3-8-gecd64f17

(cherry picked from commit d8cdbc9f615cc5b5daa075fb5c9832fe61ffce26)

3 weeks ago; * lisp/transient.el: Fix section outline levels.
Jonas Bernoulli [Tue, 1 Jul 2025 16:11:20 +0000 (18:11 +0200)]
; * lisp/transient.el: Fix section outline levels.

In [1: 77a4c63fda5] "all" code sections were needlessly nested
below the ";;; Code:" section, which I do not like but can live
with.  However, a few sections were missed; nest them here too.
Also put the "frontmatter" code, which in my libraries usually
is the only code located in the ";;; Code:" section, into a new
";;;; Frontmatter" sub-section.  That way it is possible again
to cycle to the "show all headings but no code" state.

1: 2025-06-04 77a4c63fda5ca5d4c6d82092eaa06f1eb9b51302
   (outline--hidden-headings-paths): Fix slow saves (bug#78665)
(cherry picked from commit d4615d026bdfc0d40982070149fe9c55f0a661ee)

3 weeks ago; * lisp/transient.el: Remove extra semicolon added to eof comment.
Jonas Bernoulli [Tue, 1 Jul 2025 15:55:24 +0000 (17:55 +0200)]
; * lisp/transient.el: Remove extra semicolon added to eof comment.

(cherry picked from commit 5125395db4284eb13b579d56fd0320631225164a)

3 weeks agoVC-Hg: Use generic log-incoming & log-outgoing
Sean Whitton [Tue, 1 Jul 2025 14:44:12 +0000 (15:44 +0100)]
VC-Hg: Use generic log-incoming & log-outgoing

* lisp/vc/vc-hg.el (vc-hg-print-log): Implement string LIMIT for
this backend.  Use a DAG range when 'vc-log-view-type' is
'log-outgoing'.  Document differences between -rN:M and -rN::M.
(vc-hg-log-view-mode): Treat 'log-incoming' and 'log-outgoing'
values for 'vc-log-view-type' as short logs too.
(vc-hg-log-incoming, vc-hg-log-outgoing): Delete.

(cherry picked from commit 3dfc98858712b39610716a08e2bb8211fea134de)

3 weeks agovc-hg-mergebase: Try a pull if first attempt fails
Sean Whitton [Tue, 1 Jul 2025 14:39:39 +0000 (15:39 +0100)]
vc-hg-mergebase: Try a pull if first attempt fails

* lisp/vc/vc-hg.el (vc-hg-mergebase): If the first attempt
fails, execute a pull, then try again.
(vc-hg-incoming-revision): Use 'hg identify' not 'hg incoming'.

(cherry picked from commit 106048b06258e96764bcc3284893b10199b11b0b)

3 weeks agoRevert "admin/gitmerge.el (gitmerge-resolve): Use `replace-region-contents`"
Stefan Monnier [Tue, 1 Jul 2025 13:24:19 +0000 (09:24 -0400)]
Revert "admin/gitmerge.el (gitmerge-resolve): Use `replace-region-contents`"

This reverts commit 17d976e22e9b0ba10dcbe1655a93bc4d165d7097
because the change is not worth the risk.

(cherry picked from commit 549232e2e45c77852d2ecd278fe233ea93ce172e)

3 weeks ago; * lisp/emacs-lisp/bytecomp.el (compilation-safety): Doc fix (bug#78394).
Eli Zaretskii [Tue, 1 Jul 2025 11:17:42 +0000 (14:17 +0300)]
; * lisp/emacs-lisp/bytecomp.el (compilation-safety): Doc fix (bug#78394).

(cherry picked from commit 985ad1da76d2ea1ef70765fe8b4fb62fc975ae0a)

3 weeks agoEUDC: Fix checkdoc errors
Thomas Fitzsimmons [Tue, 1 Jul 2025 02:39:37 +0000 (22:39 -0400)]
EUDC: Fix checkdoc errors

* lisp/net/eudc.el (eudc--plist-member)
(eudc-format-inline-expansion-result): Fix checkdoc errors.

(cherry picked from commit ab568bce0c9b9f5cc478ebdcdeea6d93e0c711ae)

3 weeks ago; Skip commit 9a7917f8868beb340e8532b6b48dd9825a5c7267
Eshel Yaron [Wed, 23 Jul 2025 20:11:25 +0000 (22:11 +0200)]
; Skip commit 9a7917f8868beb340e8532b6b48dd9825a5c7267

3 weeks agoUpdate `fill-region-as-paragraph-semlf' to follow fill.el protocols
Roi Martin [Tue, 17 Jun 2025 17:21:18 +0000 (19:21 +0200)]
Update `fill-region-as-paragraph-semlf' to follow fill.el protocols

Update the `fill-region-as-paragraph-semlf' function to follow the
`fill-region-as-paragraph-function' protocol.  This allows us to
reimplement the `fill-paragraph-semlf' function using `fill-paragraph'
and `fill-region-as-paragraph-function'.
* lisp/textmodes/fill.el (fill-region-as-paragraph-semlf): Make this
function compatible with `fill-region-as-paragraph-function'.  Avoid
narrowing.
(fill-paragraph-semlf): Reimplement using `fill-paragraph' and
`fill-region-as-paragraph-function'.
* test/lisp/textmodes/fill-tests.el (fill-test-semlf-fill-region): Add
test.
(fill-test-fill-paragraph-semlf-fill-paragraph-function): Remove test.
(fill-test-fill-paragraph-semlf, fill-test-semlf)
(fill-test-fill-paragraph-semlf-justify, fill-test-semlf-justify)
(fill-test-fill-paragraph-semlf-sentence-end-double-space)
(fill-test-semlf-sentence-end-double-space)
(fill-test-fill-paragraph-semlf-fill-column, fill-test-semlf-fill-column)
(fill-test-fill-paragraph-semlf-punctuation-marks)
(fill-test-semlf-punctuation-marks, fill-test-fill-paragraph-semlf-twice)
(fill-test-semlf-twice, fill-test-fill-paragraph-semlf-fill-prefix)
(fill-test-semlf-fill-prefix)
(fill-test-fill-paragraph-semlf-indented-block)
(fill-test-semlf-indented-block, fill-test-fill-paragraph-semlf-revert)
(fill-test-semlf-revert, fill-test-fill-paragraph-semlf-emacs-lisp-mode)
(fill-test-semlf-emacs-lisp-mode, fill-test-fill-paragraph-semlf-c-mode)
(fill-test-semlf-c-mode, fill-test-fill-paragraph-semlf-org-mode)
(fill-test-semlf-org-mode, fill-test-fill-paragraph-semlf-markdown-mode)
(fill-test-semlf-markdown-mode): User shorter function names consistent
with erts file names.
* test/lisp/textmodes/fill-resources/semlf-fill-region.erts: Add test
data.
* test/lisp/textmodes/fill-resources/semlf-fill-paragraph-function.erts:
Delete file.
* test/lisp/textmodes/fill-resources/semlf-emacs-lisp-mode.erts: Remove
newlines around indented block.
* doc/lispref/text.texi (Filling): Highlight that
`fill-region-as-paragraph-function' changes the behavior of
`fill-paragraph'.

(cherry picked from commit 0ac21120cf12f151c7505d7b18601d533ea7f931)

3 weeks ago; * doc/lispref/functions.texi (Mapping Functions): Fix wording (bug#78930).
Eli Zaretskii [Mon, 30 Jun 2025 19:06:15 +0000 (22:06 +0300)]
; * doc/lispref/functions.texi (Mapping Functions): Fix wording (bug#78930).

(cherry picked from commit de18407f513ccd7adbd521d0422dd1fb552b5935)

3 weeks agolisp/autoinsert.el (auto-insert-alist): Don't quote 'lambda'
Stefan Monnier [Mon, 30 Jun 2025 15:28:34 +0000 (11:28 -0400)]
lisp/autoinsert.el (auto-insert-alist): Don't quote 'lambda'

(cherry picked from commit 3efdb553e4845eca0e637e3eefad483c3b15e021)

3 weeks agoadmin/gitmerge.el (gitmerge-resolve): Use `replace-region-contents`
Stefan Monnier [Mon, 30 Jun 2025 04:37:15 +0000 (00:37 -0400)]
admin/gitmerge.el (gitmerge-resolve): Use `replace-region-contents`

(cherry picked from commit 17d976e22e9b0ba10dcbe1655a93bc4d165d7097)

3 weeks ago; Skip commit db6cbee742ff45bbd52a86cc1823386879beb7e6
Eshel Yaron [Wed, 23 Jul 2025 20:08:56 +0000 (22:08 +0200)]
; Skip commit db6cbee742ff45bbd52a86cc1823386879beb7e6

3 weeks agoBetter fix for ignoring 'tab-bar-lines' in daemon's initial frame
Juri Linkov [Sun, 29 Jun 2025 17:06:06 +0000 (20:06 +0300)]
Better fix for ignoring 'tab-bar-lines' in daemon's initial frame

* lisp/tab-bar.el (tab-bar--update-tab-bar-lines):
Revert '(not (daemonp))' to update 'default-frame-alist'
even in daemon mode (bug#78896).

* lisp/frame.el (frame-notice-user-settings): For daemon's
initial frame don't modify the frame parameter 'tab-bar-lines'.

(cherry picked from commit b13c583bc7303780b22e7bf4c4fb832fadfc36a7)

3 weeks agoDisplay SVG images inline in Gnus
Juri Linkov [Sun, 29 Jun 2025 16:39:29 +0000 (19:39 +0300)]
Display SVG images inline in Gnus

* lisp/gnus/mm-decode.el (mm-inline-media-tests): Add "image/svg+xml".

(cherry picked from commit 7fd846f61ea74c6438c7ce3def7555a591279514)

3 weeks ago; * lisp/vc/vc-git.el (vc-git-print-log): Improve wording.
Sean Whitton [Sun, 29 Jun 2025 15:30:13 +0000 (16:30 +0100)]
; * lisp/vc/vc-git.el (vc-git-print-log): Improve wording.

(cherry picked from commit 7bf2a61623ae463e922c82f6326e9c4468fd67c9)

3 weeks agoVC: Fix several START-REVISION versus LIMIT issues
Sean Whitton [Sun, 29 Jun 2025 13:53:37 +0000 (14:53 +0100)]
VC: Fix several START-REVISION versus LIMIT issues

* lisp/vc/vc-git.el (vc-git-print-log): When LIMIT and
START-REVISION are both supplied, use START-REVISION as the
newest commit, and LIMIT as a base (problem was introduced in
the commit adding 'vc-diff-mergebase' and 'vc-log-mergebase').
* lisp/vc/vc.el (vc-default-log-incoming)
(vc-default-log-outgoing): Fix order of START-REVISION and LIMIT
arguments passed to 'print-log' backend function.
(vc-log-mergebase): Fix order of START-REVISION and LIMIT
arguments passed to 'vc-print-log-internal'.

(cherry picked from commit d23b605f754d07a9abf298353d7d17197094477b)

3 weeks agoUpdate from Gnulib by running admin/merge-gnulib
Paul Eggert [Sun, 29 Jun 2025 13:07:23 +0000 (06:07 -0700)]
Update from Gnulib by running admin/merge-gnulib

(cherry picked from commit 30bfb03adfa88e94c9f81eacbd125f96a32432c0)

3 weeks agoAdapt Tramp versions
Michael Albinus [Sun, 29 Jun 2025 09:03:05 +0000 (11:03 +0200)]
Adapt Tramp versions

* doc/misc/trampver.texi:
* lisp/net/trampver.el (tramp-version): Adapt Tramp versions.

(cherry picked from commit bd04818e53be49f2a087de8a92cb02549f8c2407)

3 weeks ago; * test/lisp/textmodes/fill-tests.el (markdown-mode): Declare.
Eli Zaretskii [Sun, 29 Jun 2025 04:38:55 +0000 (07:38 +0300)]
; * test/lisp/textmodes/fill-tests.el (markdown-mode): Declare.

(cherry picked from commit 036c95bbf67368b8efff70f41274130c60865f33)

3 weeks agoAdd variable `fill-region-as-paragraph-function'
Roi Martin [Tue, 17 Jun 2025 08:45:13 +0000 (10:45 +0200)]
Add variable `fill-region-as-paragraph-function'

Add the variable `fill-region-as-paragraph-function' to provide
a way to override how functions like `fill-region' fill text.
* doc/lispref/text.texi (Filling): Document
`fill-region-as-paragraph-function' variable.
* doc/emacs/text.texi (Fill Commands): Reference
`fill-region-as-paragraph-function' variable.
* lisp/textmodes/fill.el (fill-region-as-paragraph-function):
Add variable.
(fill-region-as-paragraph): Convert into
`fill-region-as-paragraph-function' wrapper.
(fill-region-as-paragraph-default): Rename old
`fill-region-as-paragraph' function.
(fill-region-as-paragraph-semlf): Update calls to
`fill-region-as-paragraph-default'.
(fill-region): Add reference to `fill-region-as-paragraph-function'
in doc string.
* test/lisp/textmodes/fill-tests.el (fill-test-fill-region): Add
test case for the `fill-region' function.
* test/lisp/textmodes/fill-resources/fill-region.erts: Add test
data.  (Bug#78816)

(cherry picked from commit 99ec286d7803fa59f770013a2135f23918510103)

3 weeks agoAdd new gv place definitions
Zach Shaftel [Sun, 25 May 2025 05:11:27 +0000 (01:11 -0400)]
Add new gv place definitions

* lisp/emacs-lisp/gv.el (char-table-extra-slot, char-table-parent)
(default-toplevel-value, marker-insertion-type, process-plist)
(process-query-on-exit-flag, process-thread, lookup-key)
(window-prev-buffers, window-next-buffers, window-new-normal, font-get)
(charset-plist, get-charset-property): Add gv-setters.
(terminal-parameter): Fix the return value.  (Bug#78291)

(cherry picked from commit bca0ce9d071fee66893015bb45c3eae7ba05c938)

3 weeks ago; * doc/lispref/threads.texi (Condition Variables): Fix wording.
Eli Zaretskii [Sat, 28 Jun 2025 19:17:06 +0000 (22:17 +0300)]
; * doc/lispref/threads.texi (Condition Variables): Fix wording.

(cherry picked from commit e51ff3ee664ecc848ed99f2f715e9a33208a8d66)

3 weeks agoProperly invalidate XRender surfaces when only EmacsFrame is resized
Po Lu [Sat, 28 Jun 2025 14:14:35 +0000 (22:14 +0800)]
Properly invalidate XRender surfaces when only EmacsFrame is resized

* src/xterm.c (handle_one_xevent): Drop XRender surfaces when
the frame widget is resized, rather than when the toplevel is.
(bug#77988)

(cherry picked from commit 987cd7012de3cbbdc6a3cfaae337bf9cf752abb3)

3 weeks agoFix the DJGPP port
Po Lu [Sat, 28 Jun 2025 13:51:31 +0000 (21:51 +0800)]
Fix the DJGPP port

* msdos/sedlibmk.inp (NEXT_AS_FIRST_DIRECTIVE_STDCKDINT_H)
(NEXT_STDCKDINT_H): Define to presumably unused values.

(cherry picked from commit acefe3bb122d20112313d22b74f0f6ab6e404cf1)

3 weeks agoAvoid extra output in Vprin1_to_string_buffer (bug#78842)
Pip Cet [Sat, 28 Jun 2025 09:33:01 +0000 (09:33 +0000)]
Avoid extra output in Vprin1_to_string_buffer (bug#78842)

print_error_message can throw after producing some output, so use
unwind-protect to ensure prin1-to-string-buffer is cleared.

* src/print.c (erase_prin1_to_string_buffer): New.
(Ferror_message_string): Use it to catch errors thrown in
'print_error_message'.
* test/src/print-tests.el (error-message-string-circular): Expand
test.

(cherry picked from commit 6b19eb53c5048cfec1f3601afb44f94ebbb9d138)

3 weeks agobug#78901: [PATCH] js-ts-mode: Fix auto-mode-alist regexp
Liam Hupfer [Thu, 26 Jun 2025 03:47:34 +0000 (22:47 -0500)]
bug#78901: [PATCH] js-ts-mode: Fix auto-mode-alist regexp

Align the js-ts-mode entry with the javascript-mode entries in the
default auto-mode-alist value in lisp/files.el. Otherwise, js-ts-mode is
not associated with .js files.

* lisp/progmodes/js.el (js-ts-mode): Fix auto-mode-alist regexp.

Fixes: 2023-01-20 6b2f85caa6ca "Make tree-sitter based modes optional"
(cherry picked from commit 6299eb0fe54c87bcbb0f6ab4de3e4f9e250d4586)

3 weeks agoAvoid flicker when marking diary entries (bug#78861)
Manuel Giraud [Mon, 23 Jun 2025 07:45:49 +0000 (09:45 +0200)]
Avoid flicker when marking diary entries (bug#78861)

* lisp/calendar/calendar.el (calendar-generate-window): Remove
historical and not really understood `sit-for' calls.

(cherry picked from commit c64b2bf113eaa2044c24860d0610c3b8ebd7e742)

3 weeks ago; Skip commit 202a7039a2677fc473ce2e1c5e53b3c0bfc99739
Eshel Yaron [Wed, 23 Jul 2025 20:07:44 +0000 (22:07 +0200)]
; Skip commit 202a7039a2677fc473ce2e1c5e53b3c0bfc99739

3 weeks ago* lisp/pcmpl-rpm.el: Generate completions for dnf5
Rahguzar [Sun, 22 Jun 2025 08:13:06 +0000 (13:13 +0500)]
* lisp/pcmpl-rpm.el: Generate completions for dnf5

(pcmpl-rpm-dnf-cache-file): Remove now unused variable.
(pcmpl-rpm--dnf-packages): Use dnf repoquery.
(pcomplete/dnf): Adjust regexps to allow for help format of
dnf5.  New regexps works for both dnf4 and dnf5.  Add
aliases for better subcommand completion.  Better support
for dnf repoquery command.  (Bug#78661)

(cherry picked from commit 2e18b0bbe98d874739ad7dac461ae5e53349405f)

3 weeks agobug#78845: [PATCH 2/2] doc: Document desktop notifications for Gnus
Maxim Cournoyer [Fri, 20 Jun 2025 04:27:17 +0000 (13:27 +0900)]
bug#78845: [PATCH 2/2] doc: Document desktop notifications for Gnus

* doc/misc/gnus.texi (Notifications): Add section.

(cherry picked from commit 08b0dd890fcccadd3372a80141ab02074bc4430a)

3 weeks agovc-dir-update: Update 'backend' VC properties
Sean Whitton [Sat, 28 Jun 2025 09:30:29 +0000 (10:30 +0100)]
vc-dir-update: Update 'backend' VC properties

* lisp/vc/vc-dir.el (vc-dir-update): Update 'backend' VC file
properties from ENTRIES.  This resolves some issues relating to
cache invalidation.
* lisp/vc/vc-hooks.el (vc-backend): Improve docstring.

(cherry picked from commit 6cd9574e20dccb15924dd42f0f481ba5b7367a42)

3 weeks agobug#78845: [PATCH 1/2] doc: Update Texinfo menus.
Maxim Cournoyer [Fri, 20 Jun 2025 04:27:16 +0000 (13:27 +0900)]
bug#78845: [PATCH 1/2] doc: Update Texinfo menus.

Generated from Emacs via M-x texinfo-all-menus-update, and dropping
changes made due to limitations of the tool.

(cherry picked from commit d04b5d244500b66dcdbbe807c0c75a74b4d9182e)

3 weeks agoRevert "function-put: signal error with non-symbol"
Eli Zaretskii [Sat, 28 Jun 2025 09:01:13 +0000 (12:01 +0300)]
Revert "function-put: signal error with non-symbol"

This reverts commit a4ec9ca12969018cdf15b8cc713b3ba054326f99.
It caused unnecessary errors, see bug#78593.

(cherry picked from commit b4d3ac1e041347081f0843e0b47ad86516cd9cc9)

3 weeks ago; Skip commit 70d0528fc84c88106ea70c0b633834116a7902c5
Eshel Yaron [Wed, 23 Jul 2025 20:07:11 +0000 (22:07 +0200)]
; Skip commit 70d0528fc84c88106ea70c0b633834116a7902c5

3 weeks ago; Skip commit eda47cd2a8753ec74a816e62aba3fa63543e5526
Eshel Yaron [Wed, 23 Jul 2025 20:07:07 +0000 (22:07 +0200)]
; Skip commit eda47cd2a8753ec74a816e62aba3fa63543e5526

3 weeks ago; * lisp/cus-start.el (standard): Improve commentary (bug#78637).
Eli Zaretskii [Sat, 28 Jun 2025 06:56:08 +0000 (09:56 +0300)]
; * lisp/cus-start.el (standard): Improve commentary (bug#78637).

(cherry picked from commit 1e9167d22a75102389a49978594e96d7669948f6)

3 weeks agoPort varargs macros better to C99
Paul Eggert [Sat, 28 Jun 2025 06:53:32 +0000 (23:53 -0700)]
Port varargs macros better to C99

C99 prohibits passing zero args to macro’s ‘...’.
* lib-src/seccomp-filter.c (RULE0): New macro, which is like RULE
except with zero args.  All zero-arg uses of RULE changed to RULE0.
* src/comp.c (compile_function, Fcomp__init_ctxt, syms_of_comp):
Change ‘CALLN (Fmake_hash_table)’ to ‘Fmake_hash_table (0, NULL)’,
since CALLN requires at least two args in C99.

(cherry picked from commit dd1efa5309d82139c6637e21ebd9eeb55e1814c1)

3 weeks agoUpdate from Gnulib by running admin/merge-gnulib
Paul Eggert [Sat, 28 Jun 2025 05:32:33 +0000 (22:32 -0700)]
Update from Gnulib by running admin/merge-gnulib

(cherry picked from commit dbdf761187d7cccfad20a2899bab3dc77f379c3a)

3 weeks ago(peg-parse): Fix bug#78884
Stefan Monnier [Tue, 24 Jun 2025 22:24:01 +0000 (18:24 -0400)]
(peg-parse): Fix bug#78884

* lisp/progmodes/peg.el (peg-parse): Be more careful when
testing if a symbol is the name of an existing rule.  Improve docstring.

test/lisp/progmodes/peg-tests.el (peg-tests--peg-parse): New test.

(cherry picked from commit 68100ca656ad76e937622a1a74b6ca185bc82e07)

3 weeks ago(Finsert_file_contents): Refine commit d07af40d8826
Stefan Monnier [Mon, 23 Jun 2025 02:25:03 +0000 (22:25 -0400)]
(Finsert_file_contents): Refine commit d07af40d8826

* src/fileio.c (Finsert_file_contents): Inhibit ask-supersession
only if we're VISITing in a non-narrowed buffer (bug#78866).

* test/src/fileio-tests.el (ert--tests-dir): New var.
(fileio-tests--insert-file-contents-supersession): New test.

(cherry picked from commit 6c0bbf0f921682a185ebd57efef1e9d4f8ced788)

3 weeks agocus-start.el: Reliably distinguish preload from nonpreload
Stefan Monnier [Sat, 28 Jun 2025 02:55:04 +0000 (22:55 -0400)]
cus-start.el: Reliably distinguish preload from nonpreload

`dump-mode` can be nil even if we're about to dump (this is
done in the Android build), so don't rely on it to distinguish
if `cus-start` is loaded from `loadup.el` vs loaded during
a "normal run".

* lisp/loadup.el (cus-start): Bind `cus-start--preload`.
* lisp/cus-start.el: <top-level>: Test it rather than `dump-mode`.

(cherry picked from commit cb484ead91cb20f1cad31ac878a65ea1e9354871)

3 weeks agovc-annotate: Fix ever-lengthening buffer names
Sean Whitton [Fri, 27 Jun 2025 20:19:55 +0000 (21:19 +0100)]
vc-annotate: Fix ever-lengthening buffer names

* lisp/vc/vc-annotate.el (vc-annotate): Rewrite code to generate
the buffer name so that when switching from annotating one
revision to annotating another, we don't embed the old name of
the vc-annotate buffer directly into its new one (bug#78890).

(cherry picked from commit a132ca9a5463c599f43901ab5064d639b0eff93c)

3 weeks ago* lisp/tab-bar.el: Ignore daemon's initial frame (bug#78896).
Juri Linkov [Fri, 27 Jun 2025 17:41:05 +0000 (20:41 +0300)]
* lisp/tab-bar.el: Ignore daemon's initial frame (bug#78896).

(tab-bar--update-tab-bar-lines): Don't set the frame parameter
'tab-bar-lines' in daemon's initial frame because it messes up the
frames when 'format-mode-line' called from 'tab-bar-format-global'
on daemon's initial frame forces focus switch to daemon's initial
frame.  Also don't set 'default-frame-alist' in daemon mode because
'frame-notice-user-settings' copies the frame parameter 'tab-bar-lines'
from 'default-frame-alist' to daemon's initial frame.  Here updating
'default-frame-alist' is not much needed anyway since the frame
parameter 'tab-bar-lines' for new frames is set in 'make_terminal_frame'
and 'x-create-frame'.  'default-frame-alist' might be need only
to handle non-default 'tab-bar-show', but this can be handled by
'toggle-frame-tab-bar' called from 'server-after-make-frame-hook'.
(toggle-frame-tab-bar): Document a useful case of calling it
from 'server-after-make-frame-hook'.

(cherry picked from commit cd8319677d8869d60fefca6d88cf994726058e9e)

3 weeks ago; * lisp/vc/vc-dispatcher.el (vc-finish-logentry): Fix thinko.
Sean Whitton [Fri, 27 Jun 2025 13:18:14 +0000 (14:18 +0100)]
; * lisp/vc/vc-dispatcher.el (vc-finish-logentry): Fix thinko.

(cherry picked from commit e25ee1082f74c65b81ba4a184cfc29b26c2bf3b9)

3 weeks ago'C-u C-x .' clears the fill prefix
Sean Whitton [Fri, 27 Jun 2025 13:14:36 +0000 (14:14 +0100)]
'C-u C-x .' clears the fill prefix

* lisp/textmodes/fill.el (set-fill-prefix): When called
interactively with a prefix argument, clear the fill prefix,
just like how 'C-u C-x C-n' clears the goal column.
* doc/emacs/text.texi (Fill Prefix):
* etc/NEWS: Document the change.

(cherry picked from commit 0c0ac8d48a154779bc349da9fae2a2cf0230ff5d)

3 weeks agoNew user option vc-dir-save-some-buffers-on-revert
Sean Whitton [Fri, 27 Jun 2025 11:39:29 +0000 (12:39 +0100)]
New user option vc-dir-save-some-buffers-on-revert

* lisp/vc/vc-dir.el (vc-dir-save-some-buffers-on-revert):
New user option.
(vc-dir-refresh): Use it.
* etc/NEWS: Document it.

(cherry picked from commit 772099bc9b8043d46154992e1f06d7b4aa9ceccd)

3 weeks ago; * lisp/proced.el (proced-update): Support non-symbol proced-filter values
Phil Sainty [Fri, 27 Jun 2025 06:36:33 +0000 (18:36 +1200)]
; * lisp/proced.el (proced-update): Support non-symbol proced-filter values

Avoid errors like "Wrong type argument: symbolp, ((args . "REGEXP"))"
when `proced-filter' is a list of elementary filters.

(cherry picked from commit d70f1e0cfe5c6cca5c551326bc0fec613a2d683a)

3 weeks agolisp/vc/smerge-mode.el (smerge--refine-highlight-change): Fix misalignment
Stefan Monnier [Thu, 26 Jun 2025 16:55:27 +0000 (12:55 -0400)]
lisp/vc/smerge-mode.el (smerge--refine-highlight-change): Fix misalignment

(cherry picked from commit a002ca79ee7f536cb2293af1c7e712a251638fbf)

3 weeks agoFix *Help* text when a command is bound to a single key
Eli Zaretskii [Thu, 26 Jun 2025 14:39:19 +0000 (17:39 +0300)]
Fix *Help* text when a command is bound to a single key

* lisp/help-fns.el (help-fns--key-bindings): Don't insert
redundant period.  (Bug#78905)

(cherry picked from commit 80cb688b04b11a0f2291a3dfb26c16febfdea4cd)

3 weeks agoWhen making a readable page in EWW, include the <title> and similar tags
Jim Porter [Tue, 17 Jun 2025 16:11:55 +0000 (09:11 -0700)]
When making a readable page in EWW, include the <title> and similar tags

* lisp/net/eww.el (eww--walk-readability, eww-readable-dom): New
functions.
(eww-display-html): Call 'eww-readable-dom'.
(eww-readable): Call 'eww-readable-dom'.  Don't copy over 'eww-data'
properties that our new readable page can handle on its own.
(eww-score-readability): Rewrite in terms of 'eww--walk-readability'.
Make obsolete.
(eww-highest-readability): Make obsolete.

* test/lisp/net/eww-tests.el (eww-test--lots-of-words)
(eww-test--wordy-page): New variables...
(eww-test/readable/toggle-display): ... use them.
(eww-test/readable/default-readable): Make sure that the readable page
includes the <title> and <link> tags (bug#77299).

(cherry picked from commit 2bdcf0250acecdb0719203ae711aedf5baad1783)

3 weeks agoFix yaml-ts-mode comment-start-skip to improve commenting/uncommenting
James Cherti [Tue, 24 Jun 2025 17:25:40 +0000 (13:25 -0400)]
Fix yaml-ts-mode comment-start-skip to improve commenting/uncommenting

* lisp/textmodes/yaml-ts-mode.el (yaml-ts-mode): Fix 'comment-start-skip'
value to resolve an issue when commenting/uncommenting using the
'comment-or-uncomment-region' function.  The previous 'comment-start-skip'
value left some "-" uncommented after commenting and uncommenting
multiple YAML indented blocks (bug#78892).

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

3 weeks agoAdd alternative "ruby-lsp" to eglot-server-programs.
Juri Linkov [Wed, 25 Jun 2025 17:07:17 +0000 (20:07 +0300)]
Add alternative "ruby-lsp" to eglot-server-programs.

* lisp/progmodes/eglot.el (eglot-server-programs):
Add "ruby-lsp" to eglot-alternatives for ruby-mode and ruby-ts-mode.
https://shopify.github.io/ruby-lsp/editors.html#emacs-eglot

(cherry picked from commit 80f2f07c48c31b5f451254303dfb79e0426b5a33)

3 weeks agoImprove treesit settings for python-ts-mode (bug#73404).
Juri Linkov [Wed, 25 Jun 2025 16:57:05 +0000 (19:57 +0300)]
Improve treesit settings for python-ts-mode (bug#73404).

* lisp/progmodes/python.el (python--thing-settings):
For the 'sexp' thing use all nodes except top-level
grouping nodes, comments and parens.  Add the 'list' thing.
(python-ts-mode): Use setq-local for treesit-thing-settings.
Modify 'forward-sexp-function' and 'treesit-sexp-thing'
after calling 'treesit-major-mode-setup'.

(cherry picked from commit f3c755129f7d77bd6e18f5005f3c4034c170ea25)

3 weeks agoFix usage of 'treesit-defun-type-regexp' in treesit-tests.
Juri Linkov [Wed, 25 Jun 2025 16:45:54 +0000 (19:45 +0300)]
Fix usage of 'treesit-defun-type-regexp' in treesit-tests.

* test/src/treesit-tests.el (treesit--ert-test-defun-navigation):
Replace 'treesit-defun-type-regexp' with
'(or treesit-defun-type-regexp 'defun)' that fixes the tests
for ts-modes that set up the 'defun' thing instead of
'treesit-defun-type-regexp'.

(cherry picked from commit 789a6b969345d6f9e0c8604bff8618d20a6cf536)

3 weeks agoFix 'insert-directory' in Turkish language-environment
Eli Zaretskii [Wed, 25 Jun 2025 16:17:59 +0000 (12:17 -0400)]
Fix 'insert-directory' in Turkish language-environment

* lisp/files.el (insert-directory-clean, insert-directory): Use
case-sensitive search for "//DIRED//" and similar strings.
(Bug#78894)

(cherry picked from commit e68ad70af6d621895016548b6929e42b8a743a93)

3 weeks agoAttempt to fix initialization of startup variables on Android
Po Lu [Wed, 25 Jun 2025 16:02:11 +0000 (00:02 +0800)]
Attempt to fix initialization of startup variables on Android

* lisp/cus-start.el (standard): Revert last change if (featurep
'android), as Android systems perform dumping during the
initialization of the first user session.

(cherry picked from commit 704832f41b9ebf1cb2bef5f8cba4ab00fa31520f)

3 weeks agoImprove discoverability of using dumb-emacs-ansi terminal type
Sean Whitton [Wed, 25 Jun 2025 15:21:49 +0000 (16:21 +0100)]
Improve discoverability of using dumb-emacs-ansi terminal type

* doc/emacs/misc.texi (Interactive Shell, Shell Options):
* lisp/comint.el (comint-terminfo-terminal): Mention setting
comint-terminfo-terminal to "dumb-emacs-ansi" when the system's
terminfo database contains a definition for that terminal type.

(cherry picked from commit d05b59c8be5f350497ca142bc94ade23c568ad15)

3 weeks agoFix job control in remote shell
Michael Albinus [Wed, 25 Jun 2025 07:32:20 +0000 (09:32 +0200)]
Fix job control in remote shell

* lisp/net/tramp-sh.el (tramp-methods) <rsync>:
Adapt `tramp-direct-async' argument.  (Bug#71050, Bug#71259)

(cherry picked from commit f805f51373217a415015c684cc9d4659dcad12d4)

3 weeks agoAllow automatically delete non-existent projects. (Bug#77566)
Elías Gabriel Pérez [Wed, 9 Apr 2025 04:30:28 +0000 (22:30 -0600)]
Allow automatically delete non-existent projects. (Bug#77566)

* etc/NEWS: Announce changes.
* lisp/progmodes/project.el (project-prune-zombie-projects): New
user option.
(project-prune-zombies-default): New function.
(project-forget-zombie-projects): Rework.
(project--ensure-read-project-list, project-prompt-project-dir)
(project-prompt-project-name): Call
'project-forget-zombie-projects' but inhibit its message.

(cherry picked from commit 6b078013f19e9e2ee4e7ac8bf5d22fb0b8989035)

3 weeks agocus-start.el: Fix bug#78637
Stefan Monnier [Tue, 24 Jun 2025 22:16:04 +0000 (18:16 -0400)]
cus-start.el: Fix bug#78637

* lisp/cus-start.el <toplevel>: Test `dump-mode` rather than
`after-init-time` for `custom-delayed-init-variables`.

(cherry picked from commit 189ae7b1ed1a243db815560fffa71e9b8771ecb4)

3 weeks ago; Skip commit b687f02a734ffd965cba3b140805f4c2c82358e6
Eshel Yaron [Wed, 23 Jul 2025 19:15:54 +0000 (21:15 +0200)]
; Skip commit b687f02a734ffd965cba3b140805f4c2c82358e6

3 weeks agoLoad site-start.el before early-init.el
Sean Whitton [Tue, 24 Jun 2025 16:33:39 +0000 (17:33 +0100)]
Load site-start.el before early-init.el

* lisp/startup.el (command-line): Load site-start.el before
early-init.el.
(site-run-file):
* doc/lispref/os.texi (Startup Summary, Init File):
* etc/NEWS: Document the change.

(cherry picked from commit 192066d3b92a64a894def9dd9d5bd3040cc257ba)

3 weeks ago* Make native comp use lexbinding for sync compilations (bug#78818)
Andrea Corallo [Mon, 23 Jun 2025 19:56:38 +0000 (21:56 +0200)]
* Make native comp use lexbinding for sync compilations (bug#78818)

* lisp/emacs-lisp/comp.el (comp--final): Use lexical-binding in the temp file.

(cherry picked from commit baf0c8220261a71da4b58806eb41dd014709561e)

3 weeks agoFix Tramp scripts
Michael Albinus [Mon, 23 Jun 2025 16:00:08 +0000 (18:00 +0200)]
Fix Tramp scripts

* lisp/net/tramp-sh.el (tramp-shell-file-name-all-completions)
(tramp-bundle-read-file-names): Fix scripts.

(cherry picked from commit 991d3ad80a37a1cf8951d2607eb5f7544f968e93)

3 weeks agoCC Mode: Remove workarounds for missing "\_<", "\_>" in XEmacs
Alan Mackenzie [Fri, 20 Jun 2025 21:13:45 +0000 (21:13 +0000)]
CC Mode: Remove workarounds for missing "\_<", "\_>" in XEmacs

Also start using `symbols' as the PAREN argument to regexp-opt.

lisp/progmodes/cc-defs.el (c-make-keywords-re): Simplify,
remove the redundant `appendable' value of the ADORN parameter,
use the `symbols' value of the PAREN argument to regexp.
(c-emacs-features): Test that "\_<" and "\_>" work in regexps
before allowing CC Mode to start.

lisp/progmodes/cc-engine.el (c-looking-at-decl-block): When
GOTO-START is set, leave point at the _last_ Java annotation,
if any.  Clarify this in the doc string.
(c-guess-basic-syntax CASE 5G): Replace a not needed t
GOTO-START argument to c-looking-at-decl-block with nil.

lisp/progmodes/cc-langs.el (c-make-mode-syntax-table): Make the
syntax of ?@ in Java Mode symbol for processing annotations.
(c-opt-identifier-concat-key, c-opt-identifier-prefix-key)
(c-opt-after-id-concat-key, c-identifier-key)
(c-cpp-message-directives-re, c-cpp-include-key, c-pack-key)
(c-brace-stack-thing-key, c-brace-stack-no-semi-key): Replace
the `appendable' value of the ADORN argument to
c-make-keywords-re with t.
(c-annotation-re): New lang const and lang var.
(c-keywords-obarray): Replace an explicit (apply 'nconc (mapcar
... )) with c--mapcan, now that the obscure bug with mapcan in
Emacs has been resolved.

lisp/progmodes/cc-align.el (c-lineup-gnu-DEFUN-intro-cont)
(c-lineup-java-throws, c-snug-do-while)
lisp/progmodes/cc-awk.el (c-awk-pre-exp-alphanum-kwd-re)
(c-awk-after-if-for-while-condition-p)
(c-awk-after-function-decl-param-list)
(c-awk-after-continue-token)
(c-awk-after-rbrace-or-statement-semicolon)
(awk-font-lock-keywords)
lisp/progmodes/cc-cmds.el (c-defun-name-1)
lisp/progmodes/cc-engine.el (c-beginning-of-statement-1)
(c-forward-<>-arglist, c-forward-label, c-skip-conditional)
(c-looking-at-c++-lambda-expression, c-add-stmt-syntax)
(c-guess-basic-syntax CASE 11, CASE 12, CASE 13, CASE 15)
(CASE 5C.3, CASE 5D.4, CASE 7D)
lisp/progmodes/cc-fonts.el (c-cpp-matchers)
(c-basic-matchers-before, c-font-lock-declarations)
(c-font-lock-c++-modules, c-simple-decl-matchers)
(c-complex-decl-matchers, c-basic-matchers-after)
lisp/progmodes/cc-langs.el (c-paragraph-start)
(c-stmt-block-only-keywords-regexp)
(c-type-decl-prefix-keywords-key, c-type-decl-prefix-key)
(c-type-decl-suffix-key, c-known-type-key)
(c-enum-clause-introduction-re)
lisp/progmodes/cc-menus.el (cc-imenu-c++-generic-expression)
lisp/progmodes/cc-vars.el (c-make-noise-macro-regexps)
(c-make-macro-with-semi-re): Replace explicit "\<" and "\>"
with "\_<" and "\_>".  Replace explicit specification of
non-'_' character after word end with "\_>".  Replace
concatenation of "\<" and "\>" with regexps with (regexp-opt
... 'symbols).  Use (regexp-opt ... 'symbols) in general.

(cherry picked from commit 1a8e8203a158f6bdc74e38f2cdb3214b6c06b9d8)

3 weeks ago; Skip commit 2b34f38b383533ca659202492870c319fbc7ef41
Eshel Yaron [Wed, 23 Jul 2025 19:01:53 +0000 (21:01 +0200)]
; Skip commit 2b34f38b383533ca659202492870c319fbc7ef41

3 weeks ago; Fix compilation warning in docstring of new function in treesit.el.
Juri Linkov [Mon, 23 Jun 2025 06:54:48 +0000 (09:54 +0300)]
; Fix compilation warning in docstring of new function in treesit.el.

(cherry picked from commit edd18978aaae3ea50478843d0c9ad3441125f82f)

3 weeks agoLink to Tree-sitter parser sources from compatibility report
Peter Oliver [Wed, 11 Jun 2025 17:03:20 +0000 (18:03 +0100)]
Link to Tree-sitter parser sources from compatibility report

* admin/tree-sitter/treesit-admin.el
(treesit-admin--generate-compatibility-report): Add a link to the source
URL (bug#78848).

(cherry picked from commit 438a4cf673b99e43d091bcb02f7ffe5cb71b00b0)

3 weeks agoShow also tagged versions on Tree-sitter compatibility report
Peter Oliver [Wed, 11 Jun 2025 16:34:53 +0000 (17:34 +0100)]
Show also tagged versions on Tree-sitter compatibility report

* admin/tree-sitter/compat-template.html: Accommodate two tables.
* admin/tree-sitter/treesit-admin.el
(treesit-admin--find-latest-compatible-revision): Pass through new arg
REVISION-TYPE.
(treesit-admin--last-compatible-grammar-for-modes): Optionally iterate
over tagged rather than all commits.
(treesit-admin--generate-compatibility-report): Generate a second table,
showing only tagged commits (bug#78848).

(cherry picked from commit 96858b9ced0000e681672369d5507f5890086967)

3 weeks agoNew function treesit--language-git-version-tags
Peter Oliver [Fri, 3 Jan 2025 12:02:50 +0000 (12:02 +0000)]
New function treesit--language-git-version-tags

* lisp/treesit.el (treesit--language-git-version-tags): New function to
  list version tags for a Tree-sitter parser Git repository (bug#78848).

(cherry picked from commit 22db624c0e341035b2be7ecaba0047a2aaf3eff4)

3 weeks ago(smerge-refine-shadow-cursor): New variable and face (bug#78806)
Stefan Monnier [Mon, 16 Jun 2025 11:05:11 +0000 (07:05 -0400)]
(smerge-refine-shadow-cursor): New variable and face (bug#78806)

* lisp/vc/smerge-mode.el (smerge-refine-shadow-cursor): New variable
and face.
(smerge-refine-regions): Add 'cursor-sensor-functions' property
to the covering overlays.
(smerge--refine-at-right-margin-p, smerge--refine-shadow-cursor):
New functions.
(smerge--refine-other-pos): New function, extracted from
smerge-refine-exchange-point'.
(smerge-refine-exchange-point): Use it.
(smerge--refine-highlight-change): Add thin
highlighted space for insertion/deletion positions.

* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect):
Run functions for 'moved' events.  Demote errors.
(cursor-sensor-mode): Adjust docstring accordingly.

* doc/lispref/text.texi (Special Properties) <cursor-sensor-functions>:
Mention the new 'moved' direction.

(cherry picked from commit 08fba517f66794f817c3e6101a80ce3df1798581)

3 weeks ago; Skip commit 039ad15373d0c367137c5bb0d5f160becd76971b
Eshel Yaron [Wed, 23 Jul 2025 18:55:13 +0000 (20:55 +0200)]
; Skip commit 039ad15373d0c367137c5bb0d5f160becd76971b

3 weeks agoTrim down default completion styles
Eshel Yaron [Wed, 23 Jul 2025 18:29:15 +0000 (20:29 +0200)]
Trim down default completion styles

3 weeks agoDrop soundex.el
Eshel Yaron [Wed, 23 Jul 2025 18:20:49 +0000 (20:20 +0200)]
Drop soundex.el

4 weeks agoFix bootstrap
Eshel Yaron [Sun, 13 Jul 2025 13:11:05 +0000 (15:11 +0200)]
Fix bootstrap

6 weeks agoelisp-mode.el: Fix handling of deleted files
Eshel Yaron [Sun, 29 Jun 2025 08:29:45 +0000 (10:29 +0200)]
elisp-mode.el: Fix handling of deleted files

6 weeks agoDrop printing.el
Eshel Yaron [Sun, 29 Jun 2025 08:29:27 +0000 (10:29 +0200)]
Drop printing.el

6 weeks agoDrop ERC
Eshel Yaron [Fri, 27 Jun 2025 20:46:39 +0000 (22:46 +0200)]
Drop ERC

6 weeks agoUpdate lisp/ldefs-boot.el
Eshel Yaron [Thu, 26 Jun 2025 12:20:01 +0000 (14:20 +0200)]
Update lisp/ldefs-boot.el

6 weeks agoSupport 's' in 'C-h m' help buffers
Eshel Yaron [Thu, 26 Jun 2025 12:17:09 +0000 (14:17 +0200)]
Support 's' in 'C-h m' help buffers

6 weeks agoDrop pcvs-*.el
Eshel Yaron [Wed, 25 Jun 2025 17:44:18 +0000 (19:44 +0200)]
Drop pcvs-*.el

7 weeks agoscope.el: Handle 'autoload'
Eshel Yaron [Wed, 25 Jun 2025 15:45:05 +0000 (17:45 +0200)]
scope.el: Handle 'autoload'

7 weeks agoWhen navigating to anchor targets in EWW, retain 'eww-data' properties
Jim Porter [Sat, 21 Jun 2025 19:10:59 +0000 (12:10 -0700)]
When navigating to anchor targets in EWW, retain 'eww-data' properties

Previously, navigating to an in-page anchor target would clear
'eww-data', removing many important properties like the original source
and the DOM.  Among other things, this prevented enabling/disabling
readable mode.

* lisp/net/eww.el (eww-follow-link): Copy previous 'eww-data'.

(cherry picked from commit e5ad9ae10090ab34a4d71139e6f928c11f0c029c)