Package: emacs20-dl
Version: 20.7-14.3
I use dired-mode on japanese environment.
From some time, a ls output format of japanese locale is changed on sid,
then dired-mode fails.
ls format (LANG=ja_JP.eucJP)
before:
mm月dd or mm月dd HH:MM
now:
-mm-dd or mm-dd HH:MM
emacs20 package may also have same bug.
so we should change dired.el. patch is follows:
--- dired.el.orig Tue Nov 30 00:04:12 1999
+++ dired.elSat Jul 13 22:44:59 2002
@@ -1363,7 +1363,7 @@
(month (concat l l "+[.]?,? *"))
;; Recognize any non-ASCII character.
;; The purpose is to match a Kanji character.
-(k "[^\0-\177]")
+;; (k "[^\0-\177]")
;; (k "[^\x00-\x7f\x80-\xff]")
(s " ")
( "[0-9][0-9][0-9][0-9]")
@@ -1375,7 +1375,7 @@
;; weiand: changed: year potentially unaligned
;;olds "\\(" HH:MM "\\|" s "\\|" s "\\)"))
s "\\(" HH:MM "\\|" s "?" "\\|" s "\\)"))
-(japanese (concat mm k s dd k s "\\(" s HH:MM "\\|" k "\\)")))
+(japanese (concat "\\(" "-" mm "-" dd "\\|" mm "-" dd s HH:MM
"\\)")))
;; 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 19971168 Oct 19 16:49 README
Hiroshi Miura --- http://www.da-cha.org/
NTTDATA Corp. Marketing & Business Strategy Planning Dept. --- [EMAIL
PROTECTED]
Key fingerprint = 9117 9407 5684 FBF1 4063 15B4 401D D077 04AB 8617
-- My hacking life is happy as the day is long
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]