aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus2007-11-18 10:26:50 +0000
committerMichael Albinus2007-11-18 10:26:50 +0000
commitb048d47875384535b96cebc34953c280653488f5 (patch)
treee29ae6369cdcd1de3665c6b24584002d31fcb927 /doc
parentb50dd0d2b6316e1278a40238a1ac9ae55b98a148 (diff)
downloademacs-b048d47875384535b96cebc34953c280653488f5.tar.gz
emacs-b048d47875384535b96cebc34953c280653488f5.zip
* tramp.texi (Filename completion): Simplify explanation of
double-slash behaviour. Explain directory contents flushing.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/tramp.texi46
2 files changed, 39 insertions, 12 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 3485d6ee770..d1f74ca756c 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12007-11-18 Michael Albinus <michael.albinus@gmx.de>
2
3 * tramp.texi (Filename completion): Simplify explanation of
4 double-slash behaviour. Explain directory contents flushing.
5
12007-11-16 Jay Belanger <jay.p.belanger@gmail.com> 62007-11-16 Jay Belanger <jay.p.belanger@gmail.com>
2 7
3 * calc.texi (TeX and LaTeX Language Modes): Put in 8 * calc.texi (TeX and LaTeX Language Modes): Put in
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 7389955e80a..d1acafefa03 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2267,27 +2267,49 @@ filename completion on the remote host. This works pretty much like
2267for files on the local host, with the exception that minibuffer 2267for files on the local host, with the exception that minibuffer
2268killing via a double-slash works only on the filename part, except 2268killing via a double-slash works only on the filename part, except
2269that filename part starts with @file{//}. 2269that filename part starts with @file{//}.
2270@ifset emacs
2271A triple-slash stands for the default behaviour.
2272@end ifset
2270@ifinfo 2273@ifinfo
2271@xref{Minibuffer File, , , @value{emacsdir}}. 2274@xref{Minibuffer File, , , @value{emacsdir}}.
2272@end ifinfo 2275@end ifinfo
2273 2276
2277@noindent
2278Example:
2279
2280@example
2274@ifset emacs 2281@ifset emacs
2275As example, @kbd{@trampfn{telnet, , melancholia, /usr/local/bin//etc} 2282@kbd{C-x C-f @trampfn{telnet, , melancholia, /usr/local/bin//etc} @key{TAB}}
2276@key{TAB}} would result in 2283 @print{} @trampfn{telnet, , melancholia, /etc}
2277@file{@trampfn{telnet, , melancholia, /etc}}, whereas 2284
2278@kbd{@trampfn{telnet, , melancholia, //etc} @key{TAB}} reduces the 2285@kbd{C-x C-f @trampfn{telnet, , melancholia, //etc} @key{TAB}}
2279minibuffer contents to @file{/etc}. A triple-slash stands for the 2286 @print{} /etc
2280default behavior, 2287
2281i.e. @kbd{@trampfn{telnet, , melancholia, /usr/local/bin///etc} 2288@kbd{C-x C-f @trampfn{telnet, , melancholia, /usr/local/bin///etc} @key{TAB}}
2282@key{TAB}} expands directly to @file{/etc}. 2289 @print{} /etc
2283@end ifset 2290@end ifset
2284 2291
2285@ifset xemacs 2292@ifset xemacs
2286As example, @kbd{@trampfn{telnet, , melancholia, /usr/local/bin//}} 2293@kbd{C-x C-f @trampfn{telnet, , melancholia, /usr/local/bin//}}
2287would result in @file{@trampfn{telnet, , melancholia, /}}, whereas 2294 @print{} @trampfn{telnet, , melancholia, /}
2288@kbd{@trampfn{telnet, , melancholia, //}} expands the minibuffer 2295
2289contents to @file{/}. 2296@kbd{C-x C-f @trampfn{telnet, , melancholia, //}}
2297 @print{} /
2290@end ifset 2298@end ifset
2299@end example
2300
2301A remote directory might have changed its contents out of
2302@value{emacsname} control, for example by creation or deletion of
2303files by other processes. Therefore, during filename completion the
2304remote directory contents is reread regularly in order to detect such
2305changes, which would be invisible otherwise (@pxref{Connection caching}).
2306
2307@defopt tramp-completion-reread-directory-timeout
2308This variable defines the number of seconds since last remote command
2309before rereading a directory contents. A value of 0 would require an
2310immediate reread during filename completion, @code{nil} means to use
2311always cached values for the directory contents.
2312@end defopt
2291 2313
2292 2314
2293@node Remote processes 2315@node Remote processes