summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2021-07-25 16:54:00 +0200
committerMichael Albinus <michael.albinus@gmx.de>2021-07-25 16:54:00 +0200
commitdf7bb79f3862e64739147fc1fc3c3e9af268d046 (patch)
treefaa348b3fa28117e21d80369d8c5eb48d7498a6e /doc
parentf4d04931b7a2f32dd24bd45307cf4efb050793af (diff)
downloademacs-df7bb79f3862e64739147fc1fc3c3e9af268d046.tar.gz
Add instructions for Tramp bug reports
* doc/misc/tramp.texi (Bug Reports): Describe how to use password cache with "emacs -Q".
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/tramp.texi11
1 files changed, 10 insertions, 1 deletions
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