1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

177236 commits

Author SHA1 Message Date
Po Lu
7fcb01e76b Enable kmacro-call-macro to function in some circumstances
* lisp/kmacro.el (kmacro-call-macro): Enable to function when
the selected frame's terminal is different from that most
recently consulted by the event loop.
2025-03-02 16:05:04 +08:00
Stefan Kangas
558e6792c0 ; Add Maintainer header to loaddefs-gen.el 2025-03-02 06:45:53 +01:00
Stefan Kangas
b7fdddc86b Mark echistory.el as obsolete
* lisp/obsolete/echistory.el: Add Obsolete-since header.
* etc/TODO: Delete echistory.
* etc/NEWS: Announce above obsoletion.  (Bug#76506)
2025-03-02 06:33:46 +01:00
Stefan Kangas
6f8c4581ea Move echistory.el to lisp/obsolete
* lisp/echistory.el: Move from here...
* lisp/obsolete/echistory.el: ...to here.  (Bug#76506)
2025-03-02 06:32:35 +01:00
Stefan Kangas
33222bd000 Document apply-partially as inefficient
* doc/lispref/functions.texi (Calling Functions): Document that it is
less inefficient than a regular 'lambda'.
* lisp/subr.el (apply-partially): Adjust documentation like above and
remove compiler macro.
Ref: https://lists.gnu.org/r/emacs-devel/2025-03/msg00024.html
2025-03-02 05:57:27 +01:00
Stefan Kangas
eff5a3e43b Bump python.el requirement to Emacs 26.3
* lisp/progmodes/python.el: Require Emacs 26.3, flymake 1.0 and
project 0.1.  (Bug#75526)
2025-03-02 05:40:27 +01:00
Pranshu Sharma
d6dd9dd066 Pass buffer as object in gnus-highlight-selected-tree
* lisp/gnus/gnus-salt.el (gnus-highlight-selected-tree): Correctly
pass buffer object instead of string.  (Bug#75557)
2025-03-02 05:02:23 +01:00
Stefan Kangas
735eace97b Make package-install accept a string as well
* lisp/emacs-lisp/package.el (package-install): Allow passing a string
instead of a symbol.  (Bug#72160)
(package-upgrade): Improve docstring.

* test/lisp/emacs-lisp/package-tests.el
(package-test-install-single-from-archive/string-type): New test.
2025-03-02 04:19:35 +01:00
Stefan Kangas
38782e684b Improve use-package error message on wrong type
* lisp/use-package/use-package-core.el (use-package): Improve error
message when passed the wrong type.  (Bug#72160)
2025-03-02 04:07:48 +01:00
David Ponce
be8a7c9c88 Simplify and speed up widget-get implementation
* lisp/wid-edit.el (widget-get): Simplify and speed up.
Ref: https://lists.gnu.org/r/emacs-devel/2025-03/msg00010.html
2025-03-02 02:42:37 +01:00
Stefan Kangas
49e3ef3437 ; Add test for last change
* test/lisp/wid-edit-tests.el
(widget-test-editable-field-widget-get/put): Check return value of
widget-put.  (Bug#76664)
2025-03-02 02:18:30 +01:00
David Ponce
5b13541858 Correctly return passed value from widget-put
* lisp/wid-edit.el (widget-get-indirect): Return passed value to stay
consistent with old C implementation.  (Bug#76664)
2025-03-02 02:18:26 +01:00
Stefan Kangas
10f11d730e ; * etc/symbol-releases.eld: Add missing symbols. 2025-03-02 01:59:13 +01:00
Pip Cet
1e84a87676 Improve instructions for running with -fsanitize=address (bug#76393)
* etc/DEBUG (ASAN_OPTIONS): Add 'detect_stack_use_after_return=0'
requirement.  Remove obsolete unexec commentary.
2025-03-01 21:39:23 +00:00
Daniel Colascione
3545988740 Make Emacs respond to NS activation clicks
* src/nsterm.m (acceptsFirstMouse): Opt into receiving mouse events that
activate the window. (bug#76629)
2025-03-01 12:55:15 -05:00
Eli Zaretskii
6a2f6056c5 Provide tool-tip display delays on TTY frames
* lisp/tooltip.el (tooltip-show, tooltip-hide)
(tooltip-show-help): Support delayed tool-tip display on TTY
frames as well.  (Bug#76653)

* etc/NEWS: Announce the behavior change.
2025-03-01 17:16:08 +02:00
Eli Zaretskii
503622a101 ; * etc/NEWS.30: Fix last merge. 2025-03-01 10:09:16 -05:00
Eli Zaretskii
2095d0fcc6 Merge from origin/emacs-30
0460177451 ; * lisp/progmodes/java-ts-mode.el (treesit-node-end): De...
8481170eb2 Fix 'M-q' in 'makefile-mode'
44a770b871 ; Improve documentation of 'rmail-movemail-program'

# Conflicts:
#	lisp/progmodes/java-ts-mode.el
2025-03-01 10:02:41 -05:00
Eli Zaretskii
5eb67a2100 ; Merge from origin/emacs-30
The following commit was skipped:

3998dea566 ; Cleanup sexp things in 'lua-ts-mode'
2025-03-01 10:01:54 -05:00
Eli Zaretskii
da584ad6fb Merge from origin/emacs-30
b531bbf73e Fix go-ts-mode const_spec highlighting (Bug#76330)
bd1d6761f4 ; Document what happens when 'display' and 'invisible' pr...
526eeedf88 keymaps.texi: Move "Changing Key Bindings" section up
7ec6531c7b keymaps.texi: Move "Key Sequences" section down
8b80401127 Improve process-get/process-put docstrings
73c646b777 Merge branch 'emacs-30' of git.sv.gnu.org:/srv/git/emacs ...
0af5c57499 Fix recent change in diff-no-select
c8cec840d7 Prevent rare freeze on Android 4.2 through 4.4
2025-03-01 10:01:54 -05:00
Eli Zaretskii
4442cd5b7d ; Merge from origin/emacs-30
The following commit was skipped:

c8cec840d7 Prevent rare freeze on Android 4.2 through 4.4
2025-03-01 10:01:53 -05:00
Eli Zaretskii
a7e75dbabd Merge from origin/emacs-30
5247da2e3c * lisp/proced.el (proced-<): Check, that NUM1 and NUM2 ar...
2025-03-01 10:01:53 -05:00
Eli Zaretskii
f7e1fa88a1 ; Merge from origin/emacs-30
The following commits were skipped:

0d89aa6b6c ; * src/keymap.c: Fix last change (bug#75219).
b3181a8071 Fix mouse-2 clicks on mode line and header line
2025-03-01 10:01:53 -05:00
Eli Zaretskii
a242d9a48f Merge from origin/emacs-30
6f5c322f59 Recommend secure-hash in md5 docstring
1352b184f3 Improve docstring of add-hook and remove-hook
2025-03-01 10:01:53 -05:00
Eli Zaretskii
7fde605d3d ; Merge from origin/emacs-30
The following commit was skipped:

dbae1fc69f * lisp/subr.el (read-key): Add 'tab-line' (bug#76408).
2025-03-01 10:01:53 -05:00
Eli Zaretskii
095ba1b674 Merge from origin/emacs-30
62b3d3136f Fix fns-tests-collate-strings failure with musl
840c682458 ; (completion-preview-complete): Fix bug#76606
fa42626a6a ; Fix indentation in cl.texi example
7ff806da49 ; Fix my last commit
2025-03-01 10:01:52 -05:00
Eli Zaretskii
25dc3b2dde ; Merge from origin/emacs-30
The following commit was skipped:

706426f966 Fix setup of coding-systems on MS-Windows
2025-03-01 10:01:52 -05:00
Eli Zaretskii
6c411de542 Merge from origin/emacs-30
f88dc0f2f9 ; Fix documentation of 'buffer-text-pixel-size'
734986349f ; Minor Android documentation improvements
a90da89903 ; Fix up emacs-lisp-mode docstring
58c7acb555 ; Fix completion-fail-discreetly docstring typo.
02c830ba22 Fix ert-font-lock macro signatures
0c6b8643ae Fix a typo in 'window_text_pixel_size'
8a8c25eacc ; Add Rudolf Schlatte to authors.el
94c0ea39a5 * doc/misc/efaq.texi (New in Emacs 30): Fix typo.  (Bug#7...
0be5f9115e ; * etc/images/README (Files): Add an entry for last-page...
63adf9dcf5 ; Reflow some cl-lib docstrings
99253f7970 ; * etc/TODO: New section "Make it easier to contribute".

# Conflicts:
#	lisp/emacs-lisp/cl-macs.el
2025-03-01 10:01:09 -05:00
Eli Zaretskii
140e7aebc0 ; Merge from origin/emacs-30
The following commit was skipped:

d63b27a416 Upgrade out-of-date VC package dependencies
2025-03-01 09:59:08 -05:00
Eli Zaretskii
612b6df608 Merge from origin/emacs-30
563b6f9451 Constant highlighting no longer captures Java annotations
e15dcb2db5 Improve wording of lsh docstring
0cc651acdd ; * admin/check-doc-strings: Add note for future developm...
3c9b1c3cd1 Don't document deleted xwidget functions
9e9b78dda9 ; Improve lsh and ash documented argument names
2025-03-01 09:59:08 -05:00
Eli Zaretskii
27297d20d9 ; Merge from origin/emacs-30
The following commits were skipped:

7744119025 Use a persistent directory as default directory in diff
ac7f2054b5 Sync build-aux/update-copyright from Gnulib
2025-03-01 09:59:08 -05:00
Eli Zaretskii
b9c9bc2039 Merge from origin/emacs-30
e9c9ed1f46 Minor refactoring in admin/admin.el
a8b1726487 ; * admin/make-tarball.txt: Copy edits.
2025-03-01 09:59:08 -05:00
Eli Zaretskii
975567f987 ; Merge from origin/emacs-30
The following commit was skipped:

2db182ce0b Bump Emacs version to 30.1.50
2025-03-01 09:59:07 -05:00
Eli Zaretskii
def890a034 Merge from origin/emacs-30
8ac894e224 Release Emacs 30.1
bcba098505 ; * ChangeLog.4: Update.
2025-03-01 09:59:07 -05:00
Eli Zaretskii
0ab8955659 ; Merge from origin/emacs-30
The following commit was skipped:

1cda0967b4 Mention CVE-2025-1244 in NEWS
2025-03-01 09:59:07 -05:00
Eli Zaretskii
30cbeaba31 Merge from origin/emacs-30
2dbf7d0b1b Use character position for ranges in treesit_sync_visible...
2025-03-01 09:59:06 -05:00
Eli Zaretskii
0460177451 ; * lisp/progmodes/java-ts-mode.el (treesit-node-end): Declare. 2025-03-01 16:42:50 +02:00
Eli Zaretskii
8481170eb2 Fix 'M-q' in 'makefile-mode'
* lisp/progmodes/make-mode.el (makefile-mode-map): Bind 'M-q' to
'fill-paragraph', as 'prog-mode's default binding is not
appropriate for Makefile's syntax.  (Bug#76641)
2025-03-01 16:04:52 +02:00
Eli Zaretskii
44a770b871 ; Improve documentation of 'rmail-movemail-program'
* lisp/mail/rmail.el (rmail-movemail-program):
* doc/emacs/rmail.texi (Movemail): Document how to change the
value of 'rmail-movemail-program' safely.  (Bug#76595)
2025-03-01 15:45:57 +02:00
john muhl
3998dea566 ; Cleanup sexp things in 'lua-ts-mode'
* lisp/progmodes/lua-ts-mode.el (lua-ts-mode): Remove some
nonsensical entries from 'treesit-thing-settings'.
* test/lisp/progmodes/lua-ts-mode-resources/movement.erts:
Add missing tests for 'backward-sexp'.  (Bug#76534)
2025-03-01 14:59:56 +02:00
Tassilo Horn
34362a2a1c doc-view: Fix error during revert in editing mode
When in editing mode in a doc-view buffer and then reverting (which can
happen automatically when editing OpenDocument contents), we errored in
the advide function doc-view--revert-buffer because the local
doc-view--buffer-file-name has been killed when switching to the editing
mode.

Also restore doc-view-minor-mode after reverting during being in the
editing mode.

* lisp/doc-view.el (doc-view--revert-buffer): Check that
'doc-view--buffer-file-name' is non-nil.
(doc-view-minor-mode): Add re-enabling function to
'revert-buffer-restore-functions'.
2025-03-01 13:47:19 +01:00
Randy Taylor
b531bbf73e Fix go-ts-mode const_spec highlighting (Bug#76330)
* lisp/progmodes/go-ts-mode.el (go-ts-mode--font-lock-settings):
Handle multiple const_spec identifiers.
* test/lisp/progmodes/go-ts-mode-resources/font-lock.go:
Add test case.
2025-03-01 14:12:30 +02:00
Trevor Murphy
b6efedd66a Ignore dedicated windows in 'display-buffer-reuse-mode-window'
Ignore the dedicated windows unless the dedicated window is
already displaying the buffer-to-be-displayed.  In that case,
the window may be reused, according to the setting of
'inhibit-same-window'.
* lisp/window.el (display-buffer-reuse-mode-window): Check
'window-dedicated-p' before pushing the candidate window onto
the stack.  (Bug#76216)
2025-03-01 13:59:13 +02:00
Eli Zaretskii
bd1d6761f4 ; Document what happens when 'display' and 'invisible' props clash
* doc/lispref/display.texi (Replacing Specs, Overlay Properties)
(Invisible Text): Document that 'invisible' is ignored when
'display' property covers the same text.  (Bug#76658)
2025-03-01 12:59:32 +02:00
Eli Zaretskii
cabbb36ae1 Save IELM input history on "C-c C-c"
* lisp/ielm.el (ielm--write-history-on-interrupt): New function.
(inferior-emacs-lisp-mode): Install it as buffer-local value of
the 'interrupt-process-functions' hook.  (Bug#76585)

* etc/NEWS: Announce the behavior change.
2025-03-01 10:27:17 +02:00
Eli Zaretskii
61320784ed Add a portable test for ffap parsing path-style directory lists
* test/lisp/ffap-tests.el (ffap-test-path-unix): Renamed from
'ffap-test-path'.
(ffap-test-path-portable): New test, which should work on all
systems.
2025-03-01 10:12:21 +02:00
Stefan Kangas
526eeedf88 keymaps.texi: Move "Changing Key Bindings" section up
* doc/lispref/keymaps.texi (Changing Key Bindings): Move section
up.  (Bug#52821)
2025-03-01 06:36:43 +01:00
Stefan Kangas
7ec6531c7b keymaps.texi: Move "Key Sequences" section down
* doc/lispref/keymaps.texi (Key Sequences): Move section
down.  (Bug#52821)
2025-03-01 06:36:43 +01:00
Stefan Kangas
8b80401127 Improve process-get/process-put docstrings
* lisp/subr.el (process-get, process-put): Explain the purpose of these
functions in the docstring.
2025-03-01 06:36:43 +01:00
Łukasz Stelmach
bc33b70b28 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)
2025-03-01 04:38:06 +01:00