aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2007-10-06 11:55:36 +0000
committerMichael Albinus2007-10-06 11:55:36 +0000
commitea3fc256d40808e58100459220a19fc26709c207 (patch)
treed85bb2a57bdea7851d1c0c2fc75caa29bfe3b4b5
parent61de26cb850764423287d3435c70cffaf6c576a1 (diff)
downloademacs-ea3fc256d40808e58100459220a19fc26709c207.tar.gz
emacs-ea3fc256d40808e58100459220a19fc26709c207.zip
* tramp.texi (External packages): New section.
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/tramp.texi33
2 files changed, 37 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 74820aa539d..c05f6c40bca 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
12007-10-06 Michael Albinus <michael.albinus@gmx.de>
2
3 * tramp.texi (External packages): New section.
4
12007-09-26 Carsten Dominik <dominik@science.uva.nl> 52007-09-26 Carsten Dominik <dominik@science.uva.nl>
2 6
3 * org.texi: Change links to webpage and maintained email. 7 * org.texi: Change links to webpage and maintained email.
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index ea0bf9d411d..e5cd5e1a33b 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -231,6 +231,9 @@ Things related to Version Control that don't fit elsewhere
231How file names, directories and localnames are mangled and managed 231How file names, directories and localnames are mangled and managed
232 232
233* Localname deconstruction:: Breaking a localname into its components. 233* Localname deconstruction:: Breaking a localname into its components.
234@ifset emacs
235* External packages:: Integration with external Lisp packages.
236@end ifset
234 237
235@end detailmenu 238@end detailmenu
236@end menu 239@end menu
@@ -3119,6 +3122,9 @@ system basis and the results cached to improve performance.
3119 3122
3120@menu 3123@menu
3121* Localname deconstruction:: Breaking a localname into its components. 3124* Localname deconstruction:: Breaking a localname into its components.
3125@ifset emacs
3126* External packages:: Integration with external Lisp packages.
3127@end ifset
3122@end menu 3128@end menu
3123 3129
3124 3130
@@ -3138,6 +3144,33 @@ This allows the platform specific hacks in the original handlers to take
3138effect while preserving the @value{tramp} file name information. 3144effect while preserving the @value{tramp} file name information.
3139 3145
3140 3146
3147@ifset emacs
3148@node External packages
3149@section Integration with external Lisp packages.
3150
3151While reading filenames in the minibuffer, @value{tramp} must decide
3152whether it completes possible incomplete filenames, or not. Imagine
3153there is the following situation: You have typed @kbd{C-x C-f
3154@value{prefix}ssh@value{postfixhop} @key{TAB}}. @value{tramp} cannot
3155know, whether @option{ssh} is a method or a host name. It checks
3156therefore the last input character you have typed. If this is
3157@key{TAB}, @key{SPACE} or @kbd{?}, @value{tramp} assumes that you are
3158still in filename completion, and it does not connect to the possible
3159remote host @option{ssh}.
3160
3161@vindex tramp-completion-mode
3162External packages, which use other characters for completing filenames
3163in the minibuffer, must signal this to @value{tramp}. For this case,
3164the variable @code{tramp-completion-mode} can be bound temporarily to
3165a non-nil value.
3166
3167@lisp
3168(let ((tramp-completion-mode t))
3169 ...)
3170@end lisp
3171@end ifset
3172
3173
3141@node Traces and Profiles 3174@node Traces and Profiles
3142@chapter How to Customize Traces 3175@chapter How to Customize Traces
3143 3176