From: Michael Albinus Date: Sun, 25 Jul 2021 14:54:00 +0000 (+0200) Subject: Add instructions for Tramp bug reports X-Git-Tag: emacs-28.0.90~1695 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=df7bb79f3862e64739147fc1fc3c3e9af268d046;p=emacs.git Add instructions for Tramp bug reports * doc/misc/tramp.texi (Bug Reports): Describe how to use password cache with "emacs -Q". --- diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 088352e8a8a..17302ddbf24 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -4255,7 +4255,16 @@ test, @ref{Cleanup remote connections}. Alternatively, and often better for analysis, reproduce the problem in a clean Emacs session started with @command{emacs -Q}. Then, @value{tramp} does not load the persistency file (@pxref{Connection caching}), and it does not use -passwords from @file{auth-source.el} (@pxref{Password handling}). +passwords from @file{auth-source.el} (@pxref{Password handling}). If +you really need a password cache, for example for the +@option{sudoedit} method, call + +@smallexample +emacs -Q -l tramp \ + --eval '(setq tramp-cache-read-persistent-data t)' \ + --eval '(tramp-cleanup-all-connections)' +@end smallexample + When including @value{tramp}'s messages in the bug report, increase the verbosity level to 6 (@pxref{Traces and Profiles, Traces}) in the