]> git.eshelyaron.com Git - emacs.git/log
emacs.git
4 weeks ago; Skip commit 30bcba27c8c8c89c4ba9d81fc96edf173329a7e6
Eshel Yaron [Wed, 27 Nov 2024 19:53:33 +0000 (20:53 +0100)]
; Skip commit 30bcba27c8c8c89c4ba9d81fc96edf173329a7e6

4 weeks agoRust ts: fontify as type the possible suffix of number literals
Christophe Troestler [Fri, 18 Oct 2024 21:50:06 +0000 (23:50 +0200)]
Rust ts: fontify as type the possible suffix of number literals

* lisp/progmodes/rust-ts-mode.el
(rust-ts-mode--fontify-number-literal): Perform the improved
fontification of numbers.  (Bug#73877)
* test/lisp/progmodes/rust-ts-mode-tests.el:
* test/lisp/progmodes/rust-ts-mode-resources/font-lock.rs:
* test/lisp/progmodes/rust-ts-mode-resources/font-lock-number.rs:
Add tests for the new optional fontification of the possible type
suffix of numbers.

(cherry picked from commit 902696c3ae3ed046208c57de923362bb609da6df)

4 weeks agoImprove robustness of auth-source-pass.el
Michael Albinus [Sat, 23 Nov 2024 11:49:56 +0000 (12:49 +0100)]
Improve robustness of auth-source-pass.el

* lisp/auth-source-pass.el (auth-source-pass--read-entry):
Ensure, that `epa-file-handler' is active.  (Bug#67937)

(cherry picked from commit 1b33c00f4c28d730b17293f94ce5325f7e916bc8)

4 weeks ago; Skip commit 1c2e0615fb87727bc2aa1f871353c999b67c792a
Eshel Yaron [Wed, 27 Nov 2024 19:52:43 +0000 (20:52 +0100)]
; Skip commit 1c2e0615fb87727bc2aa1f871353c999b67c792a

4 weeks ago; Skip commit 097b685aa1c781afc298062f1cc76ab058cdb1a1
Eshel Yaron [Wed, 27 Nov 2024 19:52:28 +0000 (20:52 +0100)]
; Skip commit 097b685aa1c781afc298062f1cc76ab058cdb1a1

4 weeks agoSkip proced refine tests on Darwin
Laurence Warne [Thu, 21 Nov 2024 17:26:25 +0000 (17:26 +0000)]
Skip proced refine tests on Darwin

* test/lisp/proced-tests.el (proced-refine-test)
(proced-refine-with-update-test): Skip if the system is Darwin.

(cherry picked from commit 74a972cace6816753475c3c21f5b164a9a9342dd)

4 weeks agoUse prefix argument in 'package-install-selected-packages'
Sean Devlin [Mon, 28 Oct 2024 14:34:48 +0000 (10:34 -0400)]
Use prefix argument in 'package-install-selected-packages'

* lisp/emacs-lisp/package.el (package-install-selected-packages):
When invoked with a prefix argument, skip user confirmation when
installing packages.
* etc/NEWS: Announce the prefix argument usage.  (Bug#73932)

(cherry picked from commit c66c0942ea9ac10e6d6324e472150de403a03b69)

4 weeks agoAdd noconfirm to 'package-autoremove'
Sean Devlin [Mon, 21 Oct 2024 15:28:06 +0000 (11:28 -0400)]
Add noconfirm to 'package-autoremove'

* lisp/emacs-lisp/package.el (package-autoremove):
Add optional argument NOCONFIRM to skip user confirmation when removing
packages.
* etc/NEWS: Announce the new argument.  (Bug#73932)

(cherry picked from commit b4e2d9a3af3dbd0ac7fa944e9386f667feb1c124)

4 weeks ago; Fix recent additions to the manuals
Eli Zaretskii [Thu, 21 Nov 2024 15:47:22 +0000 (17:47 +0200)]
; Fix recent additions to the manuals

* doc/lispref/objects.texi (Type Specifiers):
* doc/lispref/functions.texi (Declare Form):
* doc/emacs/help.texi (Name Help): Fix wording and markup.
(Bug#73626)

(cherry picked from commit c50ce03afc1ee636d5678844fcf982b7ac0a7f8f)

4 weeks ago; * lisp/term/w32-win.el (tree-sitter--library-abi): Declare to rm warning.
Andrea Corallo [Thu, 21 Nov 2024 15:02:37 +0000 (16:02 +0100)]
; * lisp/term/w32-win.el (tree-sitter--library-abi): Declare to rm warning.

(cherry picked from commit c818c5bbafde627ed277c599815c27f8cd40f891)

4 weeks ago; Better clarify function types in C-h f (bug#73626)
Andrea Corallo [Thu, 14 Nov 2024 00:01:08 +0000 (01:01 +0100)]
; Better clarify function types in C-h f (bug#73626)

* doc/emacs/help.texi (Name Help): Better clarify function types.

(cherry picked from commit b71d3b2f52ff186e2e7e9724890aa08d0fc9796b)

4 weeks ago; Introduce type specifiers to the elisp manual (bug#73626)
Andrea Corallo [Wed, 13 Nov 2024 23:20:13 +0000 (00:20 +0100)]
; Introduce type specifiers to the elisp manual (bug#73626)

* doc/lispref/objects.texi (Programming Types): Add 'Type Specifiers' entry.
(Type Specifiers): Add node.
* doc/lispref/functions.texi (Declare Form): Add 'Type Specifiers'
reference.

(cherry picked from commit 59b3eae481d59d901ff64de1a827d3dd656a4fc9)

4 weeks agoFuture-proof loading tree-sitter library on MS-Windows
Eli Zaretskii [Thu, 21 Nov 2024 12:55:38 +0000 (14:55 +0200)]
Future-proof loading tree-sitter library on MS-Windows

* src/treesit.c (syms_of_treesit) <tree-sitter--library-abi>: New
internal variable.

* lisp/term/w32-win.el (dynamic-library-alist): Use
'tree-sitter--library-abi' to select a proper libtree-sitter DLL
version.

(cherry picked from commit 83fc3cf53a4b54a4ec3bf464cfea97f74522cd8d)

4 weeks ago; Improve documentation of 'category' in display-buffer actions
Eli Zaretskii [Thu, 21 Nov 2024 10:28:26 +0000 (12:28 +0200)]
; Improve documentation of 'category' in display-buffer actions

* doc/lispref/windows.texi (Choosing Window)
(Buffer Display Action Alists): Add cross-references.
* doc/lispref/buffers.texi (Buffer List):

* lisp/subr.el (buffer-match-p): Improve documentation of
'category' condition.  (Bug#74361)

(cherry picked from commit 3eb3018682595208076fe7beea1175e123cf1966)

4 weeks ago; More accurate documentation of 'set-mark-command'
Eli Zaretskii [Thu, 21 Nov 2024 09:47:07 +0000 (11:47 +0200)]
; More accurate documentation of 'set-mark-command'

* doc/emacs/mark.texi (Setting Mark, Global Mark Ring): Explain
that activating an existing mark doesn't set a new mark, and
doesn't push the mark onto the global mark ring.  (Bug#74438)

(cherry picked from commit 4d80c4f4858916becd528b236b29085d29cf3706)

4 weeks agoFix overriding 'c-ts-mode' by 'c-mode'
Eli Zaretskii [Thu, 21 Nov 2024 07:43:34 +0000 (09:43 +0200)]
Fix overriding 'c-ts-mode' by 'c-mode'

* lisp/progmodes/c-ts-mode.el: Remove all c- and c++-mode
associations from 'major-mode-remap-defaults' before installing
entries that remap to 'c-ts-mode' and 'c++-ts-mode'.  (Bug#74339)

(cherry picked from commit 70dd5705e11f2259dd1890cee6c72ddcf9d7dd33)

4 weeks ago; Improve vc-dir help-echo
Eli Zaretskii [Mon, 18 Nov 2024 19:25:18 +0000 (21:25 +0200)]
; Improve vc-dir help-echo

* lisp/vc/vc-git.el (vc-git-stash-shared-help)
(vc-git-stash-list-help, vc-git-stash-menu-map): Improve help-echo
text.

(cherry picked from commit 331610aef0572eacb2846f817e979aa5e29170b7)

4 weeks ago; Avoid assertion violations in "temacs -Q"
Eli Zaretskii [Mon, 18 Nov 2024 18:54:15 +0000 (20:54 +0200)]
; Avoid assertion violations in "temacs -Q"

* src/lread.c (build_load_history): Use Fequal to compare strings.

(cherry picked from commit 9c484d510121e0d545f952bc016586ead61d3f10)

4 weeks agolisp/progmodes/c-ts-mode.el: Demote loading c-ts-mode as a configuration
Stefan Monnier [Mon, 18 Nov 2024 15:10:00 +0000 (10:10 -0500)]
lisp/progmodes/c-ts-mode.el: Demote loading c-ts-mode as a configuration

See bug#74367.

(cherry picked from commit 8dc9dfdc381f5b75594572bfb3bbfb5126bc4a88)

4 weeks ago; In PROBLEMS mention issue with .Xresources on Gnome desktop (Bug#73244)
Martin Rudalics [Sat, 16 Nov 2024 16:30:29 +0000 (17:30 +0100)]
; In PROBLEMS mention issue with .Xresources on Gnome desktop (Bug#73244)

* etc/PROBLEMS: Mention issue with specifying frame size in
.Xresources when running Emacs on Gnome desktop (Bug#73244).

(cherry picked from commit 426bce8a6754a112b38a5c6ded75497a0be08718)

4 weeks ago; Skip commit fc52cb8d74151bcac18d534529517a0a1845ad2e
Eshel Yaron [Wed, 27 Nov 2024 19:49:33 +0000 (20:49 +0100)]
; Skip commit fc52cb8d74151bcac18d534529517a0a1845ad2e

4 weeks agoImprove the documentation of major-mode remapping
Eli Zaretskii [Sat, 16 Nov 2024 09:47:34 +0000 (11:47 +0200)]
Improve the documentation of major-mode remapping

* etc/NEWS (example):
* doc/emacs/files.texi (Reverting):
* doc/emacs/modes.texi (Choosing Modes): Improve the documentation
of 'major-mode-remap-alist' and mode remapping.  (Bug#74339)

(cherry picked from commit 81816800628f1eef1928eee3ccf9a2f8b53ab9a7)

4 weeks ago; Skip commit 0856360d80c6cded703e4e32f1a49653fbcba485
Eshel Yaron [Wed, 27 Nov 2024 19:48:46 +0000 (20:48 +0100)]
; Skip commit 0856360d80c6cded703e4e32f1a49653fbcba485

4 weeks agoImprove 'which-key-special-keys' docstring
Robert Pluim [Fri, 15 Nov 2024 15:28:55 +0000 (16:28 +0100)]
Improve 'which-key-special-keys' docstring

* lisp/which-key.el (which-key-special-keys): Explain the format
and use 'setopt'.

(cherry picked from commit d4f81f716ae0ced72e26b403972adf95f02dbdd0)

4 weeks agoDon't error in Proced tests if %CPU is a NaN
Laurence Warne [Fri, 15 Nov 2024 15:22:52 +0000 (16:22 +0100)]
Don't error in Proced tests if %CPU is a NaN

* test/lisp/proced-tests.el (proced--cpu-at-point): New function.
(proced--assert-process-valid-cpu-refinement)
(proced-refine-test, proced-refine-with-update-test): If %CPU for any
process visited is a NaN skip the test.
(proced-update-preserves-pid-at-point-test): Fix typo in comment.
(proced--assert-process-valid-cpu-refinement-explainer): Add process
attributes to the explainer along with tweaking how the process %CPU is
obtained to account for circumstances where it's not numeric (most
notably '-nan').

(cherry picked from commit 926d47ab2ca72054f1a5c774916927160a839dc1)

4 weeks agoFix bug#74511
Eshel Yaron [Wed, 27 Nov 2024 19:42:57 +0000 (20:42 +0100)]
Fix bug#74511

4 weeks agoUnbreak tramp-sh.el
Eshel Yaron [Wed, 27 Nov 2024 19:42:36 +0000 (20:42 +0100)]
Unbreak tramp-sh.el

4 weeks ago; Fix typos
Stefan Kangas [Mon, 4 Nov 2024 21:27:36 +0000 (22:27 +0100)]
; Fix typos

(cherry picked from commit 7cb77385d38b96377d404a2ab0e778b2dfce5c77)

5 weeks ago* cus-face.el: Provide completion for font families (bug#74362)
Stefan Monnier [Sun, 17 Nov 2024 22:49:49 +0000 (17:49 -0500)]
* cus-face.el: Provide completion for font families (bug#74362)

* lisp/cus-edit.el (custom-face--font-cache-timeout): New var.
(custom-face--font-completion): New function.
* lisp/cus-face.el (custom-face-attributes): Use it.

(cherry picked from commit ea550488233833baafda90a3f258f96953381274)

5 weeks agoman.el: Guess flags for `man -k` to fix bug#73656
Stefan Monnier [Sun, 17 Nov 2024 21:52:33 +0000 (16:52 -0500)]
man.el: Guess flags for `man -k` to fix bug#73656

* lisp/man.el (Man-man-k-flags): New var.
(Man-completion-table): Use it.

(cherry picked from commit 347750461e71eec4668fb265cd29cffce45783f2)

5 weeks ago; Fix last change
Michael Albinus [Sun, 17 Nov 2024 10:37:10 +0000 (11:37 +0100)]
; Fix last change

(cherry picked from commit b6181c9ec9f7dcbb1c5657537ccc52dc7a3bf6ac)

5 weeks agoTramp: Be more conservative in removing temporary files
Michael Albinus [Sun, 17 Nov 2024 10:15:30 +0000 (11:15 +0100)]
Tramp: Be more conservative in removing temporary files

* test/lisp/net/tramp-tests.el (Commentary): Extend.
(tramp--test-enabled): Exclude also old FUSE mount points from
deletion.

(cherry picked from commit b6e78f7d8cc6ac6b2fdea0761879e0d65f493191)

5 weeks ago; Fix documentation of new header-line faces (bug#73862)
Eli Zaretskii [Sun, 17 Nov 2024 08:22:17 +0000 (10:22 +0200)]
; Fix documentation of new header-line faces (bug#73862)

* doc/emacs/display.texi (Standard Faces): Fix wording.

* etc/NEWS: Fix entry about new header-line faces.

(cherry picked from commit cd490c6470d93bf4093a8e3ea411fa179b235f07)

5 weeks ago* src/pdumper.c (dump_interval_node): Fix itree_node struct hash.
Andrea Corallo [Sat, 16 Nov 2024 21:11:47 +0000 (22:11 +0100)]
* src/pdumper.c (dump_interval_node): Fix itree_node struct hash.

(cherry picked from commit 7ded1064cf4d9fde32c7a89473ef9476520cd556)

5 weeks agoFix font-lock in 'lisp-mode'
Eli Zaretskii [Sat, 16 Nov 2024 14:21:36 +0000 (16:21 +0200)]
Fix font-lock in 'lisp-mode'

* lisp/emacs-lisp/lisp-mode.el (lisp-fdefs): Fix regexps for
"\\<>" and similar constructs.  (Bug#74307)

(cherry picked from commit 200c877cd48aa0f7638fdd5157555374f0f7bfc8)

5 weeks ago; Fix last change
Eli Zaretskii [Sat, 16 Nov 2024 14:08:26 +0000 (16:08 +0200)]
; Fix last change

* doc/emacs/display.texi (Standard Faces): Fix indexing.

* lisp/faces.el (header-line-active, header-line-inactive): Fix
the :version tag.  (Bug#73862)

(cherry picked from commit f630520be97a9dda5e4b93765dbd82b6e9b298d0)

5 weeks agoAdd new `header-line-active' and `header-line-inactive' faces
Trevor Murphy [Thu, 17 Oct 2024 22:51:14 +0000 (15:51 -0700)]
Add new `header-line-active' and `header-line-inactive' faces

This is all intended to parallel the 'mode-line-active' and
'mode-line-inactive' distinction.
* doc/emacs/display.texi (Standard Faces): Document the new faces.

* lisp/faces.el (header-line-active, header-line-inactive): New
faces.

* src/dispextern.h (CURRENT_HEADER_LINE_ACTIVE_FACE_ID_3)
(CURRENT_HEADER_LINE_ACTIVE_FACE_ID): New macros based on mode
line equivalents.
(face_id): New face IDs.
* src/xdisp.c (window_box_height, pos_visible_p, init_iterator)
(window_text_pixel_size, display_mode_lines, display_mode_line)
(format-mode-line): Replace all uses of HEADER_LINE_FACE_ID with
either a new macro or the new face IDs.
* src/xfaces.c (syms_of_xfaces): New lisp symbols.
(lookup_basic_face, realize_basic_faces): Map new face IDs to
their lisp symbols.  (Bug#73862)

(cherry picked from commit a4014c058b547d4f9c8c61c6737c85c2636fdb34)

5 weeks agoFix customization type of erc-spelling-dictionaries
Bruno Boal [Thu, 14 Nov 2024 23:58:43 +0000 (23:58 +0000)]
Fix customization type of erc-spelling-dictionaries

* lisp/erc/erc-spelling.el (erc-spelling-dictionaries): Update :type
specification to reflect shape expected by `erc-spelling-init', and
improve description in doc string.  (Bug#74363)

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

5 weeks agoUse helper to get erc-networks--id symbol as string
F. Jason Park [Thu, 14 Nov 2024 08:28:35 +0000 (00:28 -0800)]
Use helper to get erc-networks--id symbol as string

* lisp/erc/erc-networks.el (erc-networks--id-string): New function.
(erc-networks--construct-target-buffer-name)
(erc-networks--ensure-unique-server-buffer-name)
(erc-networks--rename-server-buffer): Use it.
* lisp/erc/erc-nicks.el (erc-nicks-list-faces): Use it.
* lisp/erc/erc-status-sidebar.el (erc-status-sidebar-pad-hierarchy): Use it.
* lisp/erc/erc.el (erc-generate-new-buffer-name)
(erc-log-irc-protocol)
(erc--auth-source-determine-params-defaults)
(erc-format-target-and/or-network): Use it.
* test/lisp/erc/erc-networks-tests.el (erc-networks--id-string): New test.

(cherry picked from commit 7fc048ca7781f9ba04d953f79fb29646c92cf35d)

5 weeks ago; Fix TRAMP manual indexing
Michael Albinus [Fri, 15 Nov 2024 14:41:42 +0000 (15:41 +0100)]
; Fix TRAMP manual indexing

* doc/misc/tramp.texi (Customizing Methods): Make sure @item comes
after @cindex.

(cherry picked from commit d25689d6e2cfd387edbc77b01c03d0ae767f8cf0)

5 weeks agoRemove Tramp temp files if advised during tests
Michael Albinus [Fri, 15 Nov 2024 13:28:08 +0000 (14:28 +0100)]
Remove Tramp temp files if advised during tests

* lisp/net/tramp-fuse.el (tramp-fuse-name-prefix): New defconst.
(tramp-fuse-mount-point): Use it.

* test/lisp/net/tramp-tests.el (tramp-test-name-prefix): New defconst.
(tramp--test-make-temp-name, tramp-test40-make-nearby-temp-file)
(tramp-test47-read-password, tramp-test47-read-otp-password):
Use it.
(tramp--test-enabled-checked): Move down.
(tramp--test-enabled): Delete all Tramp temp files when
environment variable $TRAMP_TEST_CLEANUP_TEMP_FILES is set.
(tramp-test02-file-name-dissect-separate):
Adapt `tramp-crypt-directories' according to syntax.
(tramp-test47-read-password):
Let-bind `tramp-connection-properties' instead of modifying
`tramp-methods'.

(cherry picked from commit 310ce93d02c5317be589803fbde96fd20b96e496)

5 weeks ago* lisp/subr.el (read-number): Document collision with 'format-prompt'.
Joseph Turner [Sat, 9 Nov 2024 19:15:25 +0000 (11:15 -0800)]
* lisp/subr.el (read-number): Document collision with 'format-prompt'.

(cherry picked from commit c29c54410ea889bafc1bb4a29664827bc893b7d4)

5 weeks ago; Fix TRAMP manual indexing
Robert Pluim [Fri, 15 Nov 2024 09:47:23 +0000 (10:47 +0100)]
; Fix TRAMP manual indexing

* doc/misc/tramp.texi (Inline methods):
(External methods):
(GVFS-based methods):
(FUSE-based methods):
(Customizing Methods):
(Remote shell setup):
(Change file name syntax):
(Archive file names):
(Frequently Asked Questions): Make sure @item comes after
@cindex and similar indexing commands.

(cherry picked from commit 68337106f910602a32dca0597137291582c6e45a)

5 weeks agoNew user option bibtex-entry-ask-for-key
Roland Winkler [Fri, 15 Nov 2024 05:26:23 +0000 (23:26 -0600)]
New user option bibtex-entry-ask-for-key

(cherry picked from commit cc9188b1900079f87d76cc8b7493d64a9ccd9d36)

5 weeks agoDon't clobber stickiness text properties when printing Eshell prompt
Jim Porter [Thu, 7 Nov 2024 18:08:33 +0000 (10:08 -0800)]
Don't clobber stickiness text properties when printing Eshell prompt

* lisp/eshell/em-prompt.el (eshell--append-text-property): New
function...
(eshell-emit-prompt): ... use it.

* test/lisp/eshell/em-prompt-tests.el
(em-prompt-test/field-properties/merge-stickiness): New test.
(em-prompt-test/field-properties, em-prompt-test/after-failure): Reorder
stickiness values (bug#74230).

(cherry picked from commit df288d2e4148e6e72f21752a510f98536e7705ac)

5 weeks agoFix errors in Tramp's password cache expiration
Michael Albinus [Thu, 14 Nov 2024 16:29:07 +0000 (17:29 +0100)]
Fix errors in Tramp's password cache expiration

* doc/misc/tramp.texi (Password handling): Mention expiration of
cached passwords when a session timeout happens.

* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection): Rename
file property "process-attributes" to connection property
" process-attributes".

* lisp/net/tramp.el (tramp-read-passwd):
* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-send-command):
Rename connection property "password-vector" to "pw-vector".

* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
Use connection property "hop-vector".

* lisp/net/tramp.el (tramp-get-process-attributes)
(tramp-handle-list-system-processes): Rename file property
"process-attributes" to connection property " process-attributes".
(tramp-compute-multi-hops): Check for
`tramp-sh-file-name-handler-p', it works only for this.
(tramp-action-password, tramp-process-actions): Use connection
property "hop-vector".
(tramp-read-passwd, tramp-clear-passwd): Rewrite.  (Bug#74105)

(cherry picked from commit 6d42c70fd3e2e63c8f993a10c83dee7425f185d5)

5 weeks agoFix drag-n-drop on MS-Windows
Cecilio Pardo [Thu, 14 Nov 2024 08:55:56 +0000 (09:55 +0100)]
Fix drag-n-drop on MS-Windows

* src/w32fns.c (struct w32_drop_target): New member 'ref_count'.
(w32_drop_target_AddRef): Increment reference count.
(w32_drop_target_Release): Decrement reference count, and free the
target only if the reference count is zero.
(w32_createwindow): Initialize reference count.  (Bug#74312)

(cherry picked from commit b83a45eab53b8e6d8f3be45c0acb9a42a5262cb0)

5 weeks ago; Skip commit 5b19ca56f1d91a65c0068160790e2cb512bb2067
Eshel Yaron [Wed, 20 Nov 2024 16:11:20 +0000 (17:11 +0100)]
; Skip commit 5b19ca56f1d91a65c0068160790e2cb512bb2067

5 weeks agoAdd song viewer to 'mpc' (Bug#74200)
john muhl [Sat, 19 Oct 2024 23:25:41 +0000 (18:25 -0500)]
Add song viewer to 'mpc' (Bug#74200)

* lisp/mpc.el (mpc-describe-song): New command.
(mpc-mode-map): Bind "d" to 'mpc-describe-song'.
(mpc-mode-menu): Add menu item.
(mpc-secs-to-time): Ensure secs argument is an integer.
(mpc-song-viewer-empty, mpc-song-viewer-tag):
(mpc-song-viewer-value): New face.
(mpc-song-viewer-tags): New option.

(cherry picked from commit 32f070fa3dfccd29abad6e7566ed9121e3f1da39)

5 weeks ago; TRAMP manual spelling and grammar fixes
Robert Pluim [Wed, 13 Nov 2024 16:10:57 +0000 (17:10 +0100)]
; TRAMP manual spelling and grammar fixes

* doc/misc/tramp.texi (FUSE-based methods):
(Firewalls):
(Predefined connection information):
(Remote programs):
(Remote shell setup):
(Ssh setup):
(Home directories):
(Remote processes):
(Renaming remote files):
(Archive file names):
(Bug Reports):
(Frequently Asked Questions): Use "can" instead of "could" where
it makes sense.

(cherry picked from commit 8f6ff233ef11e7cc19c524228f48b732a98aa284)

5 weeks agoImprove font-locking and indentation in 'php-ts-mode'
Vincenzo Pupillo [Thu, 7 Nov 2024 11:55:50 +0000 (12:55 +0100)]
Improve font-locking and indentation in 'php-ts-mode'

* lisp/progmodes/php-ts-mode.el (php-ts-mode--language-source-alist):
Updated to latest version of PHP grammar.
(php-ts-mode--indent-styles): 'namespace_use_declaration' is now
correctly indented.
(php-ts-mode--operators): Support of the "argument unpacking
operator".
(php-ts-mode--font-lock-settings): 'nullsafe_member_call_expression'
is now highlighted correctly.
(php-ts-mode--comment-indent-new-line): Delete trailing whitespace
before inserting newline (see bug#73900 for more information).
Bug#74239

(cherry picked from commit f69f54c454eb3c0f8ff8c55cfd2b7832ea1709cf)

5 weeks agoFix some 'lua-ts-mode' options (Bug#74235)
john muhl [Sat, 9 Nov 2024 17:01:45 +0000 (11:01 -0600)]
Fix some 'lua-ts-mode' options (Bug#74235)

* lisp/progmodes/lua-ts-mode.el (lua-ts-luacheck-program):
(lua-ts-inferior-program): Switch to 'file' type and remove 'nil'
as a choice.
(lua-ts-inferior-lua): Ensure 'lua-ts-inferior-program' is set.

(cherry picked from commit 27aacbd172f3b94926073250ef81a226616d1e45)

5 weeks ago; Update the xwidgets-on-NS text due to fixing bug#60703
Andrew De Angelis [Sun, 10 Nov 2024 15:13:17 +0000 (10:13 -0500)]
; Update the xwidgets-on-NS text due to fixing bug#60703

* etc/TODO: Update the xwidgets-on-NS text (bug#74295).

(cherry picked from commit a0613372a7bbc19f87f19c49153eca262eb750c1)

5 weeks agoImprove comment indenting in 'lua-ts-mode'
john muhl [Sun, 10 Nov 2024 17:26:33 +0000 (11:26 -0600)]
Improve comment indenting in 'lua-ts-mode'

* lisp/progmodes/lua-ts-mode.el (lua-ts--simple-indent-rules):
Align single line comments with the surrounding context.
(lua-ts--comment-first-sibling-matcher): Check that comment is
the first sibling.
(lua-ts--multi-line-comment-start): New function.
* test/lisp/progmodes/lua-ts-mode-resources/indent.erts:
Add tests.  (Bug#74298)

(cherry picked from commit d592832504554c6ee30bea263e55dc84feaec18d)

5 weeks ago; Skip commit 6bc44ccf287a398d47563ddf60d13784cd64720f
Eshel Yaron [Wed, 20 Nov 2024 12:34:19 +0000 (13:34 +0100)]
; Skip commit 6bc44ccf287a398d47563ddf60d13784cd64720f

5 weeks agoDelete commented out help--describe-vector implementation
Stefan Kangas [Wed, 13 Nov 2024 22:26:41 +0000 (23:26 +0100)]
Delete commented out help--describe-vector implementation

This was an attempt at lifting 'help--describe-vector' to Lisp that
turned out to be prohibitively slow.  It is still there in the Git log
if we need to refer back to it.  Currently, it is just dead weight, so
delete it.

* lisp/help.el: Delete commented out code.

(cherry picked from commit 96656c77e282939a84b19a9ccbbea5fbea948e33)

5 weeks agoAdd docstring to gnus-group-toggle-subscription
Stefan Kangas [Wed, 13 Nov 2024 22:25:52 +0000 (23:25 +0100)]
Add docstring to gnus-group-toggle-subscription

* lisp/gnus/gnus-group.el (gnus-group-toggle-subscription): Add
docstring.

(cherry picked from commit 8e27f5bc5276287038dcdbaa8d09bc42f61d1073)

5 weeks ago* lisp/files.el (require-with-check): Fix last fix (bug#74289)
Stefan Monnier [Wed, 13 Nov 2024 16:39:05 +0000 (11:39 -0500)]
* lisp/files.el (require-with-check): Fix last fix (bug#74289)

(cherry picked from commit 8afcfed825ae60c8947c41d84b431b21f32b2714)

5 weeks agoTramp: Rework handling of temporary connection properties
Michael Albinus [Wed, 13 Nov 2024 15:23:27 +0000 (16:23 +0100)]
Tramp: Rework handling of temporary connection properties

* doc/misc/tramp.texi (Ad-hoc multi-hops): Precise use of parallel
multi-hops.

* lisp/net/tramp-cache.el:
* lisp/net/tramp.el:
* lisp/net/tramp-adb.el:
* lisp/net/tramp-androidsu.el:
* lisp/net/tramp-cmds.el:
* lisp/net/tramp-crypt.el:
* lisp/net/tramp-gvfs.el:
* lisp/net/tramp-sh.el:
* lisp/net/tramp-smb.el: Rename connection properties "process-name",
"process-buffer" and "first-password-request" to " process-name",
" process-buffer" and " first-password-request, repectively".

* lisp/net/tramp-cache.el (tramp-dump-connection-properties):
Don't dump properties starting with a space.

(cherry picked from commit 22900b5990888cb231d65755562879108c626088)

5 weeks agoflyspell.el: block less
Eshel Yaron [Tue, 19 Nov 2024 18:43:09 +0000 (19:43 +0100)]
flyspell.el: block less

5 weeks agoNew function 'alist-set'
Eshel Yaron [Mon, 18 Nov 2024 13:03:50 +0000 (14:03 +0100)]
New function 'alist-set'

5 weeks agoGive Completion Preview active bindings higher precedence
Eshel Yaron [Mon, 18 Nov 2024 13:02:20 +0000 (14:02 +0100)]
Give Completion Preview active bindings higher precedence

5 weeks agoFix regression in 'Custom-newline'
Eshel Yaron [Mon, 18 Nov 2024 08:30:07 +0000 (09:30 +0100)]
Fix regression in 'Custom-newline'

5 weeks ago(with-peg-rules): Build proper `peg-function`s
Stefan Monnier [Wed, 13 Nov 2024 04:12:07 +0000 (23:12 -0500)]
(with-peg-rules): Build proper `peg-function`s

* lisp/progmodes/peg.el (with-peg-rules): Use the new (FUNC EXP)
feature in `cl-labels`.

(cherry picked from commit 986621ae1ff4d3cfad31adb20216f1f71ce0747c)

5 weeks ago(cl-labels): Add support for (FUNC EXP) bindings (bug#59786)
Stefan Monnier [Wed, 13 Nov 2024 03:58:53 +0000 (22:58 -0500)]
(cl-labels): Add support for (FUNC EXP) bindings (bug#59786)

Allow `cl-labels` to use the same (FUNC EXP) bindings as were already added
to `cl-flet` in Emacs-25.  The Info doc (mistakenly) already documented this
new feature.

* lisp/emacs-lisp/cl-macs.el (cl--self-tco-on-form): New function.
(cl-labels): Use it to add support for (FUNC EXP) bindings.

* test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs--labels): Add test for
tail-recursive (FUNC EXP) bindings.

(cherry picked from commit 79400f4f18b80cdde72eda86023e41a81d09a164)

5 weeks ago; * src/w32menu.c (w32_popup_dialog): Fix last change.
Eli Zaretskii [Tue, 12 Nov 2024 16:37:30 +0000 (18:37 +0200)]
; * src/w32menu.c (w32_popup_dialog): Fix last change.

(cherry picked from commit a7400cb8810373b6d39347a5e0e1ac7152d3abd1)

5 weeks ago; * src/w32menu.c (w32_popup_dialog): Fix last change (bug#74312).
Eli Zaretskii [Tue, 12 Nov 2024 16:35:50 +0000 (18:35 +0200)]
; * src/w32menu.c (w32_popup_dialog): Fix last change (bug#74312).

(cherry picked from commit 77739d42ab2f728c61faa2fa8f6a521f9240881e)

5 weeks agoFix Cygw32 build
Eli Zaretskii [Tue, 12 Nov 2024 12:41:01 +0000 (14:41 +0200)]
Fix Cygw32 build

* src/pdumper.c (dump_mm_heap_cb_release): Avoid NULL pointer
dereference.
* src/w32dwrite.c (INITGUID) [CYGWIN]: Don't define for Cygwin.
* src/w32menu.c (w32_popup_dialog): Fix Cygw32 build.  (Bug#74312)

(cherry picked from commit b54fa15ffbb959e97ea0b77bfeb9ae412a63b4e8)

5 weeks ago* src/w32fns.c (process_dropfiles): Fix cygw32 build (bug#74312).
Eli Zaretskii [Mon, 11 Nov 2024 16:04:52 +0000 (18:04 +0200)]
* src/w32fns.c (process_dropfiles): Fix cygw32 build (bug#74312).

(cherry picked from commit 6ddbe8c7010485f6bca80b6e898610d5831eac60)

5 weeks agolisp/files.el (require-with-check): Fix bug#74091.
Stefan Monnier [Sun, 10 Nov 2024 21:50:36 +0000 (16:50 -0500)]
lisp/files.el (require-with-check): Fix bug#74091.

(cherry picked from commit 3496234c8ed10a14f740199722ec727bd43c82d3)

5 weeks ago; Skip commit 90c97d3fac989f3048fda4a30a626bec2c3301c5
Eshel Yaron [Fri, 15 Nov 2024 12:41:51 +0000 (13:41 +0100)]
; Skip commit 90c97d3fac989f3048fda4a30a626bec2c3301c5

5 weeks agoPrecise password cache in Tramp
Michael Albinus [Sun, 10 Nov 2024 11:35:15 +0000 (12:35 +0100)]
Precise password cache in Tramp

* doc/misc/tramp.texi (Password handling):
Describe auth-source-cache-expiry and auth-source-do-cache instead
of password-cache-expiry and password-cache.  (Bug#74105)

* lisp/net/tramp.el (tramp-read-passwd): Check for `auth-sources'
being non-nil.

(cherry picked from commit c96e57609076c4d5627e698a6f12a731a77c365e)

5 weeks agoFix picture-mode with full-width characters
Eli Zaretskii [Sun, 10 Nov 2024 09:48:34 +0000 (11:48 +0200)]
Fix picture-mode with full-width characters

* lisp/textmodes/picture.el (picture-insert): Don't rely on
'move-to-column' to move to the column that is its argument: this
might be false when full-width characters are involved.

(cherry picked from commit 3954e8d9bbed902e750c9e0647c6527ae32523b9)

5 weeks agoFix movement to the left in picture-mode
Eli Zaretskii [Sun, 10 Nov 2024 08:56:40 +0000 (10:56 +0200)]
Fix movement to the left in picture-mode

* lisp/textmodes/picture.el (picture-insert): Measure width by
counting columns on display, not by using 'string-width', because
the latter is inaccurate when TABs are involved.  (Bug#74255)

(cherry picked from commit 7dabfe9465c623043e4ea1abe618a6169c155d04)

5 weeks agoFix some meta-calls with constant arguments
Eshel Yaron [Fri, 15 Nov 2024 11:04:55 +0000 (12:04 +0100)]
Fix some meta-calls with constant arguments

5 weeks agoWarn about meta-calls with constant arguments
Eshel Yaron [Fri, 15 Nov 2024 10:59:20 +0000 (11:59 +0100)]
Warn about meta-calls with constant arguments

6 weeks agoSet 'project-vc-ignores' in .dir-locals.el
Eshel Yaron [Tue, 12 Nov 2024 18:02:29 +0000 (19:02 +0100)]
Set 'project-vc-ignores' in .dir-locals.el

6 weeks agoUpdate matches count when refreshing *xref* buffer
Eshel Yaron [Mon, 11 Nov 2024 18:39:32 +0000 (19:39 +0100)]
Update matches count when refreshing *xref* buffer

6 weeks agoWhen using Eshell's "du" implementation, deduplicate hard links
Jim Porter [Sun, 10 Nov 2024 00:06:34 +0000 (16:06 -0800)]
When using Eshell's "du" implementation, deduplicate hard links

* lisp/eshell/em-unix.el (eshell-du-sum-directory): Take SEEN-FILES.
(eshell/du): Create 'seen-files' hash table.

(cherry picked from commit 1704fa4fb4164a15c7e258b922dbba190811d92d)

6 weeks agoDon't use dynamically-bound variables for Eshell's "du" command
Jim Porter [Tue, 30 Jan 2024 18:51:03 +0000 (10:51 -0800)]
Don't use dynamically-bound variables for Eshell's "du" command

* lisp/eshell/em-unix.el (block-size, by-bytes, dereference-links)
(grand-total, human-readable, max-depth, only-one-filesystem, show-all)
(eshell-du-size-string): Remove.
(eshell-du-sum-directory): Accept key arguments for adjusting behavior.
(eshell/du): Use 'block-size' of 1 instead of 'by-bytes', and define a
print function.

(cherry picked from commit 37c583a2c2f97c6fb0ed0433db9c74c6a1758e3e)

6 weeks agoUse the Lisp implemention of "du" in Eshell when querying remote dirs
Jim Porter [Sat, 9 Nov 2024 07:12:53 +0000 (23:12 -0800)]
Use the Lisp implemention of "du" in Eshell when querying remote dirs

* lisp/eshell/em-unix.el (eshell/du): If all directories are local, use
the external "du" instead.

(cherry picked from commit f26fb25ec8ca12901db6224973c7fef29ce938f9)

6 weeks agoDon't pcomplete 'find -newerxy' flag
Stefan Kangas [Sun, 10 Nov 2024 00:29:18 +0000 (01:29 +0100)]
Don't pcomplete 'find -newerxy' flag

* lisp/pcmpl-gnu.el (pcomplete/find): Remove -newerxy flag.
This flag is not used verbatim like that, and we already complete
the "-newer" flag, which should be all that users need.
Problem reported by Juri Linkov <juri@linkov.net>.

(cherry picked from commit f6a63e4b441424298f1239372ec50b528d343b65)

6 weeks agoFix kill-all-local-variables
Eshel Yaron [Mon, 11 Nov 2024 10:24:59 +0000 (11:24 +0100)]
Fix kill-all-local-variables

6 weeks ago; Skip commit daa42ddebea6a798648f03f41497fddfcb3e0de9
Eshel Yaron [Sat, 9 Nov 2024 15:50:49 +0000 (16:50 +0100)]
; Skip commit daa42ddebea6a798648f03f41497fddfcb3e0de9

6 weeks agoFix documentation and error message of adding local variables
Eli Zaretskii [Sat, 9 Nov 2024 12:02:06 +0000 (14:02 +0200)]
Fix documentation and error message of adding local variables

* lisp/files-x.el (add-file-local-variable)
(add-file-local-variable-prop-line): Doc fixes.
(add-file-local-variable): Improve the user-error text.  (Bug#74267)

(cherry picked from commit dbcd9d782c94e34baf9aabdaeaa70efb791d8a25)

6 weeks agoDocument the 'display-line-numbers-disable' property
Eli Zaretskii [Sat, 9 Nov 2024 11:33:21 +0000 (13:33 +0200)]
Document the 'display-line-numbers-disable' property

* doc/lispref/display.texi (Overlay Properties):
* doc/lispref/text.texi (Special Properties): Document
'display-line-numbers-disable'.  Fix indexing.

(cherry picked from commit 94bf7ad797bb7a3c1faa72d2066a1e9b883c4547)

6 weeks agoAdd functions supported by GNU Make 4.3.
Ola Nilsson [Mon, 4 Nov 2024 22:33:09 +0000 (23:33 +0100)]
Add functions supported by GNU Make 4.3.

* lisp/progmodes/make-mode.el (makefile-gnumake-functions-alist):
Add missing GNU Make functions, according to The GNU Make Manual
0.75 for GNU Make, and reorder the list of functions.  (Bug#74207)

(cherry picked from commit 0642d5f7da208e3237f17102858811c2d9c28990)

6 weeks ago; Skip commit 8ee14643d2c222d9dbf0e914d878c3da0c8f2386
Eshel Yaron [Sat, 9 Nov 2024 15:50:05 +0000 (16:50 +0100)]
; Skip commit 8ee14643d2c222d9dbf0e914d878c3da0c8f2386

6 weeks ago; Fix last changes
Eli Zaretskii [Sat, 9 Nov 2024 10:45:14 +0000 (12:45 +0200)]
; Fix last changes

* lisp/color.el (color-blend): Fix quoting of apostrophe.
(color-rgb-to-hex, color-blend): Autoload.

(cherry picked from commit 17f4f2dec95d93eae3aaf3c6e4c59955732f8f62)

6 weeks agoReplace vtable--color-blend with color-blend
Joseph Turner [Sat, 2 Nov 2024 05:21:34 +0000 (22:21 -0700)]
Replace vtable--color-blend with color-blend

* lisp/emacs-lisp/vtable.el (vtable--face-color): Use `color-blend'.
(vtable--color-blend): Remove unused function.

(cherry picked from commit fdab542a56201b1581abdc0df940e0c50abde1c7)

6 weeks agoAdd color-blend to blend two RGB lists
Joseph Turner [Sat, 2 Nov 2024 04:58:07 +0000 (21:58 -0700)]
Add color-blend to blend two RGB lists

* lisp/color.el (color-blend): Blend two RGB lists.
* test/lisp/color-tests.el (color-tests-blend): Test color-blend.
* etc/NEWS: Announce color-blend.

(cherry picked from commit bf312529def48bc6fdf72d43d5be158d125f52f6)

6 weeks ago; Skip commit e1e8da5e4f1951744d26b99b000c7f746a9ca8c6
Eshel Yaron [Sat, 9 Nov 2024 15:49:39 +0000 (16:49 +0100)]
; Skip commit e1e8da5e4f1951744d26b99b000c7f746a9ca8c6

6 weeks ago; Skip commit 5def10ad944a6f6fe5e09b153c3cb4f0ce78e415
Eshel Yaron [Sat, 9 Nov 2024 15:49:36 +0000 (16:49 +0100)]
; Skip commit 5def10ad944a6f6fe5e09b153c3cb4f0ce78e415

6 weeks agoUpdate vtable documentation
Joost Kremers [Mon, 14 Oct 2024 11:10:57 +0000 (13:10 +0200)]
Update vtable documentation

* doc/misc/vtable.texi: Document creation of empty vtables.
* etc/NEWS: Announce empty vtables.  (Bug#73775)

(cherry picked from commit ac91d190d623f6fef186b035373cdb72347cc99d)

6 weeks agovtable: allow resetting column alignment when table data changes
Joost Kremers [Thu, 30 May 2024 23:38:54 +0000 (01:38 +0200)]
vtable: allow resetting column alignment when table data changes

* lisp/emacs-lisp/vtable.el (vtable--compute-columns): If a column
was not created with an explicit 'align' property, allow changing
this property when the column data changes from numeric to
non-numeric (or vice versa).  This makes it possible to add data to
an empty table, because in a table without data all columns are
assumed to be numeric and right-aligned.  (Bug#73775)

(cherry picked from commit 35e1ab970c1cfc6a1b62fbb920e0d2bb031765da)

6 weeks agoEnable inserting new objects into empty vtable
Joost Kremers [Thu, 30 May 2024 21:20:00 +0000 (23:20 +0200)]
Enable inserting new objects into empty vtable

* lisp/emacs-lisp/vtable.el (vtable-insert-object): If the vtable
is empty, add the new object and recreate + redisplay the table.
(Bug#73775)

(cherry picked from commit 425f244738e784fbf46e3fcc3461759340cfb928)

6 weeks agoAllow empty vtable
Joost Kremers [Wed, 6 Nov 2024 08:46:00 +0000 (09:46 +0100)]
Allow empty vtable

* lisp/emacs-lisp/vtable.el (vtable--compute-widths): Set default
width for columns that have no explicit width and no data.
(Bug#73775)

(cherry picked from commit d94bb481ba1bcf8602fc600572e5779b25cd896d)

6 weeks agoAdd dark color scheme to emacs.metainfo.xml
Eli Zaretskii [Sat, 9 Nov 2024 10:02:05 +0000 (12:02 +0200)]
Add dark color scheme to emacs.metainfo.xml

* etc/emacs.metainfo.xml: Add dark color scheme.  Patch by Peter
Oliver <p.d.oliver@mavit.org.uk> (bug#74123).

(cherry picked from commit 764db76072847d2650f5b07349723a2802ccd45e)

6 weeks agoAdd more fields to AppStream metadata in emacs.metainfo.xml
Peter Oliver [Wed, 30 Oct 2024 22:15:59 +0000 (22:15 +0000)]
Add more fields to AppStream metadata in emacs.metainfo.xml

* etc/emacs.metainfo.xml: Populate the vcs-browser and contribute URLs,
as well as the branding color.  (Bug#74123)

(cherry picked from commit 1f3434a84c13d3fbc55e8a7ace53bdfd61748db5)

6 weeks agoDocument issues with 'use-package's ':custom' and byte compilation
Eli Zaretskii [Sat, 9 Nov 2024 09:55:49 +0000 (11:55 +0200)]
Document issues with 'use-package's ':custom' and byte compilation

* doc/misc/use-package.texi (User options): Warn against
byte-compiling init files that use ':custom'.  (Bug#73609)

(cherry picked from commit b1be0f2ba6b05b7644080638ae26e619cbeac75c)