aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-08-31 08:33:25 +0000
committerYAMAMOTO Mitsuharu2005-08-31 08:33:25 +0000
commit064801fe9456d00511b14f8b60c0f0d50a3cccd5 (patch)
treec073b9435175dc48de4b02fa0d0b2515fe5605d9
parentc1105d052e58569a0136c4501dc584358e13b24d (diff)
downloademacs-064801fe9456d00511b14f8b60c0f0d50a3cccd5.tar.gz
emacs-064801fe9456d00511b14f8b60c0f0d50a3cccd5.zip
(dired-move-to-filename-regexp): Add date format for Mac OS X 10.3 in
East Asian locales.
-rw-r--r--lisp/dired.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 508bc39bbb5..e06e808e1ae 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -1860,9 +1860,12 @@ DIR must be a directory name, not a file name."
1860 (western-comma (concat month s "+" dd "," s "+" yyyy)) 1860 (western-comma (concat month s "+" dd "," s "+" yyyy))
1861 ;; Japanese MS-Windows ls-lisp has one-digit months, and 1861 ;; Japanese MS-Windows ls-lisp has one-digit months, and
1862 ;; omits the Kanji characters after month and day-of-month. 1862 ;; omits the Kanji characters after month and day-of-month.
1863 ;; On Mac OS X 10.3, the date format in East Asian locales is
1864 ;; day-of-month digits followed by month digits.
1863 (mm "[ 0-1]?[0-9]") 1865 (mm "[ 0-1]?[0-9]")
1864 (japanese 1866 (east-asian
1865 (concat mm l "?" s dd l "?" s "+" 1867 (concat "\\(" mm l "?" s dd l "?" s "+"
1868 "\\|" dd s mm s "+" "\\)"
1866 "\\(" HH:MM "\\|" yyyy l "?" "\\)"))) 1869 "\\(" HH:MM "\\|" yyyy l "?" "\\)")))
1867 ;; The "[0-9]" below requires the previous column to end in a digit. 1870 ;; The "[0-9]" below requires the previous column to end in a digit.
1868 ;; This avoids recognizing `1 may 1997' as a date in the line: 1871 ;; This avoids recognizing `1 may 1997' as a date in the line:
@@ -1872,7 +1875,7 @@ DIR must be a directory name, not a file name."
1872 ;; This avoids recognizing `jservice 10 1024' as a date in the line: 1875 ;; This avoids recognizing `jservice 10 1024' as a date in the line:
1873 ;; drwxr-xr-x 3 jservice 10 1024 Jul 2 1997 esg-host 1876 ;; drwxr-xr-x 3 jservice 10 1024 Jul 2 1997 esg-host
1874 (concat ".*[0-9][BkKMGTPEZY]?" s 1877 (concat ".*[0-9][BkKMGTPEZY]?" s
1875 "\\(" western "\\|" western-comma "\\|" japanese "\\|" iso "\\)" 1878 "\\(" western "\\|" western-comma "\\|" east-asian "\\|" iso "\\)"
1876 s "+")) 1879 s "+"))
1877 "Regular expression to match up to the file name in a directory listing. 1880 "Regular expression to match up to the file name in a directory listing.
1878The default value is designed to recognize dates and times 1881The default value is designed to recognize dates and times