summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2022-03-18 12:25:32 +0100
committerMichael Albinus <michael.albinus@gmx.de>2022-03-18 12:25:32 +0100
commit499f2085fa6fce6c7a2868c8d27d465f43d53f0f (patch)
treec5a77d92b9933a5c9ee38cb6fa2f3d5b97aebaa7 /etc
parentce26657b5d7e77d851ed9267d554f4f48e43a0b6 (diff)
downloademacs-499f2085fa6fce6c7a2868c8d27d465f43d53f0f.tar.gz
Make application configurable in 'with-connection-local-variables'
* doc/lispref/variables.texi (Connection Local Variables): Explain 'connection-local-default-application'. * etc/NEWS: Mention 'connection-local-default-application'. * lisp/files-x.el (connection-local-default-application): New variable. (connection-local-criteria-for-default-directory): Use it. (Bug#54405) * test/lisp/files-x-tests.el (files-x-test-with-connection-local-variables): Extend test.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS18
1 files changed, 14 insertions, 4 deletions
diff --git a/etc/NEWS b/etc/NEWS
index e2546bb3ca5..c20d683710d 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -269,12 +269,22 @@ defaults to t, which makes Emacs use the toolkit tooltips. The
existing GTK-specific option 'x-gtk-use-system-tooltips' is now an
alias of this new option.
+** Connection-local variables
+
+++
-** Some connection-local variables are now user options.
+*** Some connection-local variables are now user options.
The variables 'connection-local-profile-alist' and
'connection-local-criteria-alist' are now user options, in order to
make it more convenient to inspect and modify them.
++++
+*** The default connection-local application can be changed temporarily.
+Running 'with-connection-local-variables' defaults to application
+'tramp'. This can be changed by let-binding
+'connection-local-default-application' to another symbol. This is
+useful when running code in a buffer, where Tramp has already set some
+connection local variables.
+
---
** New minor mode 'pixel-scroll-precision-mode'.
When enabled, and if your mouse supports it, you can scroll the
@@ -647,7 +657,7 @@ It narrows to the current node.
+++
*** 'eudc-expansion-overwrites-query' to 'eudc-expansion-save-query-as-kill'.
-Rename 'eudc-expansion-overwrites-query' to
+'eudc-expansion-overwrites-query' is renamed to
'eudc-expansion-save-query-as-kill' to reflect the actual behaviour of
the customization variable.
@@ -933,7 +943,7 @@ the thumbnail file.
** Dired
*** New user option 'dired-mouse-drag-files'.
-If non-nil, dragging filenames with the mouse in a Dired buffer will
+If non-nil, dragging file names with the mouse in a Dired buffer will
initiate a drag-and-drop session allowing them to be opened in other
programs.
@@ -1000,7 +1010,7 @@ and friends.
---
*** Tramp supports abbreviating remote home directories now.
-When calling 'abbreviate-file-name' on a Tramp filename, the result
+When calling 'abbreviate-file-name' on a Tramp file name, the result
will abbreviate the user's home directory, for example by abbreviating
"/ssh:user@host:/home/user" to "/ssh:user@host:~".