bug-coreutils
[Top][All Lists]
Advanced

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

Re: tweaking default `ls -l` output to use locale before posix


From: Paul Eggert
Subject: Re: tweaking default `ls -l` output to use locale before posix
Date: Mon, 26 Sep 2005 21:44:08 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Mike Frysinger <address@hidden> writes:

> i was just referring to it as "a POSIX one" so as to easily 
> differentiate between the current behavior and the new behavior i'm proposing 
> of defaulting to one's locale style

OK.

One other possibility that comes to mind is (1) to modify
--time-style='locale' so that, if the locale does not specify a time
style (many don't), it behaves like --time-style='long-iso'; and (2)
to make --time-style='locale' the default.  This would overcome one
objection to --time-style='locale', namely that it outputs English
(which is annoying to some non-English readers) on non-English
configurations that don't have proper translations for ls time
formats.  As I recall, that (along with the Emacs problem) was a
motivation for the current default.

But we'd still have to see how Emacs dired is doing in this area.  Is
that something you can look into?  Have you tried using Emacs in
locales that have really oddball time styles?  Maybe you can
systematically investigate Emacs dired with all the locales supported
by Gentoo, in a directory where the 'ls -l' output exhibits each month
name.




reply via email to

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