bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dired doesn't understand localized file dates


From: Paul Stoeber
Subject: Re: Dired doesn't understand localized file dates
Date: Tue, 4 Jun 2002 13:26:42 +0200
User-agent: Mutt/1.3.28i

What about

(setq dired-move-to-filename-regexp "^ *[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ 
]+ +[^ ]+ +[^ ]+ +")

I've always relied on this format when parsing ls with awk, but maybe
it's wrong under some locales.  It appears to be correct under
LC_TIME=sv_SE.

On Mon, Jun 03, 2002 at 12:35:15PM +0200, karl.eklund@amnesty.se wrote:
> I think I found a bug in dired's handling of dates in file listings.
> 
> When you set LC_TIME to sv_SE and run dired, it doesn't understand the 
> file dates like " 2 maj 15.16", but it understands "18 okt  2001". When 
> you press enter or f on the file with the former date (from this year), it 
> says "No file on this line". On the latter (from last year), it acts 
> normal. When you walk up and down the directory with the arrow keys, it 
> goes to the beginning of the line at the files it doesn't understand, and 
> to the beginning of the filename at files it does understand.
> 
> The version is "GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d 
> scroll bars) of 2002-03-22 on raven, modified by Debian" and the operating 
> system is Debian 3.0 "woody".
> 
> Karl
> 
> _______________________________________________
> Bug-gnu-emacs mailing list
> Bug-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]