]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve Tramp documentation on direct async processes
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 3 Nov 2024 14:48:19 +0000 (15:48 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 9 Nov 2024 15:46:52 +0000 (16:46 +0100)
* 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.

(cherry picked from commit 03fa832b4dcc47276894d90f3323bca31eb0633e)

doc/misc/tramp.texi

index bb2a731353387c3a1394e691a88f43edf55f1015..164cb60fe69fd517804bfb65f2f250fbd401ac41 100644 (file)
@@ -4607,6 +4607,18 @@ which must be set to a non-@code{nil} value.  Example:
 @end group
 @end lisp
 
+This enables direct async processes for the host @samp{remotehost}.
+If you want to enable direct async processes for all remote hosts
+connected via the same method (e.g., @option{ssh}), use instead
+
+@lisp
+@group
+(connection-local-set-profiles
+ '(:application tramp :protocol "ssh")
+ 'remote-direct-async-process)
+@end group
+@end lisp
+
 Using direct asynchronous processes in @value{tramp} is not possible,
 if the remote host is connected via multiple hops
 (@pxref{Multi-hops}).  In this case, @value{tramp} falls back to its