From: Steve Youngs Date: Sat, 23 Jun 2012 04:05:07 +0000 (+1000) Subject: Fix Tramp usage. X-Git-Url: http://cgit.sxemacs.org/?p=pkgusr;a=commitdiff_plain;h=3a6360e383f74dc7859a23a06b142a1c47762697;hp=-c Fix Tramp usage. The Tramp in XEmacs packages is a gazillion years out of date, things have changed... Most notably, the multi-hop syntax. * lisp/pkgusr.el (pkgusr-find-file): Update for latest Tramp. Signed-off-by: Steve Youngs --- 3a6360e383f74dc7859a23a06b142a1c47762697 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e74813a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +++log +*.elc diff --git a/lisp/.arch-inventory b/lisp/.arch-inventory deleted file mode 100644 index a7b89e1..0000000 --- a/lisp/.arch-inventory +++ /dev/null @@ -1 +0,0 @@ -precious ^(pkgusr\.elc)$ diff --git a/lisp/pkgusr.el b/lisp/pkgusr.el index 475c8dc..e8fca3e 100644 --- a/lisp/pkgusr.el +++ b/lisp/pkgusr.el @@ -5,7 +5,7 @@ ;; Author: Steve Youngs ;; Maintainer: Steve Youngs ;; Created: <2007-07-13> -;; Time-stamp: +;; Time-stamp: ;; Homepage: N/A ;; Keywords: utils package-management @@ -328,7 +328,7 @@ after the setq. Be bold and hard code it in pkgusr.el itself.") (file-name-as-directory (expand-file-name puser "/usr/src")) nil nil pkgusr-file-history)) - (tpath (format "[multi/ssh:root@localhost/su:%s@localhost]%s" + (tpath (format "[ssh/root@localhost|su/%s@localhost]%s" puser file)) (default-directory "/")) (find-file tpath)))