Commits

Anonymous committed 123d14d

Dired 7.17.

  • Participants
  • Parent commits ea2007a

Comments (0)

Files changed (20)

-2008-01-13  Norbert Koch  <viteno@xemacs.org>
+2009-07-30  Mike Sperber  <mike@xemacs.org>
 
-	* Makefile (VERSION): XEmacs package 1.19 released.
+	* Dired 7.17.
+
+2009-07-28  Rodney Sparapani <rsparapa@mcw.edu>
+
+	* dired.el (dired-sort-other): Call `dired-build-subdir-alist'
+	here.
+
+2009-07-28  Jerry James <loganjerry@gmail.com>
+
+	* dired.el (dired-use-ls-dired): Use --dired on systems that have
+	"linux" in the value of `system-configuration'.
+
+2009-07-28  Michael Sperber  <mike@xemacs.org>
+
+	* dired.el (dired-manual-move-to-end-of-filename): Also match dot
+	after permissions, which indicates an SELinux security context.
+
+2009-04-22  Mats Lidell <matsl@xemacs.org>
+
+	* dired.el (dired-internal-noselect): Set mode from argument
+
+2008-04-06  Michael Sperber  <sperber@deinprogramm.de>
+
+	* dired.el (dired-find-buffer-nocreate): Wrap truename computation
+	in condition-case so we don't barf when there are errors.
+
+2008-03-12  Michael Sperber  <sperber@deinprogramm.de>
+
+	* dired.el (dired-use-ls-dired): Fix logic error in the
+	initialization expression, that would make this evaluate to t on
+	XEmacs 21.4.
 
 2008-01-13  Mike Sperber  <sperber@deinprogramm.de>
 
 include Makefile.dired
 
 VERSION = 1.19
-AUTHOR_VERSION = 7.16
+AUTHOR_VERSION = 7.17
 MAINTAINER = Mike Sperber <sperber@deinprogramm.de>
 PACKAGE = dired
 PKG_TYPE = regular
 #
 # File:         Makefile
 # Release:      $EFS release: 1.21 $
-# Release:      $dired release: 7.16 $
+# Release:      $dired release: 7.17 $
 # Version:      $Revision$
 # RCS:
 # Description:  Makefile for byte-compiling dired (primarily) and EFS.
 description of mailing lists relevant to Dired.  We encourage users to
 join these lists.
 
-NOTE: If you're using Dired 7.16 in conjunction with EFS, you are
+NOTE: If you're using Dired 7.17 in conjunction with EFS, you are
       advised to use EFS 1.24 or higher.
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
 ;; File:          dired-cmpr.el
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; RCS:
 ;; Description:   Commands for compressing marked files.
 ;;
 ;;
 ;; File:           dired-diff.el
 ;; RCS:
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; Description:    Support for diff and related commands.
 ;; Author:         Sandy Rutherford <sandy@ibm550.sissa.it>
 ;; Created:        Fri Jun 24 08:50:20 1994 by sandy on ibm550
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
 ;; File:          dired-faces.el
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; RCS:
 ;; Description:   rudimentary face customization support for dired
 ;; Author:        Mike Sperber <sperber@informatik.uni-tuebingen.de>
 ;;
 ;; File:           dired-grep.el
 ;; RCS:
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; Description:    Support for running grep on marked files in a dired buffer.
 ;; Author:         Sandy Rutherford <sandy@ibm550.sissa.it>
 ;; Created:        Tue Jul 13 22:59:37 1993 by sandy on ibm550
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
 ;; File:          dired-help.el
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; RCS:
 ;; Description:   Obtaining help for dired
 ;; Modified:      Sun Nov 20 21:10:47 1994 by sandy on gandalf
 ;;
 ;; File:           dired-mob.el
 ;; RCS:
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; Description:    Commands for marking files from another buffer.
 ;;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
 ;; File:          dired-mule.el
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; RCS:
 ;; Description:   MULE support for dired.
 ;; Created:       Sun Jul 17 14:45:12 1994 by sandy on ibm550
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
 ;; File:          dired-oas.el
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; RCS:
 ;; Description:   dired odds and sods. Dired functions not usually needed.
 ;;                This file is not a reference to the Organization of
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
 ;; File:          dired-rgxp.el
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; RCS:
 ;; Description:   Commands for running commands on files whose names
 ;;                match a regular expression.
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
 ;; File:          dired-sex.el
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; RCS:
 ;; Description:   Marking files according to sexpressions.  Sorry.
 ;; Created:       Wed Sep 14 01:30:43 1994 by sandy on ibm550
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
 ;; File:          dired-shell.el
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; RCS:
 ;; Description:   Commands for running shell commands on marked files.
 ;;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
 ;; File:          dired-uu.el
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; RCS:
 ;; Description:   Commands for uuencoding/uudecoding marked files.
 ;; Author:        Sandy Rutherford <sandy@math.ubc.ca>
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
 ;; File:          dired-vir.el
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; RCS:
 ;; Description:   Virtual dired mode for browsing ls -lR listings.
 ;; Author:        Sebastian Kremer <sk@thp.uni-koeln.de>
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
 ;; File:          dired-xemacs.el
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; RCS:
 ;; Description:   dired functions for XEmacs
 ;; Author:        Mike Sperber <sperber@informatik.uni-tuebingen.de>
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
 ;; File:          dired-xy.el
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; RCS:
 ;; Description:   Commands for reading mail from dired.
 ;;
 ;;
 ;; File:          dired.el
 ;; RCS:
