branch: externals/tramp
commit 3681eb5a9d3c593828cd5f2c8d8ba9c851260349
Author: Michael Albinus <[email protected]>
Commit: Michael Albinus <[email protected]>
Add texi/trampver.texi
---
texi/.gitignore | 3 ---
texi/trampver.texi | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+), 3 deletions(-)
diff --git a/texi/.gitignore b/texi/.gitignore
index 4718115..7dc56a1 100644
--- a/texi/.gitignore
+++ b/texi/.gitignore
@@ -15,6 +15,3 @@
*.tp
*.vr
*.vrs
-dir
-dir.lock
-trampver.texi
diff --git a/texi/trampver.texi b/texi/trampver.texi
new file mode 100644
index 0000000..7d94937
--- /dev/null
+++ b/texi/trampver.texi
@@ -0,0 +1,60 @@
+@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-2019 Free Software Foundation, Inc.
+@c See file doclicense.texi for copying conditions.
+
+@c In the Tramp GIT, the version number is auto-frobbed from tramp.el,
+@c and the bug report address is auto-frobbed from configure.ac.
+@set trampver 0
+@set tramp-bug-report-address tramp-devel@@gnu.org
+
+@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