From 9024ff7943e9529ec38a80aaaa0db43224c1e885 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 14 Apr 2011 21:04:08 +0200 Subject: [PATCH] * tramp.texi (Frequently Asked Questions): New item for disabling Tramp in other packages. --- doc/misc/ChangeLog | 5 +++++ doc/misc/tramp.texi | 35 +++++++++++++++++++++++++++++++---- 2 files changed, 36 insertions(+), 4 deletions(-) diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 49c87078ca9..1660ed5335b 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,8 @@ +2011-04-14 Michael Albinus + + * tramp.texi (Frequently Asked Questions): New item for disabling + Tramp in other packages. + 2011-04-14 Teodor Zlatanov * gnus.texi (nnmairix caveats, Setup, Registry Article Refer Method) diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index e1c4a806de2..2663d2df0f5 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -2812,7 +2812,6 @@ When @value{tramp} does not connect to the remote host, there are three reasons heading the bug mailing list: @itemize @minus - @item Unknown characters in the prompt @@ -2882,7 +2881,6 @@ checksum. (when (file-remote-p default-directory) (set (make-local-variable 'file-precious-flag) t)))) @end lisp - @end itemize @@ -3377,14 +3375,43 @@ export EDITOR=/path/to/emacsclient.sh @item -How can I disable @value{tramp}? +There are packages which call @value{tramp} although I haven't entered +a remote file name ever. I dislike it, how could I disable it? -Shame on you, why did you read until now? +In general, @value{tramp} functions are used only when +you apply remote file name syntax. However, some packages enable +@value{tramp} on their own. @itemize @minus +@item +@file{ido.el} + +You could disable @value{tramp} file name completion: + +@lisp +(custom-set-variables + '(ido-enable-tramp-completion nil)) +@end lisp @item +@file{rlogin.el} + +You could disable remote directory tracking mode: + +@lisp +(rlogin-directory-tracking-mode -1) +@end lisp +@end itemize + + +@item +How can I disable @value{tramp} at all? + +Shame on you, why did you read until now? + +@itemize @minus @ifset emacs +@item If you just want to have @value{ftppackagename} as default remote files access package, you should apply the following code: -- 2.39.2