diff options
| author | Michael Albinus | 2007-11-18 10:26:50 +0000 |
|---|---|---|
| committer | Michael Albinus | 2007-11-18 10:26:50 +0000 |
| commit | b048d47875384535b96cebc34953c280653488f5 (patch) | |
| tree | e29ae6369cdcd1de3665c6b24584002d31fcb927 /doc/misc | |
| parent | b50dd0d2b6316e1278a40238a1ac9ae55b98a148 (diff) | |
| download | emacs-b048d47875384535b96cebc34953c280653488f5.tar.gz emacs-b048d47875384535b96cebc34953c280653488f5.zip | |
* tramp.texi (Filename completion): Simplify explanation of
double-slash behaviour. Explain directory contents flushing.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/tramp.texi | 46 |
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 @@ | |||
| 1 | 2007-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 | |||
| 1 | 2007-11-16 Jay Belanger <jay.p.belanger@gmail.com> | 6 | 2007-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 | |||
| 2267 | for files on the local host, with the exception that minibuffer | 2267 | for files on the local host, with the exception that minibuffer |
| 2268 | killing via a double-slash works only on the filename part, except | 2268 | killing via a double-slash works only on the filename part, except |
| 2269 | that filename part starts with @file{//}. | 2269 | that filename part starts with @file{//}. |
| 2270 | @ifset emacs | ||
| 2271 | A 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 | ||
| 2278 | Example: | ||
| 2279 | |||
| 2280 | @example | ||
| 2274 | @ifset emacs | 2281 | @ifset emacs |
| 2275 | As 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}} |
| 2279 | minibuffer contents to @file{/etc}. A triple-slash stands for the | 2286 | @print{} /etc |
| 2280 | default behavior, | 2287 | |
| 2281 | i.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 |
| 2286 | As example, @kbd{@trampfn{telnet, , melancholia, /usr/local/bin//}} | 2293 | @kbd{C-x C-f @trampfn{telnet, , melancholia, /usr/local/bin//}} |
| 2287 | would result in @file{@trampfn{telnet, , melancholia, /}}, whereas | 2294 | @print{} @trampfn{telnet, , melancholia, /} |
| 2288 | @kbd{@trampfn{telnet, , melancholia, //}} expands the minibuffer | 2295 | |
| 2289 | contents to @file{/}. | 2296 | @kbd{C-x C-f @trampfn{telnet, , melancholia, //}} |
| 2297 | @print{} / | ||
| 2290 | @end ifset | 2298 | @end ifset |
| 2299 | @end example | ||
| 2300 | |||
| 2301 | A remote directory might have changed its contents out of | ||
| 2302 | @value{emacsname} control, for example by creation or deletion of | ||
| 2303 | files by other processes. Therefore, during filename completion the | ||
| 2304 | remote directory contents is reread regularly in order to detect such | ||
| 2305 | changes, which would be invisible otherwise (@pxref{Connection caching}). | ||
| 2306 | |||
| 2307 | @defopt tramp-completion-reread-directory-timeout | ||
| 2308 | This variable defines the number of seconds since last remote command | ||
| 2309 | before rereading a directory contents. A value of 0 would require an | ||
| 2310 | immediate reread during filename completion, @code{nil} means to use | ||
| 2311 | always cached values for the directory contents. | ||
| 2312 | @end defopt | ||
| 2291 | 2313 | ||
| 2292 | 2314 | ||
| 2293 | @node Remote processes | 2315 | @node Remote processes |