diff options
| author | Michael Albinus | 2025-04-02 18:37:22 +0200 |
|---|---|---|
| committer | Michael Albinus | 2025-04-02 18:37:22 +0200 |
| commit | 1e865a2f2889ecbee06b9eefdd82a4cda04d6eee (patch) | |
| tree | 812495a4219db157fb328615fddc32ffd4048b4e | |
| parent | a0962074743521447b1549f9e0ecd03325debc0d (diff) | |
| download | emacs-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.texi | 20 |
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 |
| 6208 | How to ignore errors when changing file attributes? | ||
| 6209 | |||
| 6210 | @vindex tramp-inhibit-errors-if-setting-file-attributes-fail | ||
| 6211 | Sometimes, for example while saving remote files, errors appear when | ||
| 6212 | changing file attributes like permissions, time stamps, or ownership. | ||
| 6213 | If these errors can be ignored, set user option | ||
| 6214 | @code{tramp-inhibit-errors-if-setting-file-attributes-fail} to a | ||
| 6215 | non-@code{nil} value. This transforms the error into a warning. | ||
| 6216 | |||
| 6217 | |||
| 6218 | @item | ||
| 6219 | How to disable other packages from calling @value{tramp}? | 6208 | How to disable other packages from calling @value{tramp}? |
| 6220 | 6209 | ||
| 6221 | There are packages that call @value{tramp} without the user ever | 6210 | There 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, | ||
| 6642 | which 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 | |||
| 6651 | If @code{tramp-verbose} is greater than or equal to 10, Lisp | 6649 | If @code{tramp-verbose} is greater than or equal to 10, Lisp |
| 6652 | backtraces are also added to the @value{tramp} debug buffer in case of | 6650 | backtraces are also added to the @value{tramp} debug buffer in case of |
| 6653 | errors. | 6651 | errors. |