]> git.eshelyaron.com Git - emacs.git/commitdiff
Some reaarangements in tramp*.texi
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 4 Oct 2018 07:46:14 +0000 (09:46 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 4 Oct 2018 07:46:14 +0000 (09:46 +0200)
* doc/misc/trampver.texi (trampfn): Change check for definition of macro.
(tramp-bug-report-address): New variable.

* doc/misc/tramp.texi (Top, Bug Reports): Use it.

doc/misc/tramp.texi
doc/misc/trampver.texi
lisp/net/trampver.el

index 7bc365ffdfee5c48ac7ae448b312162bbfe33f5e..7c5ebf334ae18c224f90420f642367bb6e311c43 100644 (file)
@@ -73,9 +73,9 @@ Savannah Project Page}.
 @end ifhtml
 
 There is a mailing list for @value{tramp}, available at
-@email{tramp-devel@@gnu.org}, and archived at
-@uref{https://lists.gnu.org/r/tramp-devel/, the
-@value{tramp} Mail Archive}.
+@email{@value{tramp-bug-report-address}}, and archived at
+@uref{https://lists.gnu.org/r/tramp-devel/, the @value{tramp} Mail
+Archive}.
 
 @page
 @insertcopying
@@ -3247,9 +3247,9 @@ discussing, and general discussions about @value{tramp}.
 post for moderator approval.  Sometimes this approval step may take as
 long as 48 hours due to public holidays.
 
-@email{tramp-devel@@gnu.org} is the mailing list.  Messages sent to
-this address go to all the subscribers.  This is @emph{not} the
-address to send subscription requests to.
+@email{@value{tramp-bug-report-address}} is the mailing list.
+Messages sent to this address go to all the subscribers.  This is
+@emph{not} the address to send subscription requests to.
 
 To subscribe to the mailing list, visit:
 @uref{https://lists.gnu.org/mailman/listinfo/tramp-devel/, the
index db4654ce28ecaef1d96ef5fa8036d114e8da9ead..aac7243446f277a3cbb8f0d2559a268bdd249278 100644 (file)
@@ -5,12 +5,12 @@
 @c Copyright (C) 2003-2018 Free Software Foundation, Inc.
 @c See file doclicense.texi for copying conditions.
 
-@c In the Tramp GIT, the version number is auto-frobbed from
-@c configure.ac, so you should edit that file and run
-@c "autoconf && ./configure" to change the version number.
+@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 2.4.1-pre
+@set tramp-bug-report-address tramp-devel@@gnu.org
 
-@c Other flags from configuration
+@c Other flags from configuration.
 @set instprefix /usr/local
 @set lispdir /usr/local/share/emacs/site-lisp
 @set infodir /usr/local/share/info
 @end ifset
 
 @c Macro for formatting a file name according to the respective
-@c syntax.  Macro arguments should not have any leading or trailing
-@c whitespace.  Not very elegant, but I don't know it better.
-
-@unmacro trampfn
+@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
index 1956ab648b37c23f61c4a8d31c1d68ce7d069544..f17129a402b4ba756a5ca87b9d4d656097ab36f9 100644 (file)
 
 ;;; Code:
 
-;; In the Tramp GIT repository, the version number and the bug report
-;; address are auto-frobbed from configure.ac, so you should edit that
-;; file and run "autoconf && ./configure" to change them.  Emacs
-;; version check is defined in macro AC_EMACS_INFO of aclocal.m4;
-;; should be changed only there.
+;; In the Tramp GIT, the version number is auto-frobbed from tramp.el,
+;; and the bug report address is auto-frobbed from configure.ac.
+;; Emacs version check is defined in macro AC_EMACS_INFO of
+;; aclocal.m4; should be changed only there.
 
 ;;;###tramp-autoload
 (defconst tramp-version "2.4.1-pre"