aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2025-04-02 18:37:22 +0200
committerMichael Albinus2025-04-02 18:37:22 +0200
commit1e865a2f2889ecbee06b9eefdd82a4cda04d6eee (patch)
tree812495a4219db157fb328615fddc32ffd4048b4e
parenta0962074743521447b1549f9e0ecd03325debc0d (diff)
downloademacs-1e865a2f2889ecbee06b9eefdd82a4cda04d6eee.tar.gz
emacs-1e865a2f2889ecbee06b9eefdd82a4cda04d6eee.zip
Explain, how to suppress Tramp warnings
* doc/misc/tramp.texi (Frequently Asked Questions): Remove double item. (Traces and Profiles): Mention `warning-suppress-types'. (Bug#77422)
-rw-r--r--doc/misc/tramp.texi20
1 files changed, 9 insertions, 11 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 5a2e44456ee..280feb084d1 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -6205,17 +6205,6 @@ non-@code{nil} value. This transforms the error into a warning.
6205 6205
6206 6206
6207@item 6207@item
6208How to ignore errors when changing file attributes?
6209
6210@vindex tramp-inhibit-errors-if-setting-file-attributes-fail
6211Sometimes, for example while saving remote files, errors appear when
6212changing file attributes like permissions, time stamps, or ownership.
6213If these errors can be ignored, set user option
6214@code{tramp-inhibit-errors-if-setting-file-attributes-fail} to a
6215non-@code{nil} value. This transforms the error into a warning.
6216
6217
6218@item
6219How to disable other packages from calling @value{tramp}? 6208How to disable other packages from calling @value{tramp}?
6220 6209
6221There are packages that call @value{tramp} without the user ever 6210There are packages that call @value{tramp} without the user ever
@@ -6648,6 +6637,15 @@ the following settings are required:
6648@end group 6637@end group
6649@end lisp 6638@end lisp
6650 6639
6640@vindex warning-suppress-types
6641@value{tramp} warnings are displayed in the @file{*Warnings*} buffer,
6642which pops up. If you don't want to see this buffer for every
6643@value{tramp} warning, set @code{warning-suppress-types}:
6644
6645@lisp
6646(setq warning-suppress-types '((tramp)))
6647@end lisp
6648
6651If @code{tramp-verbose} is greater than or equal to 10, Lisp 6649If @code{tramp-verbose} is greater than or equal to 10, Lisp
6652backtraces are also added to the @value{tramp} debug buffer in case of 6650backtraces are also added to the @value{tramp} debug buffer in case of
6653errors. 6651errors.