diff options
| author | Michael Albinus | 2021-03-29 13:52:01 +0200 |
|---|---|---|
| committer | Michael Albinus | 2021-03-29 13:52:01 +0200 |
| commit | f113d0c4fdb100ce72ce88b5c8affe497037a5fa (patch) | |
| tree | 804a4e9bbb9031feebef2d09e30e8dece033efbf /doc/misc | |
| parent | a1e454d6df011f2a02d3b4900dd33d1d3717c6ef (diff) | |
| download | emacs-f113d0c4fdb100ce72ce88b5c8affe497037a5fa.tar.gz emacs-f113d0c4fdb100ce72ce88b5c8affe497037a5fa.zip | |
Some Tramp doc clarifications
* doc/misc/tramp.texi (Remote shell setup): Explain meaning of
`tramp-sh-extra-args' for bash.
(Frequently Asked Questions): New item about unloading / reloading Tramp.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/tramp.texi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 7ae562244e2..5ea0275bafe 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -2305,6 +2305,8 @@ which support this. | |||
| 2305 | This approach has also the advantage, that settings in | 2305 | This approach has also the advantage, that settings in |
| 2306 | @code{tramp-sh-extra-args} will be applied. For @command{zsh}, the | 2306 | @code{tramp-sh-extra-args} will be applied. For @command{zsh}, the |
| 2307 | trouble with the shell prompt due to set zle options will be avoided. | 2307 | trouble with the shell prompt due to set zle options will be avoided. |
| 2308 | For @command{bash}, loading @file{~/.editrc} or @file{~/.inputrc} is | ||
| 2309 | suppressed. | ||
| 2308 | 2310 | ||
| 2309 | Similar problems can happen with the local shell Tramp uses to create | 2311 | Similar problems can happen with the local shell Tramp uses to create |
| 2310 | a process. By default, it uses the command @command{/bin/sh} for | 2312 | a process. By default, it uses the command @command{/bin/sh} for |
| @@ -5077,6 +5079,24 @@ In case you have installed it from its Git repository, @ref{Recompilation}. | |||
| 5077 | 5079 | ||
| 5078 | 5080 | ||
| 5079 | @item | 5081 | @item |
| 5082 | I get an error @samp{tramp-file-name-handler: Invalid function: | ||
| 5083 | tramp-compat-with-mutex} | ||
| 5084 | |||
| 5085 | Likely, you have a running Emacs session with loaded @value{tramp}, | ||
| 5086 | and you try to upgrade it to another version from GNU ELPA. Since | ||
| 5087 | @value{tramp} is not forward compatible, you must unload / reload it. | ||
| 5088 | Try the following steps: | ||
| 5089 | |||
| 5090 | @example | ||
| 5091 | @kbd{M-x tramp-unload-tramp @key{RET}} | ||
| 5092 | @kbd{M-x load-library @key{RET} tramp @key{RET}} | ||
| 5093 | @end example | ||
| 5094 | |||
| 5095 | If this doesn't work, you must restart Emacs with proper | ||
| 5096 | @code{load-path} for the new @value{tramp} version. | ||
| 5097 | |||
| 5098 | |||
| 5099 | @item | ||
| 5080 | I get an error @samp{Remote file error: Forbidden reentrant call of Tramp} | 5100 | I get an error @samp{Remote file error: Forbidden reentrant call of Tramp} |
| 5081 | 5101 | ||
| 5082 | @vindex remote-file-error | 5102 | @vindex remote-file-error |