diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2021-07-26 09:55:30 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2021-07-26 09:55:30 +0200 |
commit | c3a76935fa63b0cb2c25f7ecbcd5402b4fb2ef7e (patch) | |
tree | 3f5e4759b383721f1b97b46006aed55265220aa5 /doc | |
parent | 6b7c22e7ee87a57ff78e2baf0baa847e34b9b4da (diff) | |
download | emacs-c3a76935fa63b0cb2c25f7ecbcd5402b4fb2ef7e.tar.gz |
Adapt tramp-sudoedit.el for better testing
* doc/misc/tramp.texi (Bug Reports): Revert last change. Mention
exception for sudoedit.
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-send-command):
Let-bind `tramp-cache-read-persistent-data' for better password handling.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/misc/tramp.texi | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 17302ddbf24..5672648b42f 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -4255,16 +4255,9 @@ 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}). 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 - +passwords from @file{auth-source.el} (@pxref{Password handling}). The +latter does not happen for the @option{sudoedit} method, otherwise it +would be unusable. When including @value{tramp}'s messages in the bug report, increase the verbosity level to 6 (@pxref{Traces and Profiles, Traces}) in the |