From: Michael Albinus Date: Tue, 5 Jul 2022 19:19:51 +0000 (+0200) Subject: Mention remote-file-name-inhibit-auto-save-visited in Tramp manual X-Git-Tag: emacs-29.0.90~1447^2~1160 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ad1baff0a12cb22c5c515e0ba3ed29d4b876451b;p=emacs.git Mention remote-file-name-inhibit-auto-save-visited in Tramp manual * doc/misc/tramp.texi (Auto-save File Lock and Backup): Explain remote-file-name-inhibit-auto-save-visited. --- diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index a8230ac9451..76e2ea0f360 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -312,7 +312,7 @@ I hope this has provided you with a basic overview of what happens behind the scenes when you open a file with @value{tramp}. -@c For the end user +@c For the end user. @node Obtaining @value{tramp} @chapter Obtaining @value{tramp} @cindex obtaining @value{tramp} @@ -3124,6 +3124,14 @@ auto-saved files to the same directory as the original file. Alternatively, set the user option @code{tramp-auto-save-directory} to direct all auto saves to that location. +@c Since Emacs 29. +@vindex remote-file-name-inhibit-auto-save-visited +An alternative to @code{auto-save-mode} is +@code{auto-save-visited-mode}. In this mode, auto-saving is identical +to explicit saving. If you want to disable this behavior for remote +files, set user option +@code{remote-file-name-inhibit-auto-save-visited} to non-@code{nil}. + @vindex lock-file-name-transforms And still more issues to handle. Since @w{Emacs 28}, file locks use a similar user option as auto-save files, called @@ -5675,7 +5683,7 @@ Unloading @value{tramp} resets Ange FTP plugins also. @end itemize -@c For the developer +@c For the developer. @node Files directories and localnames @chapter How file names, directories and localnames are mangled and managed