]> git.eshelyaron.com Git - emacs.git/log
emacs.git
12 months ago; Improve documentation of 'world-clock'
Eli Zaretskii [Wed, 10 Apr 2024 13:52:21 +0000 (16:52 +0300)]
; Improve documentation of 'world-clock'

* lisp/time.el (zoneinfo-style-world-list)
(legacy-style-world-list): Doc fixes.

(cherry picked from commit db7b571aaaf4aa16fc6a88a53a8740c3a102ce60)

12 months ago* doc/emacs/misc.texi (emacsclient Options): Suggest forwarding sockets.
Peter Oliver [Wed, 10 Apr 2024 08:42:39 +0000 (10:42 +0200)]
* doc/emacs/misc.texi (emacsclient Options): Suggest forwarding sockets.

(Bug#66667)

(cherry picked from commit 6a0bb7beae3ed4e3d2b420b73abcfaada38f53ee)

12 months agoUpdate go-ts-mode to support latest tree-sitter-go grammar
Yuan Fu [Tue, 9 Apr 2024 03:20:25 +0000 (20:20 -0700)]
Update go-ts-mode to support latest tree-sitter-go grammar

tree-sitter-go changed method_spec to method_elem in
https://github.com/tree-sitter/tree-sitter-go/commit/b82ab803d887002a0af11f6ce63d72884580bf33

* lisp/progmodes/go-ts-mode.el:
(go-ts-mode--method-elem-supported-p): New function.
(go-ts-mode--font-lock-settings): Conditionally use method_elem or
method_spec in the query.

(cherry picked from commit 859b4227e3de9f8e7bc26367540aa315cefc37dc)

12 months agoFix c++-ts-mode defun navigation (bug#65885)
Yuan Fu [Tue, 9 Apr 2024 04:07:11 +0000 (21:07 -0700)]
Fix c++-ts-mode defun navigation (bug#65885)

* lisp/progmodes/c-ts-mode.el (c-ts-base-mode): Add BOL and EOL marker
in the regexp.

(cherry picked from commit 407e85ce139c2f0ab8bc7f9643ee7506a4e561a1)

12 months ago; Fix last change.
Eli Zaretskii [Sun, 7 Apr 2024 07:33:14 +0000 (10:33 +0300)]
; Fix last change.

(cherry picked from commit aca5064f128e20a495e9ddf254248ab77b613754)

12 months ago; * etc/PROBLEMS: An entry about focus issues with XFCE (bug#70046).
Eli Zaretskii [Sun, 7 Apr 2024 07:32:47 +0000 (10:32 +0300)]
; * etc/PROBLEMS: An entry about focus issues with XFCE (bug#70046).

(cherry picked from commit 55aab2d471024bda1878897e81e3b5695e242f09)

12 months ago; * doc/emacs/misc.texi (emacsclient Options): Fix typo. (Bug#70238)
Michael Albinus [Sun, 7 Apr 2024 07:15:42 +0000 (09:15 +0200)]
; * doc/emacs/misc.texi (emacsclient Options): Fix typo.  (Bug#70238)

(cherry picked from commit 19cee16576ef09990ac14d1ec5f0ddcd4594f5ce)

12 months ago; * src/filelock.c (Flock_file): Doc fix (bug#70216).
Eli Zaretskii [Sun, 7 Apr 2024 06:24:58 +0000 (09:24 +0300)]
; * src/filelock.c (Flock_file): Doc fix (bug#70216).

(cherry picked from commit 2a41b6ba51457448b3937fbb1d9e06f62c3d5a9f)

12 months ago(completion-preview-prev-candidate): add numeric prefix argument
Eshel Yaron [Fri, 12 Apr 2024 21:19:13 +0000 (23:19 +0200)]
(completion-preview-prev-candidate): add numeric prefix argument

* lisp/completion-preview.el (completion-preview-prev-candidate):
Add numeric prefix argument N.
(completion-preview-next-candidate): Update documentation.

12 months ago; Fix Completion Preview mode mouse-click bindings
Eshel Yaron [Sun, 14 Apr 2024 07:21:03 +0000 (09:21 +0200)]
; Fix Completion Preview mode mouse-click bindings

* lisp/completion-preview.el (completion-preview--ignore): New
internal command.
(completion-preview--internal-commands): Add it.
(completion-preview--mouse-map): Use it to fix bindings.

12 months agoNew command 'completion-preview-complete'
Eshel Yaron [Fri, 12 Apr 2024 20:41:10 +0000 (22:41 +0200)]
New command 'completion-preview-complete'

This command completes the symbol at point up to the longest
common prefix of all completions candidates.  We also add an
indication of the longest common prefix in the completion
preview by highlighting that part of the preview with the
'completion-preview-exact' face.  To facilitate these features
we change the way we store the completion candidates while the
preview is visible, to explicitly keep the common prefix along
with a list of its suffixes.

* lisp/completion-preview.el (completion-preview--try-table):
Return longest common prefix and list of suffixes instead of
list of full candidates.  Add illustrative comment.
(completion-preview--capf-wrapper, completion-preview--update)
(completion-preview--show, completion-preview-insert)
(completion-preview-next-candidate): Adjust.
(completion-preview-common): New face.
(completion-preview-exact): Tweak to distinguish it from
'completion-preview-common'.
(completion-preview-complete): New command.
(completion-preview-active-mode-map): Bind it.
(completion-preview-mode): Mention it in docstring.
(completion-preview-commands): Add 'completion-preview-complete'.
(completion-preview--make-overlay): Simplify.
(completion-preview--internal-command-p): Remove.
(completion-preview-require-certain-commands): Update.
(completion-preview--inhibit-update): New inline function.
(completion-preview--inhibit-update-p): New local variable.
(completion-preview--post-command, completion-preview-hide):
Reset it to nil.

* test/lisp/completion-preview-tests.el
(completion-preview-tests--check-preview): Check the 'face'
property of both the first and last character.  Update callers.
(completion-preview-insert-calls-exit-function)
(completion-preview-complete): New tests.

12 months ago; Optimize 'completion-preview--try-table'
Eshel Yaron [Thu, 11 Apr 2024 17:16:26 +0000 (19:16 +0200)]
; Optimize 'completion-preview--try-table'

* lisp/completion-preview.el (completion-preview-completion-styles):
New variable.  Default to only include the 'basic' completion style.
(completion-preview--try-table): Let-bind 'completion-styles' when
calling 'completion-all-completions'.  With the default value of
'completion-preview-completion-styles', this yields a significant
performance improvement (up to 4 times faster compared to the
'substring' style when tested with 'elisp-completion-at-point').

Suggested by Ergus <spacibba@aol.com>

12 months ago; Remove obsolete 'mouse-wheel-up/down-event' bindings
Eshel Yaron [Wed, 10 Apr 2024 19:55:38 +0000 (21:55 +0200)]
; Remove obsolete 'mouse-wheel-up/down-event' bindings

Following commit e720ba62193 'mouse-wheel-up-event' and
'mouse-wheel-down-event' are translated to 'wheel-up/down'
events, so we only need to bind 'wheel-down/up' in
'completion-preview--mouse-map'.

* lisp/completion-preview.el: Don't require 'mwheel'.
(completion-preview--mouse-map): Remove bindings for
'mouse-wheel-up/down-event'.

(cherry picked from commit 3a91186ad3707c7e3754616f1c7a2735d40fc33d)

12 months ago* doc/lispref/parsing.texi (Parsing Program Source): Fix menu.
Juri Linkov [Wed, 10 Apr 2024 18:07:21 +0000 (21:07 +0300)]
* doc/lispref/parsing.texi (Parsing Program Source): Fix menu.

Add the new node "User-defined Things" to the menu.

(cherry picked from commit 103a2fdf18d99c872e4adb01a15a8300164acd66)

12 months ago* lisp/emacs-lisp/comp-cstr.el (comp-cstr-type-p): Improve last change.
Andrea Corallo [Wed, 10 Apr 2024 16:45:47 +0000 (18:45 +0200)]
* lisp/emacs-lisp/comp-cstr.el (comp-cstr-type-p): Improve last change.

(cherry picked from commit 3eb462405e541175df99974cc06395bf191d412a)

12 months ago* lisp/emacs-lisp/comp-cstr.el (comp-cstr-type-p): New function.
Andrea Corallo [Wed, 10 Apr 2024 16:15:12 +0000 (18:15 +0200)]
* lisp/emacs-lisp/comp-cstr.el (comp-cstr-type-p): New function.

(cherry picked from commit ee03a73375796feea94bb066cff7d7de680cae32)

12 months ago* lisp/emacs-lisp/comp-cstr.el (comp-cstr-symbol-p): Simplify.
Andrea Corallo [Wed, 10 Apr 2024 16:03:26 +0000 (18:03 +0200)]
* lisp/emacs-lisp/comp-cstr.el (comp-cstr-symbol-p): Simplify.

(cherry picked from commit d4d8575bf00bb722bbb913fa5aa5b68c6dbef4d3)

12 months ago* lisp/emacs-lisp/comp-cstr.el (comp-cstr-fixnum-p): Fix.
Andrea Corallo [Wed, 10 Apr 2024 15:35:08 +0000 (17:35 +0200)]
* lisp/emacs-lisp/comp-cstr.el (comp-cstr-fixnum-p): Fix.

(cherry picked from commit 219b98916bc498bf15bbef6577af648834d4727d)

12 months ago(en/decode_coding_object): Fix `after-change-functions`
Stefan Monnier [Wed, 10 Apr 2024 16:15:26 +0000 (12:15 -0400)]
(en/decode_coding_object): Fix `after-change-functions`

For `en/decode-coding-string/region`, `after-change-functions`
were either not run at all, or run only after deleting the text
but not after inserting it.

* src/coding.c (decode_coding_object, encode_coding_object): Run the
after-change-functions after inserting the result.

* test/src/editfns-tests.el (sanity-check-change-functions-with-op):
New macro.
(sanity-check-change-functions-errors): New function.
(editfns-tests--before/after-change-functions): Use them to add
cases for `en/decode-coding-string/region`.

(cherry picked from commit 36cb16556c60bf4e703764eefd4fb6668ccc37cc)

12 months ago* java/Makefile.in (classes.dex): Make proguard.conf relative to srcdir.
Po Lu [Wed, 10 Apr 2024 15:22:38 +0000 (23:22 +0800)]
* java/Makefile.in (classes.dex): Make proguard.conf relative to srcdir.

(cherry picked from commit 15bafc04322e9c4e85a00fe593239935eb723b6e)

12 months ago* java/proguard.conf: New file.
Po Lu [Wed, 10 Apr 2024 14:33:33 +0000 (22:33 +0800)]
* java/proguard.conf: New file.

(cherry picked from commit 049bdfdaec4ee0c791fbf034b683e06ee84ce1db)

12 months agoOptimize generated Android DEX bytecode
Po Lu [Wed, 10 Apr 2024 14:33:08 +0000 (22:33 +0800)]
Optimize generated Android DEX bytecode

* configure.ac (D8): Attempt to locate the bundle where d8 is
installed, detect whether an installation of `r8' is similarly
present, and use this installation in place of d8 if so.

* java/Makefile.in (ANDROID_MIN_SDK, IS_D8_R8): New
substitutions.
(classes.dex): Provide --min-api, --debug or --release and
--pg-conf to d8 or r8.

(cherry picked from commit ed88bed3afbc9922f020cf3a8803e08f2811e89b)

12 months agoFix 'format-seconds' when all values are zero and %z is used
Eli Zaretskii [Wed, 10 Apr 2024 14:00:34 +0000 (17:00 +0300)]
Fix 'format-seconds' when all values are zero and %z is used

* lisp/calendar/time-date.el (format-seconds): Fix all-zero time.

* test/lisp/calendar/time-date-tests.el (test-format-seconds): Add
two new tests.  (Bug#70322)

(cherry picked from commit 33516970808a6c50709325edfc1af125c2b2c401)

12 months ago* lisp/emacs-lisp/cl-macs.el (cl-typep): Add docstring.
Andrea Corallo [Wed, 10 Apr 2024 13:27:46 +0000 (15:27 +0200)]
* lisp/emacs-lisp/cl-macs.el (cl-typep): Add docstring.

(cherry picked from commit f4711811298b320ea6875e635a7346f3bc23a603)

12 months agoRecognize Android TLS certificates by default
Po Lu [Wed, 10 Apr 2024 04:12:33 +0000 (12:12 +0800)]
Recognize Android TLS certificates by default

* lisp/net/gnutls.el (gnutls-trustfiles): Append directories
holding system and user-provided certificates on Android.

(cherry picked from commit f2f13fa630bd2658ea3f90c4362fe6201d32e67e)

12 months ago(cl--describe-class-slots): Avoid cryptic `t` type
Stefan Monnier [Tue, 9 Apr 2024 22:33:01 +0000 (18:33 -0400)]
(cl--describe-class-slots): Avoid cryptic `t` type

* lisp/emacs-lisp/cl-extra.el (cl--describe-class-slots): Use the empty
string for the trivial `t` type.

* lisp/emacs-lisp/cl-preloaded.el (cl-structure-class):
Fix non-existing `bool` => `boolean`.

(cherry picked from commit dd6b9c9426c5d7dde66974c5790815c3520a755b)

12 months ago; Minor copy edits
Dmitry Gutov [Tue, 9 Apr 2024 19:40:14 +0000 (22:40 +0300)]
; Minor copy edits

(cherry picked from commit 73bd48de3cf45de02c0f1caf5bd5196f4d4b08f5)

12 months agoAdd Flymake backend to rust-ts-mode using Clippy
Dmitry Gutov [Tue, 9 Apr 2024 19:39:32 +0000 (22:39 +0300)]
Add Flymake backend to rust-ts-mode using Clippy

* lisp/progmodes/rust-ts-mode.el (rust-ts-flymake-command):
New option (bug#70260).
(rust-ts--flymake-proc): New variable.
(rust-ts-flymake--helper): New function.
(rust-ts-flymake): New function.
(rust-ts-mode): Add it to flymake-diagnostic-functions.

(cherry picked from commit ccced8c3e4323b9c3d24b2480fc7b8df946fce88)

12 months ago(test-replace-match-modification-hooks): Delete test
Stefan Monnier [Tue, 9 Apr 2024 15:01:36 +0000 (11:01 -0400)]
(test-replace-match-modification-hooks): Delete test

* test/src/search-tests.el (test-replace-match-modification-hooks):
Delete, this is testing a functionality we can't really support.

(cherry picked from commit e3861aeb484c59c36b2448e17b54a37d779f6486)

12 months ago(mouse-wheel-buttons): Map old-style wheel buttons to actual wheel events
Stefan Monnier [Mon, 29 Jan 2024 14:35:09 +0000 (09:35 -0500)]
(mouse-wheel-buttons): Map old-style wheel buttons to actual wheel events

Change the handling of the old X11 convention that uses mouse-4/5/6/7
events to represent wheel events: instead of asking downstream
packages to use the `mouse-wheel-*-event` variables to know which events
represent wheel events, use new var `mouse-wheel-buttons` to directly
convert those events into the standard `wheel-up/down/left/right` events
used everywhere else.

This will simplify the work of packages which can thus just bind their
commands to `wheel-up/down/left/right`.

* lisp/mouse.el (mouse-wheel-buttons): New custom variable.

* src/keyboard.c (make_lispy_event): Adjust for "wheel-clicks" on the tab-bar.
* src/xterm.c (x_construct_mouse_click): Add `xi2` argument and
obey `mouse-wheel-buttons` variable.
(handle_one_xevent): Adjust calls accordingly.
(syms_of_xterm): Define the `mouse-wheel-buttons` and the
`wheel-up/down/left/right`symbols.

* lisp/xt-mouse.el: Don't require `mwheel` any more.
(xterm-mouse--same-button-p): Delete function.
(xterm-mouse--read-event-sequence): Use `mouse-wheel-buttons`.

* lisp/mwheel.el (mouse-wheel-up-event, mouse-wheel-down-event)
(mouse-wheel-left-event, mouse-wheel-right-event): Make obsolete.
(mouse-wheel-obey-old-style-wheel-buttons): Delete variable.

* lisp/completion-preview.el (completion-preview--mouse-map):
* lisp/progmodes/flymake.el (flymake--mode-line-counter-map):
* lisp/edmacro.el (edmacro-fix-menu-commands): Silence warnings.

(cherry picked from commit e720ba6219394d275dd741c5f17feea1ee0bf9af)

12 months agoMove over optional arguments in parentheses correctly
Arash Esbati [Tue, 9 Apr 2024 12:08:17 +0000 (14:08 +0200)]
Move over optional arguments in parentheses correctly

* lisp/textmodes/reftex-parse.el (reftex-move-to-previous-arg):
Recognize ')' as closing delimiter for optional argument.
Fix docstring.
(reftex-what-macro): Identify LaTeX macros with optional arguments
in parentheses correctly.  This is necessary to make
`reftex-view-crossref' work with biblatex on entries like:
\parencites(Glob.Pre)(Glob.Post)[Pre][Post]{key1}[Pre][Post]{key2}
(bug#31132)

(cherry picked from commit 7236010d2e1d3525943bb50598d29061a4c25b58)

12 months agoInhibit flymake lexical cookie warning in *scratch* (bug#70068)
Mattias Engdegård [Mon, 8 Apr 2024 17:07:19 +0000 (19:07 +0200)]
Inhibit flymake lexical cookie warning in *scratch* (bug#70068)

Add a hack to prevent flymake from complaining about a missing lexical
cookie when enabled in *scratch*.

* lisp/emacs-lisp/bytecomp.el
(bytecomp--inhibit-lexical-cookie-warning): New variable.
(byte-compile-file): Use it to gate the warning.
* lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile):
Set the inhibitor when spawning a check in lisp-interaction-mode.

(cherry picked from commit cda5155c618d774810ce5e044efe1101846054ac)

12 months ago; Avoid byte-compiler warnings in 'ls-lisp-test-bug70271'.
Eli Zaretskii [Tue, 9 Apr 2024 08:01:52 +0000 (11:01 +0300)]
; Avoid byte-compiler warnings in 'ls-lisp-test-bug70271'.

(cherry picked from commit 2c6eb49fa2d62fc07ccecdd1c074235064bf5375)

12 months agoFix misalignment of entries created by Dired file operations
Po Lu [Tue, 9 Apr 2024 07:24:30 +0000 (15:24 +0800)]
Fix misalignment of entries created by Dired file operations

* lisp/dired.el (dired-insert-directory): Insert leading space
if absent before calling dired-align-file.

(cherry picked from commit 22386c5634ba72d4f7b321524509c1e3549fe4d2)

12 months agoFix window-point-context-set and window-point-context-use (bug#33871)
Juri Linkov [Tue, 9 Apr 2024 06:43:55 +0000 (09:43 +0300)]
Fix window-point-context-set and window-point-context-use (bug#33871)

* lisp/window.el (window-point-context-set)
(window-point-context-use): Add 'window-buffer' for 'buffer-name'.

(cherry picked from commit b31f7e67de52c276dd1bcb6fbd048ef12435a327)

12 months ago; * etc/NEWS: Announce new ls-lisp options. (Bug#70721)
Eli Zaretskii [Tue, 9 Apr 2024 03:28:49 +0000 (06:28 +0300)]
; * etc/NEWS: Announce new ls-lisp options.  (Bug#70721)

(cherry picked from commit 677bc276998de0a467803b35134925d833d1ab9d)

12 months ago; Fix the test in last change.
Eli Zaretskii [Tue, 9 Apr 2024 03:21:38 +0000 (06:21 +0300)]
; Fix the test in last change.

(cherry picked from commit 93576969c2b53ff9d0d7b08768782e770f0cb0f4)

12 months agoSupport more long time options in 'ls-lisp'
Lin Sun [Mon, 8 Apr 2024 06:59:21 +0000 (06:59 +0000)]
Support more long time options in 'ls-lisp'

* lisp/ls-lisp.el (ls-lisp--sanitize-switches): Support '--time'
and '--sort=time'.  (Bug#70271)

* test/lisp/ls-lisp-tests.el (ls-lisp-test-bug70271): New
test case.

(cherry picked from commit a4c766e057b9b05685433db010b6536148f29f1d)

12 months agoImprove treatment of aborted touch events in Speedbar and elsewhere
Po Lu [Tue, 9 Apr 2024 02:37:47 +0000 (10:37 +0800)]
Improve treatment of aborted touch events in Speedbar and elsewhere

* lisp/dframe.el (dframe-popup-kludge): Mark as a
mouse-1-menu-command.

* lisp/touch-screen.el (touch-screen-handle-point-up): New
argument CANCELED.  Implement specific responses to cancellation
for each tool state.
(touch-screen-handle-touch): Adjust to match.

(cherry picked from commit 64eb4ce0af80b840c7b1da137e4323a3d06062fa)

12 months agoDisable tab-bar by default in Speedbar frames
Po Lu [Tue, 9 Apr 2024 02:00:42 +0000 (10:00 +0800)]
Disable tab-bar by default in Speedbar frames

* lisp/speedbar.el (speedbar-frame-parameters): Set
tab-bar-lines to 0.

(cherry picked from commit 9e22cd30ebd68326c26a6e511d3722bdb5b9164c)

12 months ago(completion-hilit-commonality): Support `completion-lazy-hilit`
Daniel Mendler [Thu, 4 Apr 2024 05:19:58 +0000 (07:19 +0200)]
(completion-hilit-commonality): Support `completion-lazy-hilit`

* lisp/minibuffer.el (completion-hilit-commonality): Support lazy
completion candidate highlighting via `completion-lazy-hilit`.

(cherry picked from commit f30801a20338cdc7716c3eff1443f1be603aa94e)

12 months agoImprove documentation of Text Mode
Eli Zaretskii [Mon, 8 Apr 2024 18:02:01 +0000 (21:02 +0300)]
Improve documentation of Text Mode

* doc/emacs/text.texi (Text Mode): Improve indexing.  Document
'text-mode-ispell-word-completion'.

(cherry picked from commit 6c9855d3364b4e9b18d436aa1d6490e004d05d7b)

12 months ago(cl--describe-class): Improve based on dicussion in bug#70077
Stefan Monnier [Mon, 8 Apr 2024 17:59:33 +0000 (13:59 -0400)]
(cl--describe-class): Improve based on dicussion in bug#70077

* lisp/emacs-lisp/cl-extra.el (cl--describe-class): Move docstring
after the class' slots.
(cl--describe-class-slots): Buttonize the types.

(cherry picked from commit dc5fe95a48f5bff5dfac8841d05c66b300b09aab)

12 months ago; * lisp/align.el: Remove unnecessary :group keywords. (bug#70262)
Arash Esbati [Sun, 7 Apr 2024 19:12:05 +0000 (21:12 +0200)]
; * lisp/align.el: Remove unnecessary :group keywords. (bug#70262)

(cherry picked from commit 600ac35cc6597b63306786bffd0d762f70555322)

12 months ago(define-globalized-minor-mode): Fix bug#69431
Stefan Monnier [Mon, 8 Apr 2024 12:18:31 +0000 (08:18 -0400)]
(define-globalized-minor-mode): Fix bug#69431

* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
When `after-change-major-mode-hook` runs, enable the mode only
in the current buffer and not in other pending buffers.

(cherry picked from commit 9506b9392e8c3548b769d9951a1c9d4abad9ee21)

12 months agoUpdate INSTALL for native compilation of Lisp files
Stephen Berman [Mon, 8 Apr 2024 11:56:56 +0000 (13:56 +0200)]
Update INSTALL for native compilation of Lisp files

* INSTALL: Add section "Native compilation of Lisp files" under
ADDITIONAL DISTRIBUTION FILES and correspondingly augment item 6
of DETAILED BUILDING AND INSTALLATION.  In the latter also note
differences between in-source-tree and out-of-tree builds for
running 'src/emacs' uninstalled.

(cherry picked from commit b9b2bc7192e75e0208c064e44cb4afc418ec3d28)

12 months ago* Make comp ignore EIEIO classes (bug#70141)
Andrea Corallo [Mon, 8 Apr 2024 09:21:37 +0000 (11:21 +0200)]
* Make comp ignore EIEIO classes (bug#70141)

* lisp/emacs-lisp/comp-cstr.el (comp--all-classes): Ignore EIEIO classes.

(cherry picked from commit c9d7721db6eeda8efa7b5a49c9a4bcaacd078791)

12 months ago* Fix out of date comp pass names in comp-tests.el
Andrea Corallo [Mon, 8 Apr 2024 08:46:50 +0000 (10:46 +0200)]
* Fix out of date comp pass names in comp-tests.el

* test/src/comp-tests.el (comp-tests-tco, comp-tests-fw-prop-1)
(comp-tests-pure): Update out of date pass names.

(cherry picked from commit 4d486bd378b409c2a96b3e9af36534aa8eb5b3af)

12 months agoDocument tree-sitter things feature (bug#70016) (bug#68824)
Yuan Fu [Sun, 7 Apr 2024 22:59:48 +0000 (15:59 -0700)]
Document tree-sitter things feature (bug#70016) (bug#68824)

* doc/lispref/parsing.texi (Retrieving Nodes): Mention new kinds of
predicate argument that the tree-traversing functions accept (which are
thing symbols and thing definitions).
(User-defined Things): New node dedicated to thing definition and
navigation functions.

(cherry picked from commit 4efe3b99a5d0d72b6a96bf339601f9390ca5c03a)

12 months agoMake tree-sitter thing feature public and remove obsolete functions
Yuan Fu [Sun, 7 Apr 2024 20:33:31 +0000 (13:33 -0700)]
Make tree-sitter thing feature public and remove obsolete functions

* lisp/treesit.el (treesit--things-around): Remove function.
(treesit-forward-sexp):
(treesit-beginning-of-thing):
(treesit-end-of-thing):
(treesit-navigate-thing):
(treesit-thing-at-point):
(treesit-outline-search): Use public version of thing-functions.
(treesit--thing-prev):
(treesit--thing-next):
(treesit--thing-at):
(treesit--navigate-thing): Make public.

* test/src/treesit-tests.el (treesit--ert-test-defun-navigation): Use
public version of thing-functions.

(cherry picked from commit 64854869ae0cacddb16926670e2a67c03a3f9618)

12 months agoFix invisible erc-speedbar cursor in text terminals
F. Jason Park [Sun, 31 Mar 2024 23:32:44 +0000 (16:32 -0700)]
Fix invisible erc-speedbar cursor in text terminals

* lisp/erc/erc-speedbar.el
(erc-speedbar--reset-last-ran-on-timer): Use `with-current-buffer'
instead of `setf' and `buffer-local-value'.
(erc-nickbar-mode, erc-nickbar-enable, erc-nickbar-disable)
(erc-speedbar-toggle-nicknames-window-lock): Revise doc string.
(erc-speedbar-toggle-nicknames-window-lock): Set `cursor-type' in
speedbar buffer.
(erc-nickbar-toggle-nicknames-window-lock): New function alias.  Note
that this name flouts traditional library namespacing conventions.
* lisp/erc/erc-status-sidebar.el (erc-status-sidebar-get-window): Use
`cursor-type' instead of `internal-show-cursor'.  (Bug#63595)

(cherry picked from commit ee377aaddf9d73116b93c3d54b1ffef9a3a8b925)

12 months agoAllow updating of /IGNORE timeouts in ERC
F. Jason Park [Mon, 1 Apr 2024 22:27:47 +0000 (15:27 -0700)]
Allow updating of /IGNORE timeouts in ERC

* lisp/erc/erc.el (erc--read-time-period, erc--decode-time-period):
Move body of former, now a superficial wrapper, to latter, a new
function.
(erc--format-time-period): New function.
(erc--get-ignore-timer-args): New function.
(erc--find-ignore-timer): New function to search through `timer-list'
to find matching ignore timer.
(erc-cmd-IGNORE): Refactor and redo doc string.  Add new optional
`timespec' parameter, primarily to aid in testing.  Update an existing
timer instead of always creating one, and display time remaining in
"ignore list" output.  Pass server buffer instead of current buffer to
timer callbacks because `erc--unignore-user' displays its messages in
the `active' buffer, not necessarily the issuing one.  Note that doing
this does discard potentially useful information, so if ever reverting,
we can change the `cl-find' :test in `erc--find-ignore-timer' to
something that compares the `erc-server-process' of both buffers.
;;
;; Something like:
;;
;; (defun erc--ignore-timers-equal-p (a b)
;;   (and (equal (car a) (car b))
;;        (eq (buffer-local-value 'erc-server-process (cadr a))
;;            (buffer-local-value 'erc-server-process (cadr b)))))
;;
(erc-cmd-UNIGNORE): Pass `erc-ignore-list' member matching `user'
parameter to `erc--unignore-user' instead of original, raw parameter,
along with the server buffer.
(erc--unignore-user): Cancel existing timer and don't bother switching
to server buffer since we're already there.
(erc-message-english-ignore-list): New variable.
* test/lisp/erc/erc-scenarios-ignore.el: New file.
* test/lisp/erc/erc-tests.el (erc--read-time-period): New test.
(erc-cmd-UNIGNORE): New test.  (Bug#70127)

(cherry picked from commit e0df2841fb78251d5461a17e2d9be581c152bdc2)

12 months ago; * lisp/erc/erc-nicks.el: Fix typo in Commentary.
F. Jason Park [Mon, 1 Apr 2024 15:14:52 +0000 (08:14 -0700)]
; * lisp/erc/erc-nicks.el: Fix typo in Commentary.

(cherry picked from commit c1266d355a2801271f2f875a1f7d47030c6c0e7a)

12 months ago(Freplace_match): Fix bug#65451
Stefan Monnier [Sun, 7 Apr 2024 18:16:38 +0000 (14:16 -0400)]
(Freplace_match): Fix bug#65451

* src/search.c (Freplace_match): For ordering of *-change-functions.

* test/src/editfns-tests.el
(editfns-tests--before/after-change-functions): New test.
(sanity-check--message, sanity-check-change-functions-error)
(sanity-check-change-functions-check-size)
(sanity-check-change-functions-before)
(sanity-check-change-functions-after): New functions.
(sanity-check--verbose, sanity-check-change-functions-beg)
(sanity-check-change-functions-end)
(sanity-check-change-functions-buffer-size)
(sanity-check-change-functions-errors): New vars.

(cherry picked from commit 63588775fcb64e4fd88a97e0882aae38c9f5fb1c)

12 months agoSupport displaying refactor edits as diff
Eshel Yaron [Wed, 10 Apr 2024 19:31:56 +0000 (21:31 +0200)]
Support displaying refactor edits as diff

12 months agoAllow refactor backends to invalidate replacements
Eshel Yaron [Wed, 10 Apr 2024 19:30:54 +0000 (21:30 +0200)]
Allow refactor backends to invalidate replacements

12 months ago(refactor-backends): Support local refactor-backend-functions
Eshel Yaron [Wed, 10 Apr 2024 19:29:32 +0000 (21:29 +0200)]
(refactor-backends): Support local refactor-backend-functions

12 months agoFix truncation of long lines in compilation buffers
Eli Zaretskii [Sun, 7 Apr 2024 09:08:18 +0000 (12:08 +0300)]
Fix truncation of long lines in compilation buffers

* lisp/progmodes/compile.el
(compilation--insert-abbreviated-line): Handle long lines that end
in a newline.  (Bug#70236)

(cherry picked from commit 8f93cba324e4d4022a9422b8c56186213ba2de8d)

12 months agoFix tex-tabbing-separator alignment rule
Arash Esbati [Sat, 6 Apr 2024 19:58:03 +0000 (21:58 +0200)]
Fix tex-tabbing-separator alignment rule

* lisp/align.el (align-rules-list): Remove the check of
`latex-mode' with `eq' which doesn't work with newer AUCTeX mode
names and modes defined by user with `define-derived-mode'.
(bug#69187)

(cherry picked from commit 03b23302bd326f981e1328f0e9ea9f4a40a13ee1)

12 months agoResolve disagreements in accounting of tooltip positions on Android
Po Lu [Sun, 7 Apr 2024 06:39:42 +0000 (14:39 +0800)]
Resolve disagreements in accounting of tooltip positions on Android

* java/org/gnu/emacs/EmacsService.java (getLocationInWindow):
New function.

* java/org/gnu/emacs/EmacsWindow.java (translateCoordinates):
Derive "root window" position from the origin point of the
containing activity's window rather than that of the screen,
the two of which differ when "freeform mode" is enabled.

(cherry picked from commit 8ee1dc8f1f9aa47260f8151c9eea30fb1ccf878a)

12 months ago* lisp/master.el (master-says): Check nil argument (bug#70230).
Lin Sun [Fri, 5 Apr 2024 06:58:07 +0000 (06:58 +0000)]
* lisp/master.el (master-says): Check nil argument (bug#70230).

(cherry picked from commit c7a0e4faa2a584063e4ace0ac4da8fb0ae1c5e50)

12 months agoPort new Android window management strategy to Android 5.0
Po Lu [Sun, 7 Apr 2024 04:15:39 +0000 (12:15 +0800)]
Port new Android window management strategy to Android 5.0

* doc/emacs/android.texi (Android Windowing): Revise to match.

* java/org/gnu/emacs/EmacsWindowManager.java (registerWindow)
(removeWindowConsumer, pruneWindows): Decrease minimum API for
monitoring of tasks to Android 5.0.
(getTaskToken): Ignore misleading documentation and access
baseIntent by way of RecentTaskInfo.

(cherry picked from commit ae296d762bc7366879e74f9dca90bc7edd89e860)

12 months ago; * etc/NEWS: Add entry about tab-bar-mode-map (bug#69578).
Juri Linkov [Sat, 6 Apr 2024 18:32:04 +0000 (21:32 +0300)]
; * etc/NEWS: Add entry about tab-bar-mode-map (bug#69578).

(cherry picked from commit ec25f5ad3d4323b56f239a06186f965c8d4cb695)

12 months ago; Commit autogenerated files.
Eli Zaretskii [Sat, 6 Apr 2024 15:15:36 +0000 (11:15 -0400)]
; Commit autogenerated files.

(cherry picked from commit e6535e41027662238e89591e6620e92b496c90b2)

12 months ago; Minor fixes of doc strings referencing keymaps.
Eli Zaretskii [Sat, 6 Apr 2024 10:43:50 +0000 (13:43 +0300)]
; Minor fixes of doc strings referencing keymaps.

* lisp/edmacro.el (edmacro-mode):
* lisp/info.el (Info-mouse-follow-nearest-node): Move the
reference to mode keymap from the first line.  (Bug#70163)

(cherry picked from commit eaec6cc3d7cc247377524225f2a51407a4cb20c7)

12 months ago; * INSTALL: Mention installation without root access (bug#70071).
Eli Zaretskii [Sat, 6 Apr 2024 10:31:06 +0000 (13:31 +0300)]
; * INSTALL: Mention installation without root access (bug#70071).

(cherry picked from commit 73569eb957e47e99d8181950afd7977a1ffa1acc)

12 months ago; * doc/lispref/commands.texi (Focus Events): Fix markup of last change.
Eli Zaretskii [Sat, 6 Apr 2024 10:13:27 +0000 (13:13 +0300)]
; * doc/lispref/commands.texi (Focus Events): Fix markup of last change.

(cherry picked from commit fab58ffc224de5e4e20ce7ea19f06ed33a036129)

12 months agoAdd documentation for 'switch-window' event
Jared Finder [Sat, 30 Mar 2024 20:14:43 +0000 (13:14 -0700)]
Add documentation for 'switch-window' event

* doc/lispref/commands.texi (Focus Events): Add
documentation for the structure of 'switch-window' events.
Make sure to be clear when referring to window system windows
vs Emacs windows.
* doc/lispref/windows.texi (Mouse Window Auto-selection):
Adding cross-reference to "Focus Events".  (Bug#69915)

(cherry picked from commit 9260904072d01e4b0f585825bfbc077310c8a974)

12 months agoSupport 'mouse-autoselect-window' in xterm-mouse
Olaf Rogalsky [Sat, 30 Mar 2024 16:00:51 +0000 (17:00 +0100)]
Support 'mouse-autoselect-window' in xterm-mouse

Generate select-window events, so that 'mouse-autoselect-window'
takes effect on TTY frames, when 'xterm-mouse-mode' is enabled.
* lisp/xt-mouse.el (xterm-mouse-translate-1):
If 'mouse-autoselect-window' is non-nil, add select-window
events to 'unread-command-events'.  (Bug#69915)

(cherry picked from commit abe39d57889cf354add083681d438d79ab28b662)

12 months ago; * etc/PROBLEMS: Entry about slow mouse-wheel with GTK3 (bug#70002).
Eli Zaretskii [Sat, 6 Apr 2024 09:14:26 +0000 (12:14 +0300)]
; * etc/PROBLEMS: Entry about slow mouse-wheel with GTK3 (bug#70002).

(cherry picked from commit 3d87d74a23d13e853f202cc589eb750c40f9e2be)

12 months ago; * doc/lispref/tips.texi (Documentation Tips): Improve (bug#70163).
Eli Zaretskii [Thu, 4 Apr 2024 13:28:31 +0000 (16:28 +0300)]
; * doc/lispref/tips.texi (Documentation Tips): Improve (bug#70163).

(cherry picked from commit c6899603b9c2e5de590ecfd6397a7125d1dab08b)

12 months ago; Update admin/make-tarball.txt
Eli Zaretskii [Thu, 4 Apr 2024 12:23:49 +0000 (15:23 +0300)]
; Update admin/make-tarball.txt

* admin/make-tarball.txt: Add text about preparing bundled
packages for an emergency release.  Suggested by Michael Albinus
<michael.albinus@gmx.de>.

(cherry picked from commit bd2c4d825db69eeb592102edff9e3afb69c5a231)

12 months ago; * etc/PROBLEMS: Add an entry about WebKitGTK (bug#66068).
Eli Zaretskii [Mon, 1 Apr 2024 12:24:47 +0000 (15:24 +0300)]
; * etc/PROBLEMS: Add an entry about WebKitGTK (bug#66068).

(cherry picked from commit f107dc26e37c7cc24b158b5dfd21b4fd8eb145f2)

12 months ago; Skip commit 305e35b2d871fdf86e7a349443fc4507d540e11e
Eshel Yaron [Sun, 7 Apr 2024 16:33:32 +0000 (18:33 +0200)]
; Skip commit 305e35b2d871fdf86e7a349443fc4507d540e11e

12 months agoFix warning-suppress for list type "warning type"
Xuan Wang [Fri, 29 Mar 2024 00:34:23 +0000 (20:34 -0400)]
Fix warning-suppress for list type "warning type"

Per the documentation of 'warning-suppress-types' and the
implementation of 'warning-suppress-p', a warning type can
be either a symbol or a list of symbols.  The previous
implementation could generate wrong 'warning-suppress-types':

  old behavior:
  type              warning-suppress-types
  pkg           ->    '((pkg))                  Correct
  (pkg subtype) ->    '(((pkg subtype)))        Incorrect

Now we check whether type is a cons cell first.  (Should not
use listp here, as listp returns t for nil.)

  new behavior:
  type              warning-suppress-types
  pkg           ->    '((pkg))                Correct
  (pkg subtype) ->    '((pkg subtype))        Correct

* lisp/emacs-lisp/warnings.el (warnings-suppress): Fix saving
warning types in 'warning-suppress-types'.  (Bug#70063)

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

12 months agoMake object init more robust (bug#69571)
Theodor Thornhill [Sun, 31 Mar 2024 08:43:44 +0000 (10:43 +0200)]
Make object init more robust (bug#69571)

* lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Make the
regex same as before, but conditionally check other heuristics rather
than crazy regex shenanigans.

(cherry picked from commit 910ea5f1e55793fa29292730a59397867b4e868f)

12 months agoAdd refactor.el
Eshel Yaron [Sun, 7 Apr 2024 16:32:35 +0000 (18:32 +0200)]
Add refactor.el

12 months agoCorrect typos in and omissions from earlier Android port changes
Po Lu [Sat, 6 Apr 2024 03:17:49 +0000 (11:17 +0800)]
Correct typos in and omissions from earlier Android port changes

* java/AndroidManifest.xml.in: Remove duplicate permissions.

* java/org/gnu/emacs/EmacsWindowManager.java
(removeWindowConsumer): Disregard isFinishing for non-initial
activities.

(cherry picked from commit 617bd85cd0bd1d0a73d405d623ee3dd41c7e8a37)

12 months ago(help-fns-function-description-header): Fix last change (bug#70209)
Stefan Monnier [Fri, 5 Apr 2024 22:29:16 +0000 (18:29 -0400)]
(help-fns-function-description-header): Fix last change (bug#70209)

* lisp/help-fns.el (help-fns-function-description-header): Don't make
a button for the type if it's not a type.

(cherry picked from commit 0286a11f3139dfd4bb9d3989ae860b8c128e12d0)

12 months agoMake sh-script-tests.el more robust
Michael Albinus [Fri, 5 Apr 2024 17:43:56 +0000 (19:43 +0200)]
Make sh-script-tests.el more robust

* test/lisp/progmodes/sh-script-tests.el (test-sh-script-indentation)
(test-basic-sh-indentation, test-indent-after-continuation):
* test/lisp/progmodes/sh-script-resources/sh-indents.erts (Code):
Skip if `sh-indent-supported-here' is nil.  (Bug#70196)

(cherry picked from commit aa356d03aeb13942ae6688ce919e0aa9fb4f1689)

12 months agoMark display-comint-buffer-action as obsolete after adding a category.
Juri Linkov [Fri, 5 Apr 2024 16:44:52 +0000 (19:44 +0300)]
Mark display-comint-buffer-action as obsolete after adding a category.

* lisp/window.el (display-comint-buffer-action):
Append '(category . comint)' to the default value.  Mark as obsolete.
(display-tex-shell-buffer-action):
Append '(category . tex-shell)' to the default value.  Mark as obsolete.
(bug#69983)

(cherry picked from commit 4e22ad8cef0710bf5ce3bf99deb8dd6e30d4078c)

12 months ago; Skip commit 6480de5ea74b6b2eeebdaa3bcf9fa8e384ffbab1
Eshel Yaron [Sat, 6 Apr 2024 06:42:23 +0000 (08:42 +0200)]
; Skip commit 6480de5ea74b6b2eeebdaa3bcf9fa8e384ffbab1

12 months ago* lisp/tab-bar.el (tab-bar-mode-map): New keymap (bug#69578).
Juri Linkov [Fri, 5 Apr 2024 16:23:08 +0000 (19:23 +0300)]
* lisp/tab-bar.el (tab-bar-mode-map): New keymap (bug#69578).

(tab-bar-select-tab-modifiers): Call tab-bar--undefine-keys
before set-default in :set of defcustom.
(tab-bar--define-keys, tab-bar--undefine-keys):
Change keybindings in tab-bar-mode-map instead of the global map.
Move checking of global-key-binding to tab-bar-mode--tab-key-bind.
(tab-bar-mode--tab-key-bind): New internal function.

(cherry picked from commit 50fab7062d9edf1a2698f3d468dcbcd1c9a3ee9b)

12 months agoOnly call set-text-conversion-style if it exists
Mattias Engdegård [Fri, 5 Apr 2024 13:54:30 +0000 (15:54 +0200)]
Only call set-text-conversion-style if it exists

* lisp/auth-source.el (read-passwd): Guard call, as it was before the
code was moved here.
`set-text-conversion-style` is not present in all configurations.

(cherry picked from commit 4fc84cb23b6d671b44f18b8462e94c3bcfc3ee09)

12 months ago* lisp/help-fns.el (help-fns-function-description-header): Fix bug#70209
Stefan Monnier [Fri, 5 Apr 2024 11:41:42 +0000 (07:41 -0400)]
* lisp/help-fns.el (help-fns-function-description-header): Fix bug#70209

Replace the whimsical "" default by something actually useful.

(cherry picked from commit 200a0e5e7d589256d9aad79ff0e9b74b579e7f5e)

12 months ago; Fix indentation in last change to windows.texi.
Basil L. Contovounesios [Thu, 4 Apr 2024 19:48:22 +0000 (21:48 +0200)]
; Fix indentation in last change to windows.texi.

(cherry picked from commit 64e1cfb98cbad24fbc72502f6529725cbe202101)

12 months agoEnable relinquishing access to Android content directories
Po Lu [Fri, 5 Apr 2024 07:04:09 +0000 (15:04 +0800)]
Enable relinquishing access to Android content directories

* doc/emacs/android.texi (Android Document Providers): Document
new command.

* java/org/gnu/emacs/EmacsService.java (relinquishUriRights):
New function.

* src/Makefile.in (SOME_MACHINE_OBJECTS): Add androidvfs.c.

* src/android.c (android_init_emacs_service): Link to new
function.

* src/android.h (struct android_emacs_service)
<relinquish_uri_rights>: New field.

* src/androidfns.c:

* src/androidvfs.c (android_saf_tree_name)
(android_saf_tree_opendir): Minor adjustments to commentary.
(Fandroid_relinquish_directory_access): New function.
(syms_of_androidvfs): Define new subr.

(cherry picked from commit aad63f935f8737598835612b53bc3b53c124661f)

12 months agoPrint records inside data-debug
Po Lu [Fri, 5 Apr 2024 06:07:44 +0000 (14:07 +0800)]
Print records inside data-debug

* lisp/cedet/data-debug.el
(data-debug-insert-stuff-record-button): New function.
(data-debug-thing-alist): Register new function.

(cherry picked from commit 7a13d012c8e17eb25fc8826cdd9ac3e96f912167)

12 months agoDefine missing type in semantic/db-find.el
Po Lu [Fri, 5 Apr 2024 05:54:07 +0000 (13:54 +0800)]
Define missing type in semantic/db-find.el

* lisp/cedet/semantic/db-find.el
(semanticdb-find-result-with-nil): New deftype.

(cherry picked from commit c57b50569cca1b0d1cc85446ecf6be11326c2a4d)

12 months ago* lisp/hexl.el (hexl-mode): Fix doc string (bug#70163).
Eli Zaretskii [Fri, 5 Apr 2024 05:45:44 +0000 (08:45 +0300)]
* lisp/hexl.el (hexl-mode): Fix doc string (bug#70163).

(cherry picked from commit 3cf0bb174ef9e5d517f3052a5b8639dddeb249ea)

12 months agoFix Semantic tag discovery when loading of unloaded files is suppressed
Po Lu [Fri, 5 Apr 2024 02:39:33 +0000 (10:39 +0800)]
Fix Semantic tag discovery when loading of unloaded files is suppressed

* lisp/cedet/semantic/db-find.el
(semanticdb-find-tags-by-name-method)
(semanticdb-find-tags-by-name-regexp-method)
(semanticdb-find-tags-for-completion-method)
(semanticdb-find-tags-by-class-method)
(semanticdb-find-tags-external-children-of-type-method)
(semanticdb-find-tags-subclasses-of-type-method)
(semanticdb-deep-find-tags-by-name-method)
(semanticdb-deep-find-tags-by-name-regexp-method)
(semanticdb-deep-find-tags-for-completion-method): Verify that
tags is bound before accessing it; this slot is unbound in
tables created for unloaded files when the `unloaded' throttle
is disabled.

(cherry picked from commit 3968b36ae0641e929426991028b49ce66a15af5f)

12 months ago(project-current): Fix the previous change
Spencer Baugh [Fri, 5 Apr 2024 00:29:42 +0000 (03:29 +0300)]
(project-current): Fix the previous change

* lisp/progmodes/project.el (project-current):
Fix the previous change (bug#69584).

(cherry picked from commit 21f9be005318dcc58918884fc3c24d7d75562e96)

12 months ago; * lisp/auth-source.el: add declarations to silence compiler
Mattias Engdegård [Thu, 4 Apr 2024 16:59:45 +0000 (18:59 +0200)]
; * lisp/auth-source.el: add declarations to silence compiler

(cherry picked from commit b49765b516e921d7dc020f1038c1442b1bb420ef)

12 months ago; * src/json.c: Comment correction
Mattias Engdegård [Thu, 4 Apr 2024 13:48:09 +0000 (15:48 +0200)]
; * src/json.c: Comment correction

(cherry picked from commit 4a74999a735d9c0980d119dedf266ac2035e3ae9)

12 months agoAdapt treesitter tests for EMBA
Michael Albinus [Thu, 4 Apr 2024 14:51:55 +0000 (16:51 +0200)]
Adapt treesitter tests for EMBA

* test/infra/Makefile.in (TREE-SITTER-FILES): Add js-tests.el and
python-tests.el, which don't follow test file name convention.

* test/infra/test-jobs.yml: Regenerate.

(cherry picked from commit c2e0ebf752cef595de16140933f51e810e0d4061)

12 months ago; * doc/misc/cl.texi (Function Bindings): Fix reference.
Michael Albinus [Thu, 4 Apr 2024 13:24:15 +0000 (15:24 +0200)]
; * doc/misc/cl.texi (Function Bindings): Fix reference.

(cherry picked from commit 77022a0d7327d3a79de083997a11a727a371cade)

12 months agoMove read-passwd* to auth-source.el, avoiding compilation warnings
Michael Albinus [Thu, 4 Apr 2024 12:51:57 +0000 (14:51 +0200)]
Move read-passwd* to auth-source.el, avoiding compilation warnings

* lisp/simple.el (read-passwd*):
* lisp/subr.el (read-passwd*): Move definitions ...

* lisp/auth-source.el: ... here.
(icons): Require.

(cherry picked from commit 44d83def4fa046986ac6919ca53f789d01840ffa)

12 months ago* src/json.c (make_symset_table): Fix over-large allocation size.
Mattias Engdegård [Thu, 4 Apr 2024 10:21:26 +0000 (12:21 +0200)]
* src/json.c (make_symset_table): Fix over-large allocation size.

We multiplied when we should have added.  Oops.

(cherry picked from commit a0d646fb9f3945d98586b15d157dbb909843f06c)

12 months agoUse different *Completions* buffers in different minibuffers
Eshel Yaron [Fri, 5 Apr 2024 08:43:10 +0000 (10:43 +0200)]
Use different *Completions* buffers in different minibuffers

12 months agoDisobey display actions while using switch-to-buffer on the tab-line
Juri Linkov [Thu, 4 Apr 2024 06:21:01 +0000 (09:21 +0300)]
Disobey display actions while using switch-to-buffer on the tab-line

* lisp/tab-line.el (tab-line-select-tab-buffer)
(tab-line-switch-to-prev-tab, tab-line-switch-to-next-tab): Let-bind
switch-to-buffer-obey-display-actions to nil around the call to
switch-to-buffer to restrain buffer switching in bounds of
the same window only (bug#69993).

(cherry picked from commit 57e78f2d49a5b1a2337a15254e7b8c87aa63c83a)