]> git.eshelyaron.com Git - emacs.git/log
emacs.git
7 days ago; Skip commit 61320784ed2a8f5f3dcdeb401579d220e5dc05da
Eshel Yaron [Tue, 4 Mar 2025 20:56:53 +0000 (21:56 +0100)]
; Skip commit 61320784ed2a8f5f3dcdeb401579d220e5dc05da

7 days agokeymaps.texi: Move "Changing Key Bindings" section up
Stefan Kangas [Sat, 1 Mar 2025 05:34:00 +0000 (06:34 +0100)]
keymaps.texi: Move "Changing Key Bindings" section up

* doc/lispref/keymaps.texi (Changing Key Bindings): Move section
up.  (Bug#52821)

(cherry picked from commit 526eeedf88941daf2a77ac5a6c2ba8237ed4814d)

7 days agokeymaps.texi: Move "Key Sequences" section down
Stefan Kangas [Sat, 1 Mar 2025 05:28:17 +0000 (06:28 +0100)]
keymaps.texi: Move "Key Sequences" section down

* doc/lispref/keymaps.texi (Key Sequences): Move section
down.  (Bug#52821)

(cherry picked from commit 7ec6531c7bd99ff13e73b9cc2f00d49d2472565f)

7 days agoImprove process-get/process-put docstrings
Stefan Kangas [Sat, 1 Mar 2025 01:01:30 +0000 (02:01 +0100)]
Improve process-get/process-put docstrings

* lisp/subr.el (process-get, process-put): Explain the purpose of these
functions in the docstring.

(cherry picked from commit 8b804011275f9f7b5dda1f03e1d6118cae2846c5)

7 days agoFix handling of delta values with negative month field
Łukasz Stelmach [Wed, 7 Feb 2024 13:37:39 +0000 (14:37 +0100)]
Fix handling of delta values with negative month field

* lisp/calendar/time-date.el (decoded-time-add): If the new
variable is less then zero, the year needs to be decremented
by quotient of new and 12 increased by one.
* test/lisp/calendar/time-date-tests.el (test-decoded-add):
Add applicable test cases.  (Bug#68969)

(cherry picked from commit bc33b70b280933470b252f2a877fd50e4aed42ba)

7 days agogrep: Signal error if unable to access directory
Stefan Kangas [Sat, 1 Mar 2025 02:22:30 +0000 (03:22 +0100)]
grep: Signal error if unable to access directory

* lisp/progmodes/grep.el (lgrep, rgrep): grep: Signal error if unable to
access directory, instead of just trying to use default-directory,
because that level of DWIMishness is confusing.  (Bug#71078)

(cherry picked from commit c0ca272bd7cbab5a2013e112f171e1d7fda65216)

7 days ago; Fix an interactive spec (Bug#71373)
Stefan Kangas [Sat, 1 Mar 2025 02:10:35 +0000 (03:10 +0100)]
; Fix an interactive spec (Bug#71373)

(cherry picked from commit 22c98747601dfdc7ac90b22168a6ec1ca13e0e59)

7 days agoMake '(setf (process-get ...) VAL)' return VAL
Stefan Kangas [Sat, 1 Mar 2025 01:05:28 +0000 (02:05 +0100)]
Make '(setf (process-get ...) VAL)' return VAL

* lisp/emacs-lisp/gv.el (process-get): Return only the last value
when set as a generalized variable.  (Bug#76643)

(cherry picked from commit 77f597ee3de04f6a8dee27b5a5f601911d74c6f5)

7 days ago* test/src/editfns-tests.el (editfns--replace-region): New test
Stefan Monnier [Fri, 28 Feb 2025 22:10:56 +0000 (17:10 -0500)]
* test/src/editfns-tests.el (editfns--replace-region): New test

This test fails, sadly, because `replace-buffer-contents` is not
careful enough to something like `replace_range`.

(cherry picked from commit 1cfbbcfaf657e767ed5743565b62eeecde3a4ef5)

7 days ago; Skip commit 5f165caf316f9da6f04f4d6c5a0fa786f6f197b9
Eshel Yaron [Tue, 4 Mar 2025 20:55:57 +0000 (21:55 +0100)]
; Skip commit 5f165caf316f9da6f04f4d6c5a0fa786f6f197b9

7 days ago; Grammar fixes for "native-compiled"
Stefan Kangas [Fri, 28 Feb 2025 18:59:12 +0000 (19:59 +0100)]
; Grammar fixes for "native-compiled"

1. Prefer "native-compiled" to "native compiled".
The adjective "native-compiled" with the hyphen is generally more
consistent with the typical pattern in English, especially when the
compound modifies a noun (e.g., "native-compiled code").

2. Prefer "natively compiled" to "natively-compiled".
The adverb "natively" modifies "compiled", and it is standard not
to hyphenate an adverb + adjective combination when the adverb ends
in -ly (e.g., "code that is natively compiled").

For example, note that we say "high-speed internet" but "highly
performant code".

* Makefile.in (dest):
* configure.ac (HAVE_NATIVE_COMP):
* doc/emacs/building.texi (Lisp Libraries):
* doc/lispref/compile.texi (Native Compilation)
(Native-Compilation Functions, Native-Compilation Variables):
* doc/lispref/functions.texi (What Is a Function, Declare Form):
* doc/lispref/loading.texi (How Programs Do Loading, Library Search):
* etc/NEWS:
* etc/NEWS.28:
* etc/NEWS.29:
* etc/NEWS.30:
* lisp/emacs-lisp/comp-common.el (native-comp-never-optimize-functions)
(comp-function-type-spec):
* lisp/emacs-lisp/comp-cstr.el:
* lisp/subr.el (locate-eln-file):
* src/comp.c (SETJMP_NAME, syms_of_comp):
* src/data.c (Fsubrp, Fnative_comp_function_p, Fsubr_native_lambda_list):
* src/lread.c (Fload):
* src/pdumper.c (dump_do_dump_relocation):
* test/src/comp-tests.el (lambda-return2): Avoid grammatically incorrect
variations on "natively compiled" and "native-compiled".  (Bug#56727)

(cherry picked from commit 678fdcc16594aaedb319fe145d039aa118174f5d)

7 days agoUpdate .gitattributes
Eshel Yaron [Tue, 4 Mar 2025 20:53:16 +0000 (21:53 +0100)]
Update .gitattributes

7 days ago(completion-preview-sort-function): Refine ':type'.
Eshel Yaron [Fri, 28 Feb 2025 17:59:11 +0000 (18:59 +0100)]
(completion-preview-sort-function): Refine ':type'.

* lisp/completion-preview.el
(completion-preview-sort-function): Add some specific sort
functions as available choices for this user option.

Suggested by Robert Pluim <rpluim@gmail.com>.

(cherry picked from commit 0b0bf7c07f2ecaca1e9b25d72139af0dd7e49832)

7 days ago; Silence byte-compiler during bootstrap
Stefan Kangas [Fri, 28 Feb 2025 17:42:18 +0000 (18:42 +0100)]
; Silence byte-compiler during bootstrap

(cherry picked from commit 3a5cf24735809d79a8603f6b17079708fa0cce0a)

7 days ago; Skip commit 85ef06392a07e2405dd03c7a1efe76348e001d19
Eshel Yaron [Tue, 4 Mar 2025 20:52:12 +0000 (21:52 +0100)]
; Skip commit 85ef06392a07e2405dd03c7a1efe76348e001d19

7 days ago; Skip commit 2435749efa5b082b520bb1e40db3d3c839023c04
Eshel Yaron [Tue, 4 Mar 2025 20:52:09 +0000 (21:52 +0100)]
; Skip commit 2435749efa5b082b520bb1e40db3d3c839023c04

7 days agoLift widget functions from C to Lisp
Stefan Kangas [Fri, 28 Feb 2025 17:28:58 +0000 (18:28 +0100)]
Lift widget functions from C to Lisp

In the mid-1990s, these functions were moved from Lisp to C to
"improve performance".  However, Moore's Law, and perhaps other
improvements too, has made this rationale irrelevant.

On this machine, with --native-compilation=no, I observed only a
slight ~4% performance difference.  For example, displaying a buffer
full of widgets (e.g., 'M-x customize RET browse-url RET') takes 4ms
here, meaning the performance gap is under 0.1ms.  Even on less
powerful machines, this difference would remain imperceptible.  Given
this, let's lift these functions back to to Lisp, which offers the
usual benefits.

We already have solid test coverage, but let's add a more focused test
for 'widget-get' and 'widget-put' to be thorough.

* lisp/wid-edit.el (widget-put, widget-get, widget-apply): Move to
Lisp from...
* src/fns.c (Fwidget_put, Fwidget_get, Fwidget_apply): ...here.
(syms_of_fns): Remove defsubrs for the above functions.
* test/lisp/wid-edit-tests.el
(widget-test-editable-field-widget-get/put): New test.

(cherry picked from commit 8b659313b83c82cfe09af1638289fccdfc9af23d)

7 days agoFix recent change in diff-no-select
Michael Albinus [Fri, 28 Feb 2025 17:03:54 +0000 (18:03 +0100)]
Fix recent change in diff-no-select

* lisp/vc/diff.el (diff-no-select): Keep initial default directory
in *Diff* buffer.

(cherry picked from commit 0af5c5749988180c6a2f7c50b7e1c8163b4c5bf1)

7 days ago; Adapt last change
Michael Albinus [Fri, 28 Feb 2025 16:47:42 +0000 (17:47 +0100)]
; Adapt last change

(cherry picked from commit 92a8d24e4948dd9e7fa8bdbadac48f9eed19fa49)

7 days ago; Skip commit c8cec840d7972d5cca0c255a19fd521703c7628c
Eshel Yaron [Tue, 4 Mar 2025 20:51:48 +0000 (21:51 +0100)]
; Skip commit c8cec840d7972d5cca0c255a19fd521703c7628c

7 days ago* lisp/proced.el (proced-<): Check, that NUM1 and NUM2 are numbers.
Michael Albinus [Fri, 28 Feb 2025 14:32:35 +0000 (15:32 +0100)]
* lisp/proced.el (proced-<): Check, that NUM1 and NUM2 are numbers.

(Bug#76549)

(cherry picked from commit 5247da2e3cd2705278bb68e0c5313a6972a6d43c)

7 days agoFix the values and documentation of 'printable-chars' table
Eli Zaretskii [Fri, 28 Feb 2025 14:22:30 +0000 (16:22 +0200)]
Fix the values and documentation of 'printable-chars' table

* src/character.c (syms_of_character) <printable-chars>: Doc fix.

* lisp/international/characters.el (printable-chars): Fix values
for non-ASCII characters.

* doc/lispref/nonascii.texi (Character Properties): Add
cross-reference for what is a printable character.
* doc/lispref/display.texi (Usual Display):
* doc/lispref/searching.texi (Char Classes): Add indexing.
(Bug#76611)

(cherry picked from commit 68a37760dec83a8126b03bcacc60a96644a6831f)

7 days agoAdapt process-tests to Android
Po Lu [Fri, 28 Feb 2025 13:05:55 +0000 (21:05 +0800)]
Adapt process-tests to Android

* src/android.c (android_init_thread_events)
(android_run_select_thread): Guarantee that the select thread is
initialized before returning.

* test/src/process-tests.el
(process-tests/fd-setsize-no-crash/make-process)
(process-tests/fd-setsize-no-crash/make-pipe-process)
(process-tests/fd-setsize-no-crash/make-network-process)
(process-tests/fd-setsize-no-crash/make-serial-process): Skip on
Android.

(cherry picked from commit 18c8c44bef9b85adf3cff65f08b7f6a8c59687db)

7 days agoFix 'internal--c-header-file-path'
Eli Zaretskii [Fri, 28 Feb 2025 12:45:39 +0000 (14:45 +0200)]
Fix 'internal--c-header-file-path'

* lisp/subr.el (internal--c-header-file-path): Fix for MS-Windows:
don't prepend the (usually non-existent) "/usr/include", and run
each directory through 'expand-file-name' to remove the many ".."
elements and mirror any backslashes.  Invoke "clang" if "gcc" is
not available or is actually clang.

* test/lisp/subr-tests.el
(subr-tests-internal--c-header-file-path): Fix for MS-Windows:
test the path by looking for stdio.h, and expand all directory
names to compare to expected results.

(cherry picked from commit a04e8812ee0dfb7f2984d0b57b380cf15c73567c)

7 days ago; Skip commit 387dcb1be88168f2683af52041b4f5a6e3bde146
Eshel Yaron [Tue, 4 Mar 2025 20:51:21 +0000 (21:51 +0100)]
; Skip commit 387dcb1be88168f2683af52041b4f5a6e3bde146

7 days agoFully support Lisp threads on Android
Po Lu [Fri, 28 Feb 2025 11:49:34 +0000 (19:49 +0800)]
Fully support Lisp threads on Android

* src/android.c (struct android_thread_event_queue): New
structure.  Move global pselect arguments, mutexes, and
semaphores, and pipes here.
(struct android_event_queue) <select_mutex, select_thread>:
Remove to the above-named struct.
(android_init_thread_events, android_finalize_thread_events)
(android_get_poll_thread): New functions.
(android_run_select_thread): Accept a set of mutexes and
thread-local data as the first argument, and operate with them
rather than globals.
(android_handle_sigusr1): Rename to
`android_handle_poll_signal'.  Set thread-specific cancellation
indicator.
(android_init_events): Properly abort after a fatal condition.
Enable interruptible polling on Android 5.1 and later, not 4.2.
(android_select): Never check for queries here, but in
thread_select, if threads are enabled.  Adapt to per-thread
polling threads and only enable interruptible polling on Android
5.1 and later.
(android_before_select): New function.

* src/android.h (android_before_select): New declaration.

* src/thread.c (thread_select): Call `android_before_select'
before the global lock is released.

(cherry picked from commit 8df582a46836e312ef3bfc36c8038b5f4a2c0d9b)

7 days agoRecommend secure-hash in md5 docstring
Stefan Kangas [Fri, 28 Feb 2025 04:21:48 +0000 (05:21 +0100)]
Recommend secure-hash in md5 docstring

* src/fns.c (Fmd5): Repeat explanation from manual about md5 being
"semi-obsolete", and recommend using secure-hash instead.

(cherry picked from commit 6f5c322f5974786290b1b3e68b5a0685ddec3410)

7 days agoImprove docstring of add-hook and remove-hook
Tomas Nordin [Thu, 27 Feb 2025 21:06:25 +0000 (22:06 +0100)]
Improve docstring of add-hook and remove-hook

* lisp/subr.el (add-hook, remove-hook): Remove detail about setting to
nil and talk about functions instead of hooks.  (Bug#72915)

(cherry picked from commit 1352b184f3f7bd1e31ee71ee4b60491dacaf347b)

7 days agoFix fns-tests-collate-strings failure with musl
Paul Eggert [Thu, 27 Feb 2025 18:57:19 +0000 (10:57 -0800)]
Fix fns-tests-collate-strings failure with musl

* test/src/fns-tests.el (fns-tests-collate-strings):
Don’t assume "en_XY.UTF-8", or any particular string,
is an invalid locale, as they all seem to be valid in musl.
Instead, simply test that a non-string is invalid.
(Bug#76550)

(cherry picked from commit 62b3d3136fae8830d63f69143b09e99b5173c537)

7 days ago; (completion-preview-complete): Fix bug#76606
Eshel Yaron [Thu, 27 Feb 2025 14:34:24 +0000 (15:34 +0100)]
; (completion-preview-complete): Fix bug#76606

* lisp/completion-preview.el (completion-preview-complete):
Dismiss completion preview before calling ':exit-function'.
This eliminates potential flicker with slow exit functions
and avoids the broken preview update reported in bug#76606.

(cherry picked from commit 840c6824589c9a82deedc5112891d8014d134746)

7 days ago; Fix indentation in cl.texi example
Stefan Kangas [Wed, 26 Feb 2025 17:31:48 +0000 (18:31 +0100)]
; Fix indentation in cl.texi example

(cherry picked from commit fa42626a6a8d60c9ab313f39b64c12be32054442)

7 days ago; Fix my last commit
Stefan Kangas [Wed, 26 Feb 2025 16:49:56 +0000 (17:49 +0100)]
; Fix my last commit

(cherry picked from commit 7ff806da496619f9109b2075c3ff5b803506d258)

7 days ago; Fix documentation of 'buffer-text-pixel-size'
Eli Zaretskii [Wed, 26 Feb 2025 12:52:26 +0000 (14:52 +0200)]
; Fix documentation of 'buffer-text-pixel-size'

* doc/lispref/display.texi (Size of Displayed Text): Fix arguments
of 'buffer-text-pixel-size'.  (Bug#76519)

(cherry picked from commit f88dc0f2f9d28d0988cca54c5b9fc1ba85ce3d7e)

7 days ago; Minor Android documentation improvements
Po Lu [Wed, 26 Feb 2025 07:10:27 +0000 (15:10 +0800)]
; Minor Android documentation improvements

* doc/emacs/android.texi (Android Startup, Android File System)
(Android Document Providers): Improve phrasing.

(cherry picked from commit 734986349fd460e5c1f65f315e16817320026444)

7 days ago; Fix up emacs-lisp-mode docstring
Stefan Kangas [Wed, 26 Feb 2025 02:31:57 +0000 (03:31 +0100)]
; Fix up emacs-lisp-mode docstring

* lisp/progmodes/elisp-mode.el (emacs-lisp-mode, lisp-interaction-mode):
Fix up docstring slightly by removing redundant and misplaced word
"Commands", and prefix list with dashes.

(cherry picked from commit a90da8990342c7fc0aa51ae92a0849de346a8d8b)

7 days ago; Skip commit 58c7acb55543bddf4280e90c219ee5023d4898f9
Eshel Yaron [Tue, 4 Mar 2025 20:50:07 +0000 (21:50 +0100)]
; Skip commit 58c7acb55543bddf4280e90c219ee5023d4898f9

7 days agoFix ert-font-lock macro signatures
Basil L. Contovounesios [Thu, 20 Feb 2025 09:29:54 +0000 (10:29 +0100)]
Fix ert-font-lock macro signatures

* doc/misc/ert.texi (Syntax Highlighting Tests):
* test/lisp/emacs-lisp/ert-font-lock-tests.el
(test-line-comment-p--emacs-lisp, test-line-comment-p--shell-script)
(test-line-comment-p--javascript, test-line-comment-p--python)
(test-line-comment-p--c, test-macro-test--correct-highlighting)
(test-macro-test--docstring, test-macro-test--failing)
(test-macro-test--file, test-macro-test--file-no-asserts)
(test-macro-test--file-failing): Reindent macro calls.
(with-temp-buffer-str-mode): Evaluate macro arguments left-to-right.
(ert-font-lock--wrap-begin-end): Use rx for more robust composition.
(test-line-comment-p--php): Require that php-mode is callable, not
already loaded.

* lisp/emacs-lisp/ert-font-lock.el (ert-font-lock-deftest)
(ert-font-lock-deftest-file): NAME is not followed by an empty list
like in ert-deftest, so the optional DOCSTRING is actually the
second argument.  Adapt calling convention in docstring, and debug,
doc-string, and indent properties accordingly (bug#76372).  Fix
docstring grammar, document MAJOR-MODE, and avoid referring to a
file name as a path.

(cherry picked from commit 02c830ba22b0564f6725cd403beba4accb836061)

7 days agoFix a typo in 'window_text_pixel_size'
Eli Zaretskii [Mon, 24 Feb 2025 19:02:14 +0000 (21:02 +0200)]
Fix a typo in 'window_text_pixel_size'

This typo caused strange mis-behaviors in buffers
with non-ASCII characters.
* src/xdisp.c (window_text_pixel_size): Fix typo.  (Bug#76519)

(cherry picked from commit 0c6b8643aec24935f82c63d43219f26378e3e578)

7 days ago; Add Rudolf Schlatte to authors.el
Stefan Kangas [Mon, 24 Feb 2025 17:26:14 +0000 (18:26 +0100)]
; Add Rudolf Schlatte to authors.el

* admin/authors.el (authors-aliases): Add Rudolf Schlatte.

(cherry picked from commit 8a8c25eaccd7adee45a291ba97e828528083f4d9)

7 days ago* doc/misc/efaq.texi (New in Emacs 30): Fix typo. (Bug#76518)
Ulrich Müller [Mon, 24 Feb 2025 09:32:47 +0000 (10:32 +0100)]
* doc/misc/efaq.texi (New in Emacs 30): Fix typo.  (Bug#76518)

(cherry picked from commit 94c0ea39a5af6f0979e769fc8a053ac60b561367)

7 days ago; * etc/images/README (Files): Add an entry for last-page.xpm
Sean Whitton [Mon, 24 Feb 2025 06:20:44 +0000 (14:20 +0800)]
; * etc/images/README (Files): Add an entry for last-page.xpm

(cherry picked from commit 0be5f9115ec8828bcc50389ca30f76fa1ad5f364)

7 days ago; Reflow some cl-lib docstrings
Stefan Kangas [Mon, 24 Feb 2025 02:45:18 +0000 (03:45 +0100)]
; Reflow some cl-lib docstrings

* lisp/emacs-lisp/cl-macs.el (cl-flet, cl-labels): Reflow docstrings.

(cherry picked from commit 63adf9dcf53ac64585803fe5f9ad0acb107a9f9f)

7 days ago; Skip commit d63b27a416b1677bfb1e96194ce009f1609b2e10
Eshel Yaron [Tue, 4 Mar 2025 20:48:57 +0000 (21:48 +0100)]
; Skip commit d63b27a416b1677bfb1e96194ce009f1609b2e10

7 days ago; * etc/TODO: New section "Make it easier to contribute".
Stefan Kangas [Sun, 23 Feb 2025 05:19:26 +0000 (06:19 +0100)]
; * etc/TODO: New section "Make it easier to contribute".

(cherry picked from commit 99253f79703535ab7bd500fc39b33dc0a966333d)

7 days agoConstant highlighting no longer captures Java annotations
Vincenzo Pupillo [Wed, 22 Jan 2025 15:14:41 +0000 (16:14 +0100)]
Constant highlighting no longer captures Java annotations

* lisp/progmodes/java-ts-mode.el
(java-ts-mode--fontify-constant): New function.
(java-ts-mode--font-lock-settings): Use it.

(cherry picked from commit 563b6f94511b76266984bc6764ec2a9391448138)

7 days agoMinor refactoring in admin/admin.el
Stefan Kangas [Thu, 20 Feb 2025 01:13:29 +0000 (02:13 +0100)]
Minor refactoring in admin/admin.el

* admin/admin.el (admin--read-root-directory):
(admin--read-version): New functions.
(add-release-logs, set-version, set-copyright, make-manuals)
(make-manuals-dist, make-news-html-file): Use above new function.

(cherry picked from commit e9c9ed1f46853793cb4b064718c990cc2cd17f59)

7 days agoImprove wording of lsh docstring
Stefan Kangas [Sat, 22 Feb 2025 17:15:37 +0000 (18:15 +0100)]
Improve wording of lsh docstring

* lisp/subr.el (lsh): Improve wording of docstring.

(cherry picked from commit e15dcb2db5c40e90ea2a21391af5addb9e778779)

7 days ago; Skip commit ac7f2054b52d5105007b004dd229674e58472f7c
Eshel Yaron [Tue, 4 Mar 2025 20:47:46 +0000 (21:47 +0100)]
; Skip commit ac7f2054b52d5105007b004dd229674e58472f7c

7 days ago; * admin/make-tarball.txt: Copy edits.
Stefan Kangas [Thu, 20 Feb 2025 00:53:57 +0000 (01:53 +0100)]
; * admin/make-tarball.txt: Copy edits.

(cherry picked from commit a8b1726487b85aa6822431af1a213e1d15713d93)

7 days ago; * admin/check-doc-strings: Add note for future development.
Stefan Kangas [Sat, 22 Feb 2025 13:41:34 +0000 (14:41 +0100)]
; * admin/check-doc-strings: Add note for future development.

(cherry picked from commit 0cc651acddb87180357ab8ff4adcbac8d6174e50)

7 days agoDon't document deleted xwidget functions
Stefan Kangas [Sat, 22 Feb 2025 03:16:21 +0000 (04:16 +0100)]
Don't document deleted xwidget functions

* doc/lispref/display.texi (Xwidgets): Don't document deleted function
xwidget-webkit-execute-script-rv.  Fix name of deleted and then re-added
function xwidget-webkit-title.

(cherry picked from commit 3c9b1c3cd18f42dd0cced43b0f1d4c2df9e5cc2d)

7 days ago; Improve lsh and ash documented argument names
Stefan Kangas [Sat, 22 Feb 2025 02:41:41 +0000 (03:41 +0100)]
; Improve lsh and ash documented argument names

* doc/lispref/numbers.texi (Bitwise Operations): Improve lsh and
ash argument names.

(cherry picked from commit 9e9b78dda94fb1fe0b68f23fc004f87a94e633b5)

7 days ago; Skip commit 2db182ce0bd1c4fca0344c81eaebc442c98d3caf
Eshel Yaron [Tue, 4 Mar 2025 20:47:16 +0000 (21:47 +0100)]
; Skip commit 2db182ce0bd1c4fca0344c81eaebc442c98d3caf

8 days agoRelease Emacs 30.1
Stefan Kangas [Sun, 23 Feb 2025 16:29:57 +0000 (17:29 +0100)]
Release Emacs 30.1

* ChangeLog.5: New file.
* Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump.
* etc/HISTORY: Add Emacs 30.1.

(cherry picked from commit 8ac894e2246f25d2a2a97d866b10e6e0b0fede5a)

8 days ago; Skip commit bcba098505e4f80eef41e4be9726f1f9868223f3
Eshel Yaron [Tue, 4 Mar 2025 15:29:59 +0000 (16:29 +0100)]
; Skip commit bcba098505e4f80eef41e4be9726f1f9868223f3

8 days ago; Skip commit 1cda0967b4d3c815fc610794ad6a8fc2b913a3c5
Eshel Yaron [Tue, 4 Mar 2025 15:29:56 +0000 (16:29 +0100)]
; Skip commit 1cda0967b4d3c815fc610794ad6a8fc2b913a3c5

8 days agoUse character position for ranges in treesit_sync_visible_region
Yuan Fu [Sun, 23 Feb 2025 07:24:38 +0000 (23:24 -0800)]
Use character position for ranges in treesit_sync_visible_region

* src/treesit.c (treesit_sync_visible_region): Use character position
instead of byte position when comparing to ranges, because the
ranges are in character position.

(cherry picked from commit 2dbf7d0b1b26a9676fbdb56a5955f3f24f521cc4)

8 days agoAdd minibuffer action for 'shortdoc'
Eshel Yaron [Tue, 4 Mar 2025 15:06:04 +0000 (16:06 +0100)]
Add minibuffer action for 'shortdoc'

8 days agoImprove elisp CAPF sorting
Eshel Yaron [Tue, 4 Mar 2025 15:05:47 +0000 (16:05 +0100)]
Improve elisp CAPF sorting

11 days agoFix 'lisp-kill-line'
Eshel Yaron [Fri, 28 Feb 2025 19:18:49 +0000 (20:18 +0100)]
Fix 'lisp-kill-line'

11 days ago* lisp/emacs-lisp/scope.el: Recognize 'add-to-history'
Eshel Yaron [Fri, 28 Feb 2025 18:57:43 +0000 (19:57 +0100)]
* lisp/emacs-lisp/scope.el: Recognize 'add-to-history'

12 days agoMake 'completion-preview-sort-function' a defcustom
Eshel Yaron [Fri, 28 Feb 2025 11:07:31 +0000 (12:07 +0100)]
Make 'completion-preview-sort-function' a defcustom

* lisp/completion-preview.el
(completion-preview-sort-function): Define and document it
as a user option.
* etc/NEWS: Announce.

(cherry picked from commit 8b9194ae03214dd5169bd84f7d83bbe660dd9f90)

12 days ago* lisp/net/tramp.el (tramp-mode): Set to nil on MS-DOS.
Michael Albinus [Fri, 28 Feb 2025 09:38:04 +0000 (10:38 +0100)]
* lisp/net/tramp.el (tramp-mode): Set to nil on MS-DOS.

(cherry picked from commit 5447b015a44d411606687999a7a5803d19899f23)

12 days ago; Recommend not to use -O3 in production builds
Eli Zaretskii [Fri, 28 Feb 2025 07:35:05 +0000 (09:35 +0200)]
; Recommend not to use -O3 in production builds

* nt/INSTALL:
* INSTALL: Recommend not to use -O3 and -Os in ordinary production
builds.  (Bug#76559)

(cherry picked from commit 75a314dc8a9d82449630631f9c41b26d512bdb87)

12 days ago; Fix documentation of recent treesit changes
Eli Zaretskii [Fri, 28 Feb 2025 07:12:05 +0000 (09:12 +0200)]
; Fix documentation of recent treesit changes

* src/treesit.c (Ftreesit_query_capture)
(Ftreesit_parser_embed_level, Ftreesit_parser_set_embed_level)
(Ftreesit_parser_set_parent_node):
* lisp/treesit.el (treesit-query-range)
(treesit-query-range-by-language, treesit-range-settings)
(treesit-range-rules, treesit--parser-at-level)
(treesit--update-ranges-non-local, treesit--update-ranges-local)
(treesit--update-range-1): Fix wording and typos in doc strings.

* doc/lispref/parsing.texi (Pattern Matching): Fix wording.

(cherry picked from commit 6ed119d3052ffebd20450ec0c7fb3abf863b3a49)

12 days agoRemove Emacs 23 compat code from ox-publish.el
Stefan Kangas [Fri, 28 Feb 2025 02:02:15 +0000 (03:02 +0100)]
Remove Emacs 23 compat code from ox-publish.el

* lisp/org/ox-publish.el (org-publish-timestamp-filename): Remove
Emacs 23 compat code.

(cherry picked from commit becdfb11a5b13bc773729236763e99e513806451)

12 days agoDon't use incf/decf in eldoc.el
Stefan Kangas [Fri, 28 Feb 2025 01:20:40 +0000 (02:20 +0100)]
Don't use incf/decf in eldoc.el

* lisp/emacs-lisp/eldoc.el (eldoc--invoke-strategy): Don't use incf or
decf.  This is a :core package and supports Emacs 26.3.  (Bug#76604)

(cherry picked from commit 64edd5a5eb832c2ca9f4495c17e880a86179f826)

12 days agoAdd test for apply-partially
Stefan Kangas [Thu, 27 Feb 2025 23:33:00 +0000 (00:33 +0100)]
Add test for apply-partially

* test/lisp/subr-tests.el (subr-test-apply-partially): New test.

(cherry picked from commit 4ea2197f726835951ea55e04b88d212778676da1)

12 days agoSupport alternative range function for tree-sitter range settings
Yuan Fu [Fri, 28 Feb 2025 01:18:28 +0000 (17:18 -0800)]
Support alternative range function for tree-sitter range settings

Some embedded parser needs to exclude child nodes from the
range, like markdown-inline.  So I added this keyword that
allows users to customize the range for the embedded parser.
This can also be potentially useful for markdown comments in
rust, for example, because we want to exclude the comment
starters (//) from the embedded markdown parser.

* lisp/treesit.el (treesit-query-range):
(treesit-query-range-by-language): Add new parameter RANGE-FN.
(treesit-range-settings): Add new field RANGE-FN.
(treesit-range-rules): Add new keyword RANGE-FN.
(treesit-range-fn-exclude-children): New function.
(treesit--update-ranges-non-local):
(treesit--update-ranges-local):
(treesit--update-range-1): Support the RANGE-FN field.

(cherry picked from commit 8a3e19f4b39be68c22e056d56adb86397e25a673)

12 days agoMake treesit-node-at take advantage of the embed-level property
Yuan Fu [Thu, 27 Feb 2025 12:06:36 +0000 (04:06 -0800)]
Make treesit-node-at take advantage of the embed-level property

* lisp/treesit.el (treesit-node-at): Select the local parser
with the highest embed-level.

(cherry picked from commit 8a45c2da226e188420956fd6269f72db3f437e38)

12 days agoRework range facility in treesit.el to support arbitrary nesting
Yuan Fu [Thu, 27 Feb 2025 11:10:47 +0000 (03:10 -0800)]
Rework range facility in treesit.el to support arbitrary nesting

Make use of the newly added embed-level parser property, we now
iterativeLy create/update embedded parsers at each embed level,
allowing arbitrary levels of nesting.

At the beginning, we start with the primary parser.  We query it
with each range settings, gets some ranges and their
corresponding language. Then we create the first level of
embedded parsers using the ranges and language we got.  This is
one iteration. For the next iteration/level, we start with the
embedded parsers we create/updated in the previous
iteration/level, and query each of them with each of the range
settings, creating/updating the next level of embedded parsers.
And we keep doing this until we don't get more matches from the
queries.

We now also support the :embed keyword in 'treesit-range-rules'
to be a function that returns a language.  This allows major
modes like markdown and org mode to support code blocks of which
the language isn't known ahead of time.

* lisp/treesit.el (treesit-primary-parser): Move to front.
(treesit-query-range-by-language): New function.
(treesit-range-rules): Allow :embed to be a function, update docstring.
(treesit-local-parsers-on): Update docstring.
(treesit--parser-at-level):
(treesit--update-ranges-non-local): New functions.
(treesit--update-ranges-local): Use the new logic, support
:embed being a function.
(treesit--update-range-1): New function, has the meat of
original treesit-update-ranges.
(treesit-update-ranges): Implements the iteration logic using
treesit--update-range-1 to do the actual work.

(cherry picked from commit 1314272bf398e068385572ca16d4dfcd55a48828)

12 days agoEnable treesit-query-capture to return grouped captures
Yuan Fu [Thu, 27 Feb 2025 11:07:34 +0000 (03:07 -0800)]
Enable treesit-query-capture to return grouped captures

This is needed for creating embedded parsers for embedded code
blocks of which language cannot be known ahead of time.  E.g.,
markdown and org mode's code block.

* src/treesit.c (Ftreesit_query_capture): Add parameter GROUPED.

(cherry picked from commit 625b2b02a3c9bad6d7abf57ea7f95ece29855906)

12 days agoAdd tree-sitter-parser-embed-level and parent-node
Yuan Fu [Thu, 27 Feb 2025 11:05:26 +0000 (03:05 -0800)]
Add tree-sitter-parser-embed-level and parent-node

Add parser properties embed-level and parent-node. They'll be
help us implement arbitrarily nested embeded parser, and
navigation across embedded and host parsers, respectively.

* src/treesit.c:
(Ftreesit_parser_embed_level):
(Ftreesit_parser_set_embed_level):
(Ftreesit_parser_parent_node):
(Ftreesit_parser_set_parent_node): New functions.

(cherry picked from commit 30e1508ef2d40e221736cea2c50c64941d7d2f0d)

12 days agoDon't overwrite non-local exit symbol and data (Bug#65796).
Philipp Stephani [Thu, 30 Jan 2025 15:12:49 +0000 (16:12 +0100)]
Don't overwrite non-local exit symbol and data (Bug#65796).

The previous approach would incorrectly invalidate the returned module
values if another non-local exit occurred while dealing with a non-local
exit.  See Bug#65796.  Instead, allocate the values from the usual
environment storage, and return statically-allocated objects if that
fails.

* src/emacs-module.c (struct emacs_env_private): Turn non-local exit
symbol and data into normal Lisp objects.
(initialize_environment): Initialize them.
(mark_module_environment): Prevent them from being garbage-collected.
(module_signal_or_throw, module_non_local_exit_signal_1)
(module_non_local_exit_throw_1): Adapt uses.
(value_to_lisp): No longer scan for them with module assertions enabled.
(module_out_of_memory_signal, module_out_of_memory_data): New
statically-allocated module values to return in case of allocation
failure.
(syms_of_module): Initialize them.
(module_non_local_exit_get): Allocate module values normally.  If that
fails, return statically-allocated values.

* doc/lispref/internals.texi (Module Nonlocal): Document new behavior.

(cherry picked from commit 32da093e524d5e28945557701f7c50d7c4a898cd)

12 days agoRecommend 'tab-bar-history-mode' over 'winner-mode'
Visuwesh [Thu, 20 Feb 2025 14:49:32 +0000 (20:19 +0530)]
Recommend 'tab-bar-history-mode' over 'winner-mode'

* lisp/winner.el (winner-mode):
* lisp/tab-bar.el (tab-bar-mode): Update the docstring to
suggest 'tab-bar-history-mode' instead of 'winner-mode' when
using 'tab-bar-mode' instead.  (Bug#76439)

(cherry picked from commit ea715b0183f6a19d491cad36eb18c2c9cf0f0dd3)

12 days agoFix CSS indentation, added support for CSS 'color_value'.
Vincenzo Pupillo [Wed, 19 Feb 2025 20:47:23 +0000 (21:47 +0100)]
Fix CSS indentation, added support for CSS 'color_value'.

* lisp/textmodes/mhtml-ts-mode.el
(mhtml-ts-mode--colorize-css-value): Added 'color_value' node, refactoring.
(mhtml-ts-mode--treesit-font-lock-settings): Added 'color_value' node.
(mhtml-ts-mode--treesit-indent-rules): Removed the old comment and
fixed the CSS indentation rule (bug#76597).

(cherry picked from commit 5f1a019d26f475f35fe8efc583749321affb6060)

12 days agoDocument :continue-only in use-package Info manual
Paul Nelson [Thu, 27 Feb 2025 09:30:13 +0000 (10:30 +0100)]
Document :continue-only in use-package Info manual

* doc/misc/use-package.texi (Binding to repeat-maps): Document
:continue-only (bug#74140).

(cherry picked from commit 3e1d7e0334d884a17887bd1b9ee6a9b9e3026a30)

12 days agoImprove 'treesit-outline-search'
Juri Linkov [Thu, 27 Feb 2025 17:21:45 +0000 (19:21 +0200)]
Improve 'treesit-outline-search'

* lisp/treesit.el (treesit-outline-search): Add optional arg
'recursive' to avoid infinite recursion when it gets stuck.

* lisp/textmodes/markdown-ts-mode.el (markdown-ts-mode):
Set buffer-local 'treesit-outline-predicate' to "section".

(cherry picked from commit dc1637fef7c658b6d865f3e71f3b95686e56542d)

12 days agoPrevent a todo-mode test from running with 'make check'
Stephen Berman [Thu, 27 Feb 2025 11:13:26 +0000 (12:13 +0100)]
Prevent a todo-mode test from running with 'make check'

* test/lisp/calendar/todo-mode-tests.el
(todo-test-add-and-delete-file): Tag this test as unstable, since
it has been reported to fail unreproducibly (bug#58473) or
reproducibly only on the ZFS filesystem (bug#76381) and the causes
are still unknown.

(cherry picked from commit 4cc5e4ec0bc6c11a19ca0244f60813619acd718d)

12 days agoPrevent a todo-mode test from running with 'make check'
Stephen Berman [Thu, 27 Feb 2025 11:03:24 +0000 (12:03 +0100)]
Prevent a todo-mode test from running with 'make check'

* test/lisp/calendar/todo-mode-tests.el
(todo-test-add-and-delete-file): Tag this test as unstable, since
it has been reported to fail unreproducibly (bug#58473) or
reproducibly only on the ZFS filesystem (bug#76381) and the causes
are still unknown.

(cherry picked from commit 13423cd0197fa69bd6246f0720471b265c328596)

12 days agoPrevent a todo-mode test from running with 'make check'
Stephen Berman [Thu, 27 Feb 2025 10:51:22 +0000 (11:51 +0100)]
Prevent a todo-mode test from running with 'make check'

* test/lisp/calendar/todo-mode-tests.el
(todo-test-add-and-delete-file): Tag this test as unstable, since
it has been reported to fail unreproducibly (bug#58473) or
reproducibly only on the ZFS filesystem (bug#76381) and the causes
are still unknown.

(cherry picked from commit f5f0ba38e0e22c9017d1c8482fbe4432a87ed8af)

12 days agoFix drag-and-drop treatment of reused tooltip frames
Po Lu [Thu, 27 Feb 2025 01:53:41 +0000 (09:53 +0800)]
Fix drag-and-drop treatment of reused tooltip frames

* src/androidfns.c (Fx_show_tip): Set `tip_window' to that of
any reused tooltip frame.

* src/haikufns.c (unwind_create_frame): Return whether the frame
was destroyed, as on X.
(unwind_create_tip_frame, haiku_create_frame, Fx_show_tip):
Synchronize with X.
(do_unwind_create_frame): New function.
(tip_window): Remove unused variable.

* src/nsfns.m (tip_window, unwind_create_tip_frame): Remove
unused variable `tip_window'.

* src/pgtkfns.c (pgtk_create_tip_frame): Rename to
pgtk_create_tip_frame.
(Fx_show_tip): Adjust accordingly.  Set `tip_window' to that of
any reused tooltip frame.

* src/w32fns.c (Fx_show_tip):

* src/xfns.c (Fx_show_tip): Set `tip_window' to that of any
reused tooltip frame.

(cherry picked from commit a4a458ffa4aaeb988ff4b6e6087c44dfdaf40a0b)

12 days agoAdd :continue-only directive to bind-keys and use-package
Paul Nelson [Sat, 22 Feb 2025 22:12:41 +0000 (23:12 +0100)]
Add :continue-only directive to bind-keys and use-package

* lisp/bind-key.el (bind-keys-form): Add :continue-only binding.
Fix indentation.

* lisp/use-package/use-package-bind-key.el
(use-package-normalize-binder): Add check for :continue-only.

* test/lisp/repeat-tests.el (repeat-tests-bind-keys):
Enable (and correct) test for :continue-only (bug#74140).

(cherry picked from commit 85a9b916db126add5a5e2bf4b2b9531ab998cad4)

12 days ago* src/dispnew.c (rect_intersect): Fix a typo (bug#76592)
Gerd Möllmann [Thu, 27 Feb 2025 05:56:02 +0000 (06:56 +0100)]
* src/dispnew.c (rect_intersect): Fix a typo (bug#76592)

(cherry picked from commit 3de9994b9e7acf2a05e6b661a7cd440b7cb0365b)

12 days ago; Whitespace fixes to silence git hooks
Stefan Kangas [Wed, 26 Feb 2025 17:11:22 +0000 (18:11 +0100)]
; Whitespace fixes to silence git hooks

(cherry picked from commit 8c165834913bb0dca214acc4b82ba1d9d4ac0a82)

12 days ago(define-ibuffer-op): Minor tweak to Shipmints's patch
Stefan Monnier [Wed, 26 Feb 2025 14:13:04 +0000 (09:13 -0500)]
(define-ibuffer-op): Minor tweak to Shipmints's patch

* lisp/ibuf-macs.el (define-ibuffer-op): Evaluate `(active-)opstring`
args when defining the operation rather than every time the operation
is used.  Move the `:autoload-end` marker back to the level of `progn`.

(cherry picked from commit 5815bd52279fdedc752f9f92ace86f8243fbd604)

12 days agoImprove 'define-ibuffer-op' macro (bug#76222)
shipmints [Mon, 24 Feb 2025 22:45:54 +0000 (17:45 -0500)]
Improve 'define-ibuffer-op' macro (bug#76222)

* lisp/ibuf-macs.el (define-ibuffer-op):
Change defun to defalias and place it before the macro-local lets.
* lisp/ibuffer.el:
(ibuffer-do-toggle-lock): Remove declare-function.
(ibuffer-do-toggle-read-only): Remove declare-function.
(ibuffer-do-save): Remove declare-function.
(ibuffer-do-delete): Remove declare-function.
(ibuffer-do-toggle-modified): Remove declare-function.
(ibuffer-do-kill-on-deletion-marks): Remove declare-function.

(cherry picked from commit 5d75c6e44da9f27d28ff60d5dee308f2247a1cf5)

12 days ago; * test/infra/android/test-controller.el: Fix typos.
Po Lu [Wed, 26 Feb 2025 13:22:03 +0000 (21:22 +0800)]
; * test/infra/android/test-controller.el: Fix typos.

(cherry picked from commit 7ae069b676a19d9a477d629403e2ff236a5303af)

12 days ago; New function for executing Android tests in batch mode
Po Lu [Wed, 26 Feb 2025 12:41:02 +0000 (20:41 +0800)]
; New function for executing Android tests in batch mode

* test/infra/android/test-controller.el
(ats-execute-tests-batch): New function.

(cherry picked from commit 67b444e2907da1a27fc2db64aae9b4dcf299f2d9)

12 days agoPort Eshell tests to Android
Po Lu [Wed, 26 Feb 2025 08:03:12 +0000 (16:03 +0800)]
Port Eshell tests to Android

* test/infra/android/test-controller.el (ats-run-test): Run
tests in a temp buffer.

* test/lisp/eshell/em-alias-tests.el (ert, em-alias)
(eshell-tests-helpers):

* test/lisp/eshell/em-basic-tests.el (em-basic)
(eshell-tests-helpers):

* test/lisp/eshell/em-cmpl-tests.el (em-unix)
(eshell-tests-helpers):

* test/lisp/eshell/em-dirs-tests.el (em-dirs)
(eshell-tests-helpers):

* test/lisp/eshell/em-extpipe-tests.el (ert-x)
(eshell-tests-helpers):

* test/lisp/eshell/em-glob-tests.el (ert, eshell-tests-helpers):

* test/lisp/eshell/em-hist-tests.el (eshell)
(eshell-tests-helpers):

* test/lisp/eshell/em-pred-tests.el (em-pred)
(eshell-tests-helpers):

* test/lisp/eshell/em-prompt-tests.el (em-prompt)
(eshell-tests-helpers):

* test/lisp/eshell/em-script-tests.el (em-script)
(eshell-tests-helpers):

* test/lisp/eshell/em-unix-tests.el (ert-x)
(eshell-tests-helpers):

* test/lisp/eshell/esh-arg-tests.el (eshell)
(eshell-tests-helpers):

* test/lisp/eshell/esh-cmd-tests.el (eshell)
(eshell-tests-helpers):

* test/lisp/eshell/esh-ext-tests.el (eshell)
(eshell-tests-helpers):

* test/lisp/eshell/esh-io-tests.el (eshell)
(eshell-tests-helpers):

* test/lisp/eshell/esh-mode-tests.el (em-prompt)
(eshell-tests-helpers):

* test/lisp/eshell/esh-proc-tests.el (em-prompt)
(eshell-tests-helpers):

* test/lisp/eshell/esh-util-tests.el (esh-util)
(eshell-tests-helpers):

* test/lisp/eshell/esh-var-tests.el (eshell)
(eshell-tests-helpers):

* test/lisp/eshell/eshell-tests.el (esh-mode)
(eshell-tests-helpers): Load `eshell-tests-helpers' from the
resource directory.

* test/lisp/eshell/resources/eshell-tests-helpers.el: Move from
`test/lisp/eshell'.

(cherry picked from commit 3e496fc31746517440285c2cd9f2b4a09c227d7b)

12 days agoAvoid display bugs after editable-field widgets
Mauro Aranda [Wed, 26 Feb 2025 11:06:14 +0000 (08:06 -0300)]
Avoid display bugs after editable-field widgets

* lisp/wid-edit.el (widget-specify-button): Don't add an
invisible space before the button to avoid bugs that surface
with the widget-field face.  The Widget library is not
the one that puts a :box attribute for the button face, and we
can't control what library users put after editable-field
widgets.

(widget-specify-field): Rather, add the invisible space here,
after the newline.  That way, we protect whatever comes after
the editable-field widget.  (Bug#51550)

(cherry picked from commit 86dd455e9c7402737e2c0c45190fabbf1d3ee8c1)

12 days agoNew macro 'case'
Eshel Yaron [Fri, 28 Feb 2025 09:46:47 +0000 (10:46 +0100)]
New macro 'case'

13 days ago; * lisp/completion-preview.el: Add some commentary.
Eshel Yaron [Wed, 26 Feb 2025 20:14:37 +0000 (21:14 +0100)]
; * lisp/completion-preview.el: Add some commentary.

Clarify the relation of Completion Preview mode with
'completion-at-point' and in-buffer completion interfaces.

13 days ago(lisp-delete-backward): Fix handling of closing string quote
Eshel Yaron [Wed, 26 Feb 2025 19:47:28 +0000 (20:47 +0100)]
(lisp-delete-backward): Fix handling of closing string quote

13 days agoAdd 'help-echo' hint to completion preview
Eshel Yaron [Wed, 26 Feb 2025 19:41:09 +0000 (20:41 +0100)]
Add 'help-echo' hint to completion preview

* lisp/completion-preview.el
(completion-preview--propertize-for-mouse): New function.
* lisp/completion-preview.el (completion-preview--update)
(completion-preview--show)
(completion-preview-partial-insert)
(completion-preview-complete)
(completion-preview-next-candidate): Use it to propertize
completion preview text with mouse-related properties,
including a new 'help-echo' hint.

13 days agoSimplify 'completion-preview-active-mode' command tagging
Eshel Yaron [Wed, 26 Feb 2025 19:11:20 +0000 (20:11 +0100)]
Simplify 'completion-preview-active-mode' command tagging

* lisp/completion-preview.el (completion-preview-insert)
(completion-preview-insert-word)
(completion-preview-insert-sexp)
(completion-preview-complete)
(completion-preview-prev-candidate)
(completion-preview-next-candidate): Use 'interactive' to
associate command with 'completion-preview-active-mode'
instead of using a bespoke 'completion-predicate' property.
(completion-preview-active-p): Declare obsolete.

13 days agoscope.el: Improve cl-loop analysis
Eshel Yaron [Wed, 26 Feb 2025 18:50:28 +0000 (19:50 +0100)]
scope.el: Improve cl-loop analysis

13 days agoAvoid format-mode-line in eglot-mode-line-format
Eshel Yaron [Wed, 26 Feb 2025 11:04:08 +0000 (12:04 +0100)]
Avoid format-mode-line in eglot-mode-line-format

2 weeks ago; Skip commit ea12982ebedd89529c0265dec117db88e7e9ca40
Eshel Yaron [Wed, 26 Feb 2025 09:43:16 +0000 (10:43 +0100)]
; Skip commit ea12982ebedd89529c0265dec117db88e7e9ca40

2 weeks agoMake define-global-minor-mode alias obsolete
Stefan Kangas [Wed, 26 Feb 2025 05:37:52 +0000 (06:37 +0100)]
Make define-global-minor-mode alias obsolete

* lisp/emacs-lisp/easy-mmode.el (define-global-minor-mode): Make alias
for old name obsolete, just in time for its 20th anniversary.
* test/lisp/emacs-lisp/lisp-mode-tests.el (test-font-lock-keywords):
* lisp/progmodes/subword.el (global-subword-mode)
(global-superword-mode): Don't use above obsolete name.
* lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
(lisp-fdefs): Remove syntax highlighting for obsolete name.
* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--make-autoload):
Add comment mentioning the obsolete status of above alias.
* doc/lispref/loading.texi (Autoload): Don't document obsolete name.

(cherry picked from commit b4d1061b82a6accedc14770669f701945b209813)