aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2003-02-06 08:20:12 +0000
committerJuanma Barranquero2003-02-06 08:20:12 +0000
commit0952583ca8f60a3140ff75cf7f74d1f5ea56e330 (patch)
tree7327e4941e4bcc15af8b1dda6394266e1b7474ad
parent4092b702c6906e3ec7bfdb8117272fb1e278d411 (diff)
downloademacs-0952583ca8f60a3140ff75cf7f74d1f5ea56e330.tar.gz
emacs-0952583ca8f60a3140ff75cf7f74d1f5ea56e330.zip
(dired-move-to-filename-regexp): Support "K" suffix on "ls -alh" output.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/dired.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bb5228a5ef7..c68c115e178 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12003-02-06 Matthew Swift <swift@alum.mit.edu>
2
3 * dired.el (dired-move-to-filename-regexp): Support "K" suffix on
4 "ls -alh" output.
5
12003-02-05 Juanma Barranquero <lektu@terra.es> 62003-02-05 Juanma Barranquero <lektu@terra.es>
2 7
3 * font-lock.el (font-lock-reference-face): Add obsolescence 8 * 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."
1572 ;; The "[0-9]" below requires the previous column to end in a digit. 1572 ;; The "[0-9]" below requires the previous column to end in a digit.
1573 ;; This avoids recognizing `1 may 1997' as a date in the line: 1573 ;; This avoids recognizing `1 may 1997' as a date in the line:
1574 ;; -r--r--r-- 1 may 1997 1168 Oct 19 16:49 README 1574 ;; -r--r--r-- 1 may 1997 1168 Oct 19 16:49 README
1575 ;; The "[kMGTPEZY]?" below supports "ls -alh" output. 1575 ;; The "[kKMGTPEZY]?" below supports "ls -alh" output.
1576 ;; The ".*" below finds the last match if there are multiple matches. 1576 ;; The ".*" below finds the last match if there are multiple matches.
1577 ;; This avoids recognizing `jservice 10 1024' as a date in the line: 1577 ;; This avoids recognizing `jservice 10 1024' as a date in the line:
1578 ;; drwxr-xr-x 3 jservice 10 1024 Jul 2 1997 esg-host 1578 ;; drwxr-xr-x 3 jservice 10 1024 Jul 2 1997 esg-host
1579 (concat ".*[0-9][kMGTPEZY]?" s 1579 (concat ".*[0-9][kKMGTPEZY]?" s
1580 "\\(" western "\\|" western-comma "\\|" japanese "\\|" iso "\\)" 1580 "\\(" western "\\|" western-comma "\\|" japanese "\\|" iso "\\)"
1581 s "+")) 1581 s "+"))
1582 "Regular expression to match up to the file name in a directory listing. 1582 "Regular expression to match up to the file name in a directory listing.