From: Juanma Barranquero Date: Thu, 6 Feb 2003 08:20:12 +0000 (+0000) Subject: (dired-move-to-filename-regexp): Support "K" suffix on "ls -alh" output. X-Git-Tag: ttn-vms-21-2-B4~11325 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0952583ca8f60a3140ff75cf7f74d1f5ea56e330;p=emacs.git (dired-move-to-filename-regexp): Support "K" suffix on "ls -alh" output. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bb5228a5ef7..c68c115e178 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-02-06 Matthew Swift + + * dired.el (dired-move-to-filename-regexp): Support "K" suffix on + "ls -alh" output. + 2003-02-05 Juanma Barranquero * font-lock.el (font-lock-reference-face): Add obsolescence diff --git a/lisp/dired.el b/lisp/dired.el index d15d80411f1..6261e6bb392 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1572,11 +1572,11 @@ DIR must be a directory name, not a file name." ;; The "[0-9]" below requires the previous column to end in a digit. ;; This avoids recognizing `1 may 1997' as a date in the line: ;; -r--r--r-- 1 may 1997 1168 Oct 19 16:49 README - ;; The "[kMGTPEZY]?" below supports "ls -alh" output. + ;; The "[kKMGTPEZY]?" below supports "ls -alh" output. ;; The ".*" below finds the last match if there are multiple matches. ;; This avoids recognizing `jservice 10 1024' as a date in the line: ;; drwxr-xr-x 3 jservice 10 1024 Jul 2 1997 esg-host - (concat ".*[0-9][kMGTPEZY]?" s + (concat ".*[0-9][kKMGTPEZY]?" s "\\(" western "\\|" western-comma "\\|" japanese "\\|" iso "\\)" s "+")) "Regular expression to match up to the file name in a directory listing.