1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 11:21:04 -08:00
Commit graph

174765 commits

Author SHA1 Message Date
Dmitry Gutov
625ed68aea Fix the use of xref-window-local-history together with Xref buffer
* lisp/progmodes/xref.el (xref--push-markers): Temporarily
restore the selected window as well, using the value from the
new argument (bug#76565).  Update both callers.
2025-03-02 05:22:56 +02:00
Dmitry Gutov
8091772767 completing-read-multiple: Fix support for ":" as separator
* lisp/emacs-lisp/crm.el (completing-read-multiple):
Do not search for separators inside the prompt (bug#76461).
2025-03-02 05:13:59 +02:00
Stefan Kangas
38cc36a375 ; Improve docstring of cl-check-type
* lisp/emacs-lisp/cl-macs.el (cl-check-type): Improve docstring.
2025-03-02 04:11:55 +01: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
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
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
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
Michael Albinus
73c646b777 Merge branch 'emacs-30' of git.sv.gnu.org:/srv/git/emacs into emacs-30 2025-02-28 18:04:35 +01:00
Michael Albinus
0af5c57499 Fix recent change in diff-no-select
* lisp/vc/diff.el (diff-no-select): Keep initial default directory
in *Diff* buffer.
2025-02-28 18:03:54 +01:00
Po Lu
c8cec840d7 Prevent rare freeze on Android 4.2 through 4.4
* src/android.c (android_run_select_thread, android_init_events)
(android_select): Enable self-pipes on all Android versions <= 21.
The Android C library provides a functioning pselect on these
systems, but it does not apply the signal mask atomically.
(android_run_select_thread): Correct typo.  This never produced
any adverse consequences, as the relevant signals would already
have been blocked by `setupSystemThread'.

Do not merge to master.
2025-02-28 22:40:14 +08:00
Michael Albinus
5247da2e3c * lisp/proced.el (proced-<): Check, that NUM1 and NUM2 are numbers.
(Bug#76549)
2025-02-28 15:32:35 +01:00
Eli Zaretskii
0d89aa6b6c ; * src/keymap.c: Fix last change (bug#75219).
(cherry picked from commit 412c1a4f0e)
2025-02-28 09:54:10 +02:00
Eli Zaretskii
b3181a8071 Fix mouse-2 clicks on mode line and header line
* src/keymap.c (Fcurrent_active_maps): For clicks on mode-line and
header-line, always override the keymaps at buffer position.
(Bug#75219)

(cherry picked from commit c41ea047a4)
2025-02-28 09:53:42 +02:00
Stefan Kangas
6f5c322f59 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.
2025-02-28 05:22:53 +01:00
Tomas Nordin
1352b184f3 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)
2025-02-27 23:13:35 +01:00
Jared Finder
dbae1fc69f * lisp/subr.el (read-key): Add 'tab-line' (bug#76408).
Backport:
(cherry picked from commit 0c8abe8bb5)
2025-02-27 21:01:14 +02:00
Paul Eggert
62b3d3136f 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)
2025-02-27 10:57:19 -08:00
Eshel Yaron
840c682458
; (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.
2025-02-27 15:34:24 +01:00
Stefan Kangas
fa42626a6a ; Fix indentation in cl.texi example 2025-02-26 18:32:32 +01:00
Stefan Kangas
7ff806da49 ; Fix my last commit 2025-02-26 18:32:31 +01:00
Eli Zaretskii
706426f966 Fix setup of coding-systems on MS-Windows
* src/emacs.c (main) [HAVE_PDUMPER] [WINDOWSNT]: Call
'w32_init_file_name_codepage' again after loading the pdumper
file.
* src/w32.c (w32_init_file_name_codepage) [HAVE_PDUMPER]:
Reinitialize additional variables.  (Bug#75207)

(cherry picked from commit cc5cd4de93)
2025-02-26 15:12:42 +02:00
Eli Zaretskii
f88dc0f2f9 ; Fix documentation of 'buffer-text-pixel-size'
* doc/lispref/display.texi (Size of Displayed Text): Fix arguments
of 'buffer-text-pixel-size'.  (Bug#76519)
2025-02-26 14:52:26 +02:00
Po Lu
734986349f ; Minor Android documentation improvements
* doc/emacs/android.texi (Android Startup, Android File System)
(Android Document Providers): Improve phrasing.
2025-02-26 15:10:27 +08:00
Stefan Kangas
a90da89903 ; 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.
2025-02-26 03:34:14 +01:00
Basil L. Contovounesios
58c7acb555 ; Fix completion-fail-discreetly docstring typo. 2025-02-25 11:26:11 +01:00
Basil L. Contovounesios
02c830ba22 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.
2025-02-25 11:02:55 +01:00
Eli Zaretskii
0c6b8643ae 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)
2025-02-24 21:02:14 +02:00
Stefan Kangas
8a8c25eacc ; Add Rudolf Schlatte to authors.el
* admin/authors.el (authors-aliases): Add Rudolf Schlatte.
2025-02-24 18:26:30 +01:00
Ulrich Müller
94c0ea39a5 * doc/misc/efaq.texi (New in Emacs 30): Fix typo. (Bug#76518) 2025-02-24 10:32:47 +01:00
Sean Whitton
0be5f9115e ; * etc/images/README (Files): Add an entry for last-page.xpm 2025-02-24 14:20:44 +08:00
Stefan Kangas
63adf9dcf5 ; Reflow some cl-lib docstrings
* lisp/emacs-lisp/cl-macs.el (cl-flet, cl-labels): Reflow docstrings.
2025-02-24 03:48:50 +01:00
Stefan Kangas
99253f7970 ; * etc/TODO: New section "Make it easier to contribute". 2025-02-23 20:48:15 +01:00
Joseph Turner
d63b27a416 Upgrade out-of-date VC package dependencies
* lisp/emacs-lisp/package-vc.el (package-vc-install-dependencies): Pass
the specified package version when checking if a package is installed.

(Bug#73781)

(cherry picked from commit 71a4670a9f)
2025-02-23 20:48:15 +01:00
Vincenzo Pupillo
563b6f9451 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.
2025-02-23 20:48:13 +01:00
Stefan Kangas
e15dcb2db5 Improve wording of lsh docstring
* lisp/subr.el (lsh): Improve wording of docstring.
2025-02-23 20:47:34 +01:00
Stefan Kangas
0cc651acdd ; * admin/check-doc-strings: Add note for future development. 2025-02-23 20:47:34 +01:00
Stefan Kangas
3c9b1c3cd1 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.
2025-02-23 20:47:34 +01:00
Stefan Kangas
9e9b78dda9 ; Improve lsh and ash documented argument names
* doc/lispref/numbers.texi (Bitwise Operations): Improve lsh and
ash argument names.
2025-02-23 20:47:34 +01:00
Michael Albinus
7744119025 Use a persistent directory as default directory in diff
* lisp/vc/diff.el (diff-no-select): Use `temporary-file-directory'
as default directory.  Set default file permissions temporarily to
#o600.  (Bug#69606)

(cherry picked from commit ae439cc1b9)
2025-02-23 20:47:34 +01:00
Stefan Kangas
ac7f2054b5 Sync build-aux/update-copyright from Gnulib
* build-aux/update-copyright: Copy from Gnulib.  This fixes a bug
where troff markers were introduced in ChangeLog files.
(Do not merge to master.)
2025-02-23 20:47:34 +01:00
Stefan Kangas
e9c9ed1f46 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.
2025-02-23 20:47:34 +01:00
Stefan Kangas
a8b1726487 ; * admin/make-tarball.txt: Copy edits. 2025-02-23 20:47:34 +01:00
Stefan Kangas
2db182ce0b Bump Emacs version to 30.1.50
* README:
* configure.ac:
* etc/NEWS:
* exec/configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 30.1.50.
2025-02-23 20:39:42 +01:00
Stefan Kangas
8ac894e224 Release Emacs 30.1
* ChangeLog.5: New file.
* Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump.
* etc/HISTORY: Add Emacs 30.1.
2025-02-23 17:30:57 +01:00
Stefan Kangas
bcba098505 ; * ChangeLog.4: Update. 2025-02-23 17:19:47 +01:00