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: Andreas Schwab
Subject: Re: Dired doesn't understand localized file dates
Date: Thu, 06 Jun 2002 14:37:44 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (ia64-suse-linux)

Richard Stallman <rms@gnu.org> writes:

|>     (setq dired-move-to-filename-regexp "^ *[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ 
]+ +[^ ]+ +[^ ]+ +[^ ]+ +")
|> 
|> That works by counting whitespace regions.  I think I saw cases long
|> ago where that would not work, which is why I did not use it.
|> I don't remember what the case was; perhaps it was user names with
|> spaces in them, or perhaps it was locales that altered the number
|> of spaces in the date.

For example, ls from fileutils 4.1.8 uses ISO style dates by default if
LC_TIME is not the C locale, which means only one space in the date field
for dates inside the 3 month range (05-14 11:55), and no space for the
other dates (2001-09-03).

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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