aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus2021-03-29 13:52:01 +0200
committerMichael Albinus2021-03-29 13:52:01 +0200
commitf113d0c4fdb100ce72ce88b5c8affe497037a5fa (patch)
tree804a4e9bbb9031feebef2d09e30e8dece033efbf /doc
parenta1e454d6df011f2a02d3b4900dd33d1d3717c6ef (diff)
downloademacs-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')
-rw-r--r--doc/misc/tramp.texi20
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.
2305This approach has also the advantage, that settings in 2305This 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
2307trouble with the shell prompt due to set zle options will be avoided. 2307trouble with the shell prompt due to set zle options will be avoided.
2308For @command{bash}, loading @file{~/.editrc} or @file{~/.inputrc} is
2309suppressed.
2308 2310
2309Similar problems can happen with the local shell Tramp uses to create 2311Similar problems can happen with the local shell Tramp uses to create
2310a process. By default, it uses the command @command{/bin/sh} for 2312a 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
5082I get an error @samp{tramp-file-name-handler: Invalid function:
5083tramp-compat-with-mutex}
5084
5085Likely, you have a running Emacs session with loaded @value{tramp},
5086and you try to upgrade it to another version from GNU ELPA. Since
5087@value{tramp} is not forward compatible, you must unload / reload it.
5088Try 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
5095If this doesn't work, you must restart Emacs with proper
5096@code{load-path} for the new @value{tramp} version.
5097
5098
5099@item
5080I get an error @samp{Remote file error: Forbidden reentrant call of Tramp} 5100I get an error @samp{Remote file error: Forbidden reentrant call of Tramp}
5081 5101
5082@vindex remote-file-error 5102@vindex remote-file-error