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: Dmitry V. Levin
Subject: Re: tweaking default `ls -l` output to use locale before posix
Date: Tue, 8 Nov 2005 00:34:34 +0300

On Tue, Sep 27, 2005 at 01:43:59PM -0700, Paul Eggert wrote:
> Andreas Schwab <address@hidden> writes:
> 
> > Emacs can use --dired now, so this should not be an issue.
> 
> OK, thanks.  I just now checked, and if I understand it aright this
> started happening with Emacs 21.3 (released March 2003).
> 
> Can we safely assume that everyone in non-POSIX locales with oddball
> time stamp formats and who wants to use recent coreutils is also using
> Emacs 21.3 or later?  It sounds a bit risky, but perhaps it would be
> OK.  (After the next coreutils release, that is.)
> 
> If we can assume Emacs works, then that removes the last major worry I
> had about 'locale' time stamp format being the default.  To
> recapitulate the worries, this was:
> 
>   * Poorly configured hosts would generate English time stamps in
>     non-English locales (this would be fixed by having
>     --time-stamp='locale' default to long-iso formats in such locales
>     -- a fix that is not done yet).
> 
>   * Time stamps were not all the same width, leading to jagged
>     columns.  (Fixed in GNU/Linux by having the locales done right;
>     other hosts like Solaris will just have jagged columns, I guess.
>     If this turns into a real problem we can have ls autoadjust the
>     widths as it already does for several other columns.)
> 
>   * Emacs got confused.
> 
> 
> Mike, what do you think about the following patch for Gentoo, in place
> of what Gentoo is doing currently?  It implements the suggestion I
> have in mind.  This is not installed in coreutils: it's just a
> proposal.

Please do not forget to apply this patch, at least to development branch.


-- 
ldv

Attachment: pgpVHJZmgzRHu.pgp
Description: PGP signature


reply via email to

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