aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2007-12-23 13:25:27 +0000
committerMichael Albinus2007-12-23 13:25:27 +0000
commitadb671295c7556cd2a79333f4be5de21161df2ef (patch)
tree65a92862c76c36351f9e31c526602469ee2d36d3
parent9f15f6766b9298c2b8c514e4b9223655b1ff77a1 (diff)
downloademacs-adb671295c7556cd2a79333f4be5de21161df2ef.tar.gz
emacs-adb671295c7556cd2a79333f4be5de21161df2ef.zip
Sync with Tramp 2.1.12.
* net/tramp.el: New todo item. * net/tramp-smb.el (tramp-smb-handle-insert-directory): Handle "-F" switch. Reported by Mark T. Kennedy <mkennedy@diamondbackcap.com>. * net/trampver.el: Update release number.
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/net/tramp-smb.el14
-rw-r--r--lisp/net/tramp.el2
-rw-r--r--lisp/net/trampver.el4
4 files changed, 28 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 43ee81cf12b..365f904a556 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,14 @@
12007-12-23 Michael Albinus <michael.albinus@gmx.de>
2
3 Sync with Tramp 2.1.12.
4
5 * net/tramp.el: New todo item.
6
7 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Handle "-F"
8 switch. Reported by Mark T. Kennedy <mkennedy@diamondbackcap.com>.
9
10 * net/trampver.el: Update release number.
11
12007-12-22 Richard Stallman <rms@gnu.org> 122007-12-22 Richard Stallman <rms@gnu.org>
2 13
3 * newcomment.el (comment-region-default): Don't triple the 14 * newcomment.el (comment-region-default): Don't triple the
diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el
index 706042060f6..1406f381922 100644
--- a/lisp/net/tramp-smb.el
+++ b/lisp/net/tramp-smb.el
@@ -459,7 +459,7 @@ PRESERVE-UID-GID is completely ignored."
459 ;; We just need the only and only entry FILENAME. 459 ;; We just need the only and only entry FILENAME.
460 (list (assoc base entries))))) 460 (list (assoc base entries)))))
461 461
462 ;; Sort entries 462 ;; Sort entries.
463 (setq entries 463 (setq entries
464 (sort 464 (sort
465 entries 465 entries
@@ -470,6 +470,18 @@ PRESERVE-UID-GID is completely ignored."
470 ;; Sort by name. 470 ;; Sort by name.
471 (string-lessp (nth 0 x) (nth 0 y)))))) 471 (string-lessp (nth 0 x) (nth 0 y))))))
472 472
473 ;; Handle "-F" switch.
474 (when (string-match "F" switches)
475 (mapcar
476 (lambda (x)
477 (when (not (zerop (length (car x))))
478 (cond
479 ((char-equal ?d (string-to-char (nth 1 x)))
480 (setcar x (concat (car x) "/")))
481 ((char-equal ?x (string-to-char (nth 1 x)))
482 (setcar x (concat (car x) "*"))))))
483 entries))
484
473 ;; Print entries. 485 ;; Print entries.
474 (mapcar 486 (mapcar
475 (lambda (x) 487 (lambda (x)
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index b81c4e04f81..852a22a7034 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -7338,6 +7338,8 @@ Only works for Bourne-like shells."
7338;; * Reconnect directly to a compliant shell without first going 7338;; * Reconnect directly to a compliant shell without first going
7339;; through the user's default shell. (Pete Forman) 7339;; through the user's default shell. (Pete Forman)
7340;; * Make `tramp-default-user' obsolete. 7340;; * Make `tramp-default-user' obsolete.
7341;; * Tramp shall reconnect automatically to its ssh connection when it
7342;; detects that the process "has died". (David Reitter)
7341 7343
7342;; Functions for file-name-handler-alist: 7344;; Functions for file-name-handler-alist:
7343;; diff-latest-backup-file -- in diff.el 7345;; diff-latest-backup-file -- in diff.el
diff --git a/lisp/net/trampver.el b/lisp/net/trampver.el
index 0639210a1be..e390df9e9df 100644
--- a/lisp/net/trampver.el
+++ b/lisp/net/trampver.el
@@ -30,14 +30,14 @@
30;; "autoconf && ./configure" to change them. (X)Emacs version check is defined 30;; "autoconf && ./configure" to change them. (X)Emacs version check is defined
31;; in macro AC_EMACS_INFO of aclocal.m4; should be changed only there. 31;; in macro AC_EMACS_INFO of aclocal.m4; should be changed only there.
32 32
33(defconst tramp-version "2.1.12-pre" 33(defconst tramp-version "2.1.12"
34 "This version of Tramp.") 34 "This version of Tramp.")
35 35
36(defconst tramp-bug-report-address "tramp-devel@gnu.org" 36(defconst tramp-bug-report-address "tramp-devel@gnu.org"
37 "Email address to send bug reports to.") 37 "Email address to send bug reports to.")
38 38
39;; Check for (X)Emacs version. 39;; Check for (X)Emacs version.
40(let ((x (if (or (< emacs-major-version 21) (and (featurep 'xemacs) (< emacs-minor-version 4))) (format "Tramp 2.1.12-pre is not fit for %s" (when (string-match "^.*$" (emacs-version)) (match-string 0 (emacs-version)))) "ok"))) 40(let ((x (if (or (< emacs-major-version 21) (and (featurep 'xemacs) (< emacs-minor-version 4))) (format "Tramp 2.1.12 is not fit for %s" (when (string-match "^.*$" (emacs-version)) (match-string 0 (emacs-version)))) "ok")))
41 (unless (string-match "\\`ok\\'" x) (error "%s" x))) 41 (unless (string-match "\\`ok\\'" x) (error "%s" x)))
42 42
43(provide 'trampver) 43(provide 'trampver)