From 428950fc3c32768188b04b786973e11f99dad129 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 20 Aug 2022 08:44:57 +0200 Subject: [PATCH] Improve Tramp's manual * doc/misc/tramp.texi (Frequently Asked Questions): Improve recommendations for speeding up. --- doc/misc/tramp.texi | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 96ffb5c8809..0e55b6c1d2a 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -4826,9 +4826,12 @@ authentication delays. During these operations, @value{tramp}'s responsiveness slows down. Some suggestions within the scope of @value{tramp}'s settings include: +@itemize @minus +@item Use an external method, such as @option{scp}, which are faster than -internal methods. +internal methods for large files. +@item Keep the file @code{tramp-persistency-file-name}, which is where @value{tramp} caches remote information about hosts and files. Caching is enabled by default. Don't disable it. @@ -4839,6 +4842,7 @@ files are not independently updated outside @value{tramp}'s control. That cache cleanup will be necessary if the remote directories or files are updated independent of @value{tramp}. +@item Disable version control to avoid delays: @lisp @@ -4858,9 +4862,17 @@ about, for example: (setq vc-handled-backends '(SVN Git)) @end lisp +@item +@vindex remote-file-name-inhibit-locks +Disable file locks. Set @code{remote-file-name-inhibit-locks} to +@code{t} if you know that different Emacs sessions are not modifying +the same remote file. + +@item Disable excessive traces. Set @code{tramp-verbose} to 3 or lower, default being 3. Increase trace levels temporarily when hunting for bugs. +@end itemize @item -- 2.39.5