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)
This commit is contained in:
Michael Albinus 2025-04-02 18:37:22 +02:00
parent a096207474
commit 1e865a2f28

View file

@ -6204,17 +6204,6 @@ If these errors can be ignored, set user option
non-@code{nil} value. This transforms the error into a warning.
@item
How to ignore errors when changing file attributes?
@vindex tramp-inhibit-errors-if-setting-file-attributes-fail
Sometimes, for example while saving remote files, errors appear when
changing file attributes like permissions, time stamps, or ownership.
If these errors can be ignored, set user option
@code{tramp-inhibit-errors-if-setting-file-attributes-fail} to a
non-@code{nil} value. This transforms the error into a warning.
@item
How to disable other packages from calling @value{tramp}?
@ -6648,6 +6637,15 @@ the following settings are required:
@end group
@end lisp
@vindex warning-suppress-types
@value{tramp} warnings are displayed in the @file{*Warnings*} buffer,
which pops up. If you don't want to see this buffer for every
@value{tramp} warning, set @code{warning-suppress-types}:
@lisp
(setq warning-suppress-types '((tramp)))
@end lisp
If @code{tramp-verbose} is greater than or equal to 10, Lisp
backtraces are also added to the @value{tramp} debug buffer in case of
errors.