[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired-move-to-filename-regexp and Chinese (was: dired-do-toggle)
From: |
Paul Eggert |
Subject: |
Re: dired-move-to-filename-regexp and Chinese (was: dired-do-toggle) |
Date: |
07 Nov 2001 10:39:55 -0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 |
> From: Eli Zaretskii <address@hidden>
> Date: Wed, 7 Nov 2001 12:00:19 +0200 (IST)
>
> Most users will disagree, judging by what I read here. People want the
> months spelled in their native language.
You're right, but Per Starbuck is right too. :-)
Non-English speakers are often annoyed by seeing English-language
months, but (as we all know) using localized dates can lead to
problems. The latest GNU ls addresses this issue by using
internationalized dates by default in foreign locales, as follows:
* People using the traditional C locale get the same old behavior, e.g.:
drwxr-sr-x 47 eggert eggert 8192 Nov 7 09:26 .
-r--r--r-- 1 eggert eggert 386 Jul 14 1981 .plan
* People using other locales get internationalized dates, e.g LC_ALL=ja:
drwxr-sr-x 47 eggert eggert 8192 11-07 09:26 .
-r--r--r-- 1 eggert eggert 386 1981-07-14 .plan
* People can get localized dates if they want, by using an option or
environment variable, e.g. LC_ALL=ja TIME_STYLE=locale:
drwxr-sr-x 47 eggert eggert 8192 11月 7 09:26 .
-r--r--r-- 1 eggert eggert 386 7月 14 1981 .plan
This change to GNU ls was made for several reasons, one of them being
that localized month names were in some cases so long that the lines
exceeded 80 columns even for short file names.
My latest change to the ls-lisp.el trunk altered Emacs to mimic the
GNU ls default behavior, so this behavior change should percolate
through the collective consciousness at some point. And one of the
consequences of this change is that most xpeople won't need to worry so
much about dired-move-to-filename-regexp.