diff options
| author | Michael Albinus | 2013-02-25 09:29:59 +0100 |
|---|---|---|
| committer | Michael Albinus | 2013-02-25 09:29:59 +0100 |
| commit | db19bba331efadd37cec1298be2c28f0742a7379 (patch) | |
| tree | 571a249be013d3f644bbb64560bb3348a68f2d05 | |
| parent | c0c2eb8295bb99b6ac0bbf8c1e06b60220074a5b (diff) | |
| download | emacs-db19bba331efadd37cec1298be2c28f0742a7379.tar.gz emacs-db19bba331efadd37cec1298be2c28f0742a7379.zip | |
* tramp.texi (top) [xxx, yyy, trampfn]: Provide two versions of
the macros, for Texinfo 4.13 and 5.0.
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/tramp.texi | 26 |
2 files changed, 31 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 63cbcdc5a15..fab7a301094 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-02-25 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * tramp.texi (top) [xxx, yyy, trampfn]: Provide two versions of | ||
| 4 | the macros, for Texinfo 4.13 and 5.0. | ||
| 5 | |||
| 1 | 2013-02-24 Michael Albinus <michael.albinus@gmx.de> | 6 | 2013-02-24 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | Port documentation to Texinfo 5.0. | 8 | Port documentation to Texinfo 5.0. |
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 493c69da052..c65d4aac7ed 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -20,6 +20,11 @@ | |||
| 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 | @c There are subtle differences between texinfo 4.13 and 5.0. We must | ||
| 24 | @c declare two versions of the macro. This will be improved, hopefully. | ||
| 25 | |||
| 26 | @c Texinfo 5.0. | ||
| 27 | @ifset txicommandconditionals | ||
| 23 | @macro xxx {one} | 28 | @macro xxx {one} |
| 24 | @set \one\ | 29 | @set \one\ |
| 25 | @end macro | 30 | @end macro |
| @@ -38,6 +43,26 @@ | |||
| 38 | @yyy{\user\,@@}@c | 43 | @yyy{\user\,@@}@c |
| 39 | \host\@value{postfix}\localname\ | 44 | \host\@value{postfix}\localname\ |
| 40 | @end macro | 45 | @end macro |
| 46 | @end ifset | ||
| 47 | |||
| 48 | @c Texinfo 4.13. | ||
| 49 | @ifclear txicommandconditionals | ||
| 50 | @macro xxx {one}@c | ||
| 51 | @set \one\@c | ||
| 52 | @end macro | ||
| 53 | |||
| 54 | @macro yyy {one, two}@c | ||
| 55 | @xxx{x\one\}@c | ||
| 56 | @ifclear x@c | ||
| 57 | \one\@w{}\two\@c | ||
| 58 | @end ifclear | ||
| 59 | @clear x\one\@c | ||
| 60 | @end macro | ||
| 61 | |||
| 62 | @macro trampfn {method, user, host, localname}@c | ||
| 63 | @value{prefix}@yyy{\method\,@value{postfixhop}}@yyy{\user\,@@}\host\@value{postfix}\localname\@c | ||
| 64 | @end macro | ||
| 65 | @end ifclear | ||
| 41 | 66 | ||
| 42 | @copying | 67 | @copying |
| 43 | Copyright @copyright{} 1999--2013 Free Software Foundation, Inc. | 68 | Copyright @copyright{} 1999--2013 Free Software Foundation, Inc. |
| @@ -3849,3 +3874,4 @@ for @value{emacsothername}. | |||
| 3849 | @c * Use `filename' resp. `file name' consistently. | 3874 | @c * Use `filename' resp. `file name' consistently. |
| 3850 | @c * Use `host' resp. `machine' consistently. | 3875 | @c * Use `host' resp. `machine' consistently. |
| 3851 | @c * Consistent small or capitalized words especially in menus. | 3876 | @c * Consistent small or capitalized words especially in menus. |
| 3877 | @c * Make a unique declaration of @trampfn. | ||