File xemacs-packages-20130822-tramp.patch of Package xemacs-packages
---
xemacs-packages-20130822/xemacs-packages/tramp/lisp/tramp-compat.el | 3 +++
1 file changed, 3 insertions(+)
--- xemacs-packages-20130822/xemacs-packages/tramp/lisp/tramp-compat.el
+++ xemacs-packages-20130822/xemacs-packages/tramp/lisp/tramp-compat.el 2015-02-11 13:47:13.405517971 +0000
@@ -55,6 +55,9 @@
(require 'trampver)
(require 'tramp-loaddefs)
+ (if (featurep 'xemacs)
+ (load "subr-more" 'noerror t))
+
;; As long as password.el is not part of (X)Emacs, it shouldn't be
;; mandatory.
(if (featurep 'xemacs)
--- xemacs-packages-20130822/xemacs-packages/tramp/texi/tramp.texi
+++ xemacs-packages-20130822/xemacs-packages/tramp/texi/tramp.texi 2022-08-18 14:15:43.434780366 +0000
@@ -16,51 +16,19 @@
@include trampver.texi
-@c Macro for formatting a filename according to the respective syntax.
-@c xxx and yyy are auxiliary macros in order to omit leading and
-@c trailing whitespace. Not very elegant, but I don't know it better.
-
-@c There are subtle differences between texinfo 4.13 and 5.0. We must
-@c declare two versions of the macro. This will be improved, hopefully.
-
-@c Texinfo 5.0.
-@ifset txicommandconditionals
-@macro xxx {one}
-@set \one\
-@end macro
-
-@macro yyy {one, two}
-@xxx{x\one\}@c
-@ifclear x
-\one\@w{}\two\@c
-@end ifclear
-@clear x\one\
-@end macro
-
-@macro trampfn {method, user, host, localname}
+@ignore
+@codequotebacktick on
+@codequoteundirected on
+@end ignore
+@set txicodequoteundirected
+@set txicodequotebacktick
+
+@ifclear trampfndefined
+@set trampfndefined
+@macro trampfn {method, user, userhost, localname}
@value{prefix}@c
-@yyy{\method\,@value{postfixhop}}@c
-@yyy{\user\,@@}@c
-\host\@value{postfix}\localname\
-@end macro
-@end ifset
-
-@c Texinfo 4.13.
-@ifclear txicommandconditionals
-@macro xxx {one}@c
-@set \one\@c
-@end macro
-
-@macro yyy {one, two}@c
-@xxx{x\one\}@c
-@ifclear x@c
-\one\@w{}\two\@c
-@end ifclear
-@clear x\one\@c
-@end macro
-
-@macro trampfn {method, user, host, localname}@c
-@value{prefix}@yyy{\method\,@value{postfixhop}}@yyy{\user\,@@}\host\@value{postfix}\localname\@c
+\method\@value{postfixhop}@c
+\userhost\@value{postfix}\localname\
@end macro
@end ifclear