From 975f78ae2172d844043e9d1c83fedfdaa8f7c35e Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 15 Aug 2019 14:35:02 +0200 Subject: [PATCH] Improve Tramp manual * doc/misc/tramp.texi (GVFS based methods): Explain using `ftp' and `smb' methods. --- doc/misc/tramp.texi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 5d88ac111b3..d48fa319fb2 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -1266,6 +1266,18 @@ to include are @option{ftp}, @option{http}, @option{https} and @option{smb}. These methods are not intended to be used directly as GVFS based method. Instead, they are added here for the benefit of @ref{Archive file names}. + +If you want to use GVFS-based @option{ftp} or @option{smb} methods, +you must add them to @code{tramp-gvfs-methods}, and you must disable +the corresponding Tramp package by setting @code{tramp-ftp-method} or +@code{tramp-smb-method} to @code{nil}, respectively: + +@lisp +@group +(add-to-list 'tramp-gvfs-methods "ftp") +(customize-set-variable 'tramp-ftp-method nil) +@end group +@end lisp @end defopt -- 2.39.2