diff options
| author | Michael Albinus | 2013-02-24 18:58:55 +0100 |
|---|---|---|
| committer | Michael Albinus | 2013-02-24 18:58:55 +0100 |
| commit | c0c2eb8295bb99b6ac0bbf8c1e06b60220074a5b (patch) | |
| tree | 90925ecfa9fb3330676f3b6dfbb7195e7f3ab305 | |
| parent | 51aa2a8b797cefbbee597b5c33ff955c0e470855 (diff) | |
| download | emacs-c0c2eb8295bb99b6ac0bbf8c1e06b60220074a5b.tar.gz emacs-c0c2eb8295bb99b6ac0bbf8c1e06b60220074a5b.zip | |
Port documentation to Texinfo 5.0.
* tramp.texi (top) [xxx, yyy, trampfn]: Remove superfluous @c.
(Filename Syntax): Do not use @trampfn{} in @item.
(Filename completion): Use @columnfractions in @multitable.
| -rw-r--r-- | doc/misc/ChangeLog | 8 | ||||
| -rw-r--r-- | doc/misc/tramp.texi | 33 |
2 files changed, 27 insertions, 14 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 0d6e0785c09..63cbcdc5a15 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2013-02-24 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | Port documentation to Texinfo 5.0. | ||
| 4 | |||
| 5 | * tramp.texi (top) [xxx, yyy, trampfn]: Remove superfluous @c. | ||
| 6 | (Filename Syntax): Do not use @trampfn{} in @item. | ||
| 7 | (Filename completion): Use @columnfractions in @multitable. | ||
| 8 | |||
| 1 | 2013-02-22 Glenn Morris <rgm@gnu.org> | 9 | 2013-02-22 Glenn Morris <rgm@gnu.org> |
| 2 | 10 | ||
| 3 | * flymake.texi (Syntax check statuses): Fix multitable continued rows. | 11 | * flymake.texi (Syntax check statuses): Fix multitable continued rows. |
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 616b32806f4..493c69da052 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -20,20 +20,23 @@ | |||
| 20 | @c xxx and yyy are auxiliary macros in order to omit leading and | 20 | @c xxx and yyy are auxiliary macros in order to omit leading and |
| 21 | @c trailing whitespace. Not very elegant, but I don't know it better. | 21 | @c trailing whitespace. Not very elegant, but I don't know it better. |
| 22 | 22 | ||
| 23 | @macro xxx {one}@c | 23 | @macro xxx {one} |
| 24 | @set \one\@c | 24 | @set \one\ |
| 25 | @end macro | 25 | @end macro |
| 26 | 26 | ||
| 27 | @macro yyy {one, two}@c | 27 | @macro yyy {one, two} |
| 28 | @xxx{x\one\}@c | 28 | @xxx{x\one\}@c |
| 29 | @ifclear x@c | 29 | @ifclear x |
| 30 | \one\@w{}\two\@c | 30 | \one\@w{}\two\@c |
| 31 | @end ifclear | 31 | @end ifclear |
| 32 | @clear x\one\@c | 32 | @clear x\one\ |
| 33 | @end macro | 33 | @end macro |
| 34 | 34 | ||
| 35 | @macro trampfn {method, user, host, localname}@c | 35 | @macro trampfn {method, user, host, localname} |
| 36 | @value{prefix}@yyy{\method\,@value{postfixhop}}@yyy{\user\,@@}\host\@value{postfix}\localname\@c | 36 | @value{prefix}@c |
| 37 | @yyy{\method\,@value{postfixhop}}@c | ||
| 38 | @yyy{\user\,@@}@c | ||
| 39 | \host\@value{postfix}\localname\ | ||
| 37 | @end macro | 40 | @end macro |
| 38 | 41 | ||
| 39 | @copying | 42 | @copying |
| @@ -2268,25 +2271,25 @@ using the default method. @xref{Default Method}. | |||
| 2268 | Some examples of @value{tramp} filenames are shown below. | 2271 | Some examples of @value{tramp} filenames are shown below. |
| 2269 | 2272 | ||
| 2270 | @table @file | 2273 | @table @file |
| 2271 | @item @trampfn{, , melancholia, .emacs} | 2274 | @item @value{prefix}melancholia@value{postfix}.emacs |
| 2272 | Edit the file @file{.emacs} in your home directory on the machine | 2275 | Edit the file @file{.emacs} in your home directory on the machine |
| 2273 | @code{melancholia}. | 2276 | @code{melancholia}. |
| 2274 | 2277 | ||
| 2275 | @item @trampfn{, , melancholia.danann.net, .emacs} | 2278 | @item @value{prefix}melancholia.danann.net@value{postfix}.emacs |
| 2276 | This edits the same file, using the fully qualified domain name of | 2279 | This edits the same file, using the fully qualified domain name of |
| 2277 | the machine. | 2280 | the machine. |
| 2278 | 2281 | ||
| 2279 | @item @trampfn{, , melancholia, ~/.emacs} | 2282 | @item @value{prefix}melancholia@value{postfix}~/.emacs |
| 2280 | This also edits the same file; the @file{~} is expanded to your | 2283 | This also edits the same file; the @file{~} is expanded to your |
| 2281 | home directory on the remote machine, just like it is locally. | 2284 | home directory on the remote machine, just like it is locally. |
| 2282 | 2285 | ||
| 2283 | @item @trampfn{, , melancholia, ~daniel/.emacs} | 2286 | @item @value{prefix}melancholia@value{postfix}~daniel/.emacs |
| 2284 | This edits the file @file{.emacs} in the home directory of the user | 2287 | This edits the file @file{.emacs} in the home directory of the user |
| 2285 | @code{daniel} on the machine @code{melancholia}. The @file{~<user>} | 2288 | @code{daniel} on the machine @code{melancholia}. The @file{~<user>} |
| 2286 | construct is expanded to the home directory of that user on the remote | 2289 | construct is expanded to the home directory of that user on the remote |
| 2287 | machine. | 2290 | machine. |
| 2288 | 2291 | ||
| 2289 | @item @trampfn{, , melancholia, /etc/squid.conf} | 2292 | @item @value{prefix}melancholia@value{postfix}/etc/squid.conf |
| 2290 | This edits the file @file{/etc/squid.conf} on the machine | 2293 | This edits the file @file{/etc/squid.conf} on the machine |
| 2291 | @code{melancholia}. | 2294 | @code{melancholia}. |
| 2292 | 2295 | ||
| @@ -2396,7 +2399,8 @@ If you, for example, type @kbd{C-x C-f @value{prefix}t | |||
| 2396 | @key{TAB}}, @value{tramp} might give you as result the choice for | 2399 | @key{TAB}}, @value{tramp} might give you as result the choice for |
| 2397 | 2400 | ||
| 2398 | @example | 2401 | @example |
| 2399 | @multitable {@trampfn{telnet, , melancholia.danann.net,}} {@trampfn{telnet, , 192.168.0.1,}} | 2402 | @c @multitable {@trampfn{telnet, , melancholia.danann.net,}} {@trampfn{telnet, , 192.168.0.1,}} |
| 2403 | @multitable @columnfractions .5 .5 | ||
| 2400 | @ifset emacs | 2404 | @ifset emacs |
| 2401 | @item @value{prefixhop}telnet@value{postfixhop} @tab tmp/ | 2405 | @item @value{prefixhop}telnet@value{postfixhop} @tab tmp/ |
| 2402 | @item @value{prefixhop}toto@value{postfix} @tab | 2406 | @item @value{prefixhop}toto@value{postfix} @tab |
| @@ -2423,7 +2427,8 @@ Next @kbd{@key{TAB}} brings you all machine names @value{tramp} detects in | |||
| 2423 | your @file{/etc/hosts} file, let's say | 2427 | your @file{/etc/hosts} file, let's say |
| 2424 | 2428 | ||
| 2425 | @example | 2429 | @example |
| 2426 | @multitable {@trampfn{telnet, , melancholia.danann.net,}} {@trampfn{telnet, , 192.168.0.1,}} | 2430 | @multitable @columnfractions .5 .5 |
| 2431 | @c @multitable {@trampfn{telnet, , melancholia.danann.net,}} {@trampfn{telnet, , 192.168.0.1,}} | ||
| 2427 | @item @trampfn{telnet, , 127.0.0.1,} @tab @trampfn{telnet, , 192.168.0.1,} | 2432 | @item @trampfn{telnet, , 127.0.0.1,} @tab @trampfn{telnet, , 192.168.0.1,} |
| 2428 | @item @trampfn{telnet, , @value{ipv6prefix}::1@value{ipv6postfix},} @tab @trampfn{telnet, , localhost,} | 2433 | @item @trampfn{telnet, , @value{ipv6prefix}::1@value{ipv6postfix},} @tab @trampfn{telnet, , localhost,} |
| 2429 | @item @trampfn{telnet, , melancholia.danann.net,} @tab @trampfn{telnet, , melancholia,} | 2434 | @item @trampfn{telnet, , melancholia.danann.net,} @tab @trampfn{telnet, , melancholia,} |