diff options
| author | Michael Albinus | 2013-11-26 16:07:10 +0100 |
|---|---|---|
| committer | Michael Albinus | 2013-11-26 16:07:10 +0100 |
| commit | 5fbf6856db55049a694585a5dc76d96ba09158b3 (patch) | |
| tree | faac8955161b643138aaeb476fa72097f540428f | |
| parent | 4e9fc48c06eef312b81764ff235293bfe2be594b (diff) | |
| download | emacs-5fbf6856db55049a694585a5dc76d96ba09158b3.tar.gz emacs-5fbf6856db55049a694585a5dc76d96ba09158b3.zip | |
* net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
names on MS Windows, like "/[::1]:".
* net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
SWITCHES.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/net/tramp-sh.el | 1 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 25dcbc67ab7..c8a341483bc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2013-11-26 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host | ||
| 4 | names on MS Windows, like "/[::1]:". | ||
| 5 | |||
| 6 | * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil | ||
| 7 | SWITCHES. | ||
| 8 | |||
| 1 | 2013-11-26 Glenn Morris <rgm@gnu.org> | 9 | 2013-11-26 Glenn Morris <rgm@gnu.org> |
| 2 | 10 | ||
| 3 | * progmodes/python.el (python-indent-guess-indent-offset): | 11 | * progmodes/python.el (python-indent-guess-indent-offset): |
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 874e50fbfaa..455ea1d4e9e 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -2493,6 +2493,7 @@ This is like `dired-recursive-delete-directory' for Tramp files." | |||
| 2493 | (filename switches &optional wildcard full-directory-p) | 2493 | (filename switches &optional wildcard full-directory-p) |
| 2494 | "Like `insert-directory' for Tramp files." | 2494 | "Like `insert-directory' for Tramp files." |
| 2495 | (setq filename (expand-file-name filename)) | 2495 | (setq filename (expand-file-name filename)) |
| 2496 | (unless switches (setq switches "")) | ||
| 2496 | (with-parsed-tramp-file-name filename nil | 2497 | (with-parsed-tramp-file-name filename nil |
| 2497 | (if (and (featurep 'ls-lisp) | 2498 | (if (and (featurep 'ls-lisp) |
| 2498 | (not (symbol-value 'ls-lisp-use-insert-directory-program))) | 2499 | (not (symbol-value 'ls-lisp-use-insert-directory-program))) |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index d0989e79cd3..966a77a2f78 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -884,7 +884,7 @@ See also `tramp-file-name-regexp'.") | |||
| 884 | ;;;###autoload | 884 | ;;;###autoload |
| 885 | (defconst tramp-file-name-regexp-unified | 885 | (defconst tramp-file-name-regexp-unified |
| 886 | (if (memq system-type '(cygwin windows-nt)) | 886 | (if (memq system-type '(cygwin windows-nt)) |
| 887 | "\\`/[^/|:]\\{2,\\}[^/|]*:" | 887 | "\\`/\\(\\[.*\\]\\|[^/|:]\\{2,\\}[^/|]*\\):" |
| 888 | "\\`/[^/|:][^/|]*:") | 888 | "\\`/[^/|:][^/|]*:") |
| 889 | "Value for `tramp-file-name-regexp' for unified remoting. | 889 | "Value for `tramp-file-name-regexp' for unified remoting. |
| 890 | Emacs (not XEmacs) uses a unified filename syntax for Ange-FTP and | 890 | Emacs (not XEmacs) uses a unified filename syntax for Ange-FTP and |