aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2024-11-03 15:48:19 +0100
committerMichael Albinus2024-11-03 15:48:19 +0100
commit03fa832b4dcc47276894d90f3323bca31eb0633e (patch)
tree95e9c991bde34f3b4571e0b86431e989bd8aed99
parentf7b85fe986e74b649f8148ee407cf7a2327ff4a9 (diff)
downloademacs-03fa832b4dcc47276894d90f3323bca31eb0633e.tar.gz
emacs-03fa832b4dcc47276894d90f3323bca31eb0633e.zip
Improve Tramp documentation on direct async processes
* doc/misc/tramp.texi (Remote processes): Add another example enabling direct async processes based on method name. (Bug#74105) * etc/NEWS: Rephrase Tramp entry on direct async processes.
-rw-r--r--doc/misc/tramp.texi12
-rw-r--r--etc/NEWS10
2 files changed, 18 insertions, 4 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 69572a139ff..9895b3c6fce 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -4549,6 +4549,18 @@ which must be set to a non-@code{nil} value. Example:
4549@end group 4549@end group
4550@end lisp 4550@end lisp
4551 4551
4552This enables direct async processes for the host @samp{remotehost}.
4553If you want to enable direct async processes for all remote hosts
4554connected via the same method (e.g., @option{ssh}), use instead
4555
4556@lisp
4557@group
4558(connection-local-set-profiles
4559 '(:application tramp :protocol "ssh")
4560 'remote-direct-async-process)
4561@end group
4562@end lisp
4563
4552Using direct asynchronous processes in @value{tramp} is not possible, 4564Using direct asynchronous processes in @value{tramp} is not possible,
4553if the remote host is connected via multiple hops 4565if the remote host is connected via multiple hops
4554(@pxref{Multi-hops}). In this case, @value{tramp} falls back to its 4566(@pxref{Multi-hops}). In this case, @value{tramp} falls back to its
diff --git a/etc/NEWS b/etc/NEWS
index ebb9d49d560..fbc29206039 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1413,10 +1413,12 @@ method but "sudo" can be configured with user option
1413+++ 1413+++
1414*** Direct asynchronous processes are indicated by a connection-local variable. 1414*** Direct asynchronous processes are indicated by a connection-local variable.
1415If direct asynchronous processes shall be used, set the connection-local 1415If direct asynchronous processes shall be used, set the connection-local
1416variable 'tramp-direct-async-process' to a non-nil value. This has been 1416variable 'tramp-direct-async-process' to a non-nil value. In previous
1417changed, in previous Emacs versions this was indicated by the now 1417Emacs versions this was indicated by the connection property
1418deprecated connection property "direct-async-process". See the Tramp 1418"direct-async-process". That connection property (though not connection
1419manual "(tramp) Improving performance of asynchronous remote processes". 1419properties and 'tramp-connection-properties' in general) is now
1420deprecated. See the Tramp manual "(tramp) Improving performance of
1421asynchronous remote processes".
1420 1422
1421--- 1423---
1422*** Direct asynchronous processes use 'tramp-remote-path'. 1424*** Direct asynchronous processes use 'tramp-remote-path'.