summaryrefslogtreecommitdiff
path: root/doc/misc/trampver.texi
blob: 827c4773285f9224bf5f4667dd962b441f5fd8bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
@c -*-texinfo-*-
@c texi/trampver.texi.  Generated from trampver.texi.in by configure.

@c This is part of the Emacs manual.
@c Copyright (C) 2003--2021 Free Software Foundation, Inc.
@c See file doclicense.texi for copying conditions.

@c In the Tramp GIT, the version numbers are auto-frobbed from
@c tramp.el, and the bug report address is auto-frobbed from
@c configure.ac.
@set trampver 2.5.1-pre
@set trampurl https://www.gnu.org/software/tramp/
@set tramp-bug-report-address tramp-devel@@gnu.org
@set emacsver 25.1

@c Other flags from configuration.
@set instprefix /usr/local
@set lispdir /usr/local/share/emacs/site-lisp
@set infodir /usr/local/share/info

@c Formatting of the tramp program name consistent.
@set tramp @sc{Tramp}

@c Some flags which define the remote file name syntax.
@ifclear unified
@ifclear separate
@set unified
@end ifclear
@end ifclear

@ifset unified
@set prefix             /
@set prefixwithspace    /
@set prefixhop
@set postfix            :
@set postfixhop         :
@set ipv6prefix         [
@set ipv6postfix        ]
@end ifset

@ifset separate
@set prefix             /[
@set prefixwithspace    / [
@set prefixhop          [
@set postfix            ]
@set postfixhop         /
@set ipv6prefix
@set ipv6postfix
@end ifset

@c Macro for formatting a file name according to the respective
@c syntax.  trampver.texi is included several times in tramp.texi and
@c trampinst.texi.  Redefining the macro is reported as warning for
@c creating the dvi and pdf files, so we declare the macro only the
@c first time this file is included.
@ifclear trampfndefined
@set trampfndefined
@macro trampfn {method, userhost, localname}
@value{prefix}@c
\method\@value{postfixhop}@c
\userhost\@value{postfix}\localname\
@end macro
@end ifclear