]> git.eshelyaron.com Git - emacs.git/commitdiff
Sync with Tramp 2.1.12.
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 23 Dec 2007 13:25:27 +0000 (13:25 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 23 Dec 2007 13:25:27 +0000 (13:25 +0000)
* 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.

lisp/ChangeLog
lisp/net/tramp-smb.el
lisp/net/tramp.el
lisp/net/trampver.el

index 43ee81cf12b39afc7a1e920db123514dbb6199b8..365f904a556db0d8ee4749dac8750573c6069f25 100644 (file)
@@ -1,3 +1,14 @@
+2007-12-23  Michael Albinus  <michael.albinus@gmx.de>
+
+       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.
+
 2007-12-22  Richard Stallman  <rms@gnu.org>
 
        * newcomment.el (comment-region-default): Don't triple the
index 706042060f6dabafaa169cac66542daf76b22bcc..1406f381922279436f39a7c3f4731ecd22ce7c74 100644 (file)
@@ -459,7 +459,7 @@ PRESERVE-UID-GID is completely ignored."
                 ;; We just need the only and only entry FILENAME.
                 (list (assoc base entries)))))
 
-       ;; Sort entries
+       ;; Sort entries.
        (setq entries
              (sort
               entries
@@ -470,6 +470,18 @@ PRESERVE-UID-GID is completely ignored."
                   ;; Sort by name.
                   (string-lessp (nth 0 x) (nth 0 y))))))
 
+       ;; Handle "-F" switch.
+       (when (string-match "F" switches)
+         (mapcar
+          (lambda (x)
+            (when (not (zerop (length (car x))))
+              (cond
+               ((char-equal ?d (string-to-char (nth 1 x)))
+                (setcar x (concat (car x) "/")))
+               ((char-equal ?x (string-to-char (nth 1 x)))
+                (setcar x (concat (car x) "*"))))))
+          entries))
+
        ;; Print entries.
        (mapcar
         (lambda (x)
index b81c4e04f81ad4553c173b9c6c9748d90c0fd711..852a22a703486bfe3218961be7a6d18b9eb8010f 100644 (file)
@@ -7338,6 +7338,8 @@ Only works for Bourne-like shells."
 ;; * Reconnect directly to a compliant shell without first going
 ;;   through the user's default shell. (Pete Forman)
 ;; * Make `tramp-default-user' obsolete.
+;; * Tramp shall reconnect automatically to its ssh connection when it
+;;   detects that the process "has died". (David Reitter)
 
 ;; Functions for file-name-handler-alist:
 ;; diff-latest-backup-file -- in diff.el
index 0639210a1be1f06f7aeeb0214c45f8ff8cfed53c..e390df9e9dfbd53c934e188e4a40d58e8d6bf9df 100644 (file)
 ;; "autoconf && ./configure" to change them.  (X)Emacs version check is defined
 ;; in macro AC_EMACS_INFO of aclocal.m4; should be changed only there.
 
-(defconst tramp-version "2.1.12-pre"
+(defconst tramp-version "2.1.12"
   "This version of Tramp.")
 
 (defconst tramp-bug-report-address "tramp-devel@gnu.org"
   "Email address to send bug reports to.")
 
 ;; Check for (X)Emacs version.
-(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")))
+(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")))
   (unless (string-match "\\`ok\\'" x) (error "%s" x)))
 
 (provide 'trampver)