aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
authorKai Großjohann <[email protected]>2002-07-13 17:41:01 +0000
committerKai Großjohann <[email protected]>2002-07-13 17:41:01 +0000
commitb29019f8764077aa87bdc4c1aa42ab80636bf17b (patch)
tree36da9c871afa1a1184eff5a616d8b60586db8a87 /lisp/net
parent83fa16cf01b7951ae50a468034cb3b0d98d03bd2 (diff)
(tramp-multi-file-name-structure-unified): Add
missing slash and move colon from start to end of each hop. (tramp-multi-file-name-hop-structure-unified): Move colon from start to end of each hop.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/tramp.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index a845ed9335..6491a4cade 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -1024,9 +1024,9 @@ Also see `tramp-make-tramp-file-format', `tramp-file-name-structure', and `tramp
:type 'string)
(defconst tramp-multi-file-name-structure-unified
- (list (concat "\\`\\([a-zA-Z0-9]+\\)\\)?" ;method
+ (list (concat "\\`/\\(\\([a-zA-Z0-9]+\\)?:\\)" ;method
"\\(\\(%s\\)+\\)" ;hops
- ":\\(.*\\)\\'") ;path
+ "\\(.*\\)\\'") ;path
2 3 -1)
"Value for `tramp-multi-file-name-structure' for unified remoting.
Emacs (not XEmacs) uses a unified filename syntax for Ange-FTP and Tramp.
@@ -1035,7 +1035,7 @@ See `tramp-file-name-structure-unified' for details.")
(defconst tramp-file-name-structure-separate
(list (concat
;; prefix
- "\\`/\\[\\(\\([a-z0-9]+\\)\\)?"
+ "\\`/\\[\\(\\([a-z0-9]+\\)?\\)"
;; regexp specifying the hops
"\\(\\(%s\\)+\\)"
;; path name
@@ -1079,9 +1079,9 @@ string, but I haven't actually tried what happens if it doesn't..."
(integer :tag "Paren pair to match path")))
(defconst tramp-multi-file-name-hop-structure-unified
- (list (concat ":\\([a-zA-z0-9_]+\\):" ;hop method
+ (list (concat "\\([a-zA-z0-9_]+\\):" ;hop method
"\\([^@:/]+\\)@" ;user
- "\\([^:/]+\\)") ;host
+ "\\([^:/]+\\):") ;host
1 2 3)
"Value of `tramp-multi-file-name-hop-structure' for unified remoting.
Emacs (not XEmacs) uses a unified filename syntax for Ange-FTP and Tramp.