-;; Dired Version: 7.16
+;; Dired Version: 7.17
 ;; Description:   The DIRectory EDitor is for manipulating, and running
 ;;                commands on files in a directory.
 ;; Authors:       FSF,
 
 ;;; Dired Version
 
-(defconst dired-version (substring "#Revision: 7.16 $" 11 -2)
+(defconst dired-version (substring "#Revision: 7.17 $" 11 -2)
   "The revision number of Tree Dired (as a string).
 
 Don't forget to mention this when reporting bugs to:
 
 ;;;###autoload
 (defcustom dired-use-ls-dired
-  (and (string-match "gnu" system-configuration)
+  (and (string-match "gnu\\|linux" system-configuration)
        ;; Only supported for XEmacs >= 21.5 and GNU Emacs >= 21.4 (I think)
-       (or (and (featurep 'xemacs)
-		(fboundp 'emacs-version>=)
+       (if (featurep 'xemacs)
+	   (and (fboundp 'emacs-version>=)
 		(emacs-version>= 21 5))
-	   (and (boundp 'emacs-major-version)
-		(boundp 'emacs-minor-version)
-		(or (> emacs-major-version 21)
-		    (and (= emacs-major-version 21)
-			 (>= emacs-minor-version 4))))))
+	 (and (boundp 'emacs-major-version)
+	      (boundp 'emacs-minor-version)
+	      (or (> emacs-major-version 21)
+		  (and (= emacs-major-version 21)
+		       (>= emacs-minor-version 4))))))
   "Non-nil means Dired should use `ls --dired'."
   :type 'boolean
   :group 'dired-programs)
 	(setq default-directory (file-name-directory dirname)
 	      wildcard t))
       (or switches (setq switches dired-listing-switches))
-      (dired-mode dirname switches)
+      (if mode 
+	  (funcall mode)
+	(dired-mode dirname switches))
       ;; default-directory and dired-internal-switches are set now
       ;; (buffer-local), so we can call dired-readin:
       (let ((failed t))
 	    (if (and (eq major-mode mode)
 		     (equal (if (or (not (boundp 'find-file-compare-truenames))
 				    find-file-compare-truenames)
-				(dired-directory-truename dired-directory)
+				(condition-case nil
+				    (dired-directory-truename dired-directory)
+				  (error nil))
 			      dired-directory)
 			    search-directory))
 		(setq found (car blist)
 	(if (save-excursion
 	      (goto-char bol)
 	      (re-search-forward
-	       "[^ ][-r][-w][^ ][-r][-w][^ ][-r][-w][^ ][-+ 0-9@]"
+	       "[^ ][-r][-w][^ ][-r][-w][^ ][-r][-w][^ ][-+ 0-9@.]"
 	       bof t))
 	    (progn
 	      (setq modes-start (match-beginning 0)
   ;; With optional second arg NO-REVERT, don't refresh the listing afterwards.
   ;; If subdir is non-nil, only changes the switches for the
   ;; sudirectory.
+  (dired-build-subdir-alist)
   (if subdir
       (let ((elt (assoc subdir dired-subdir-alist)))
 	(if elt (setcar (nthcdr 3 elt) switches)))