Eli,

Thanks for both these last posts on this.

I can see the merits of having the dates align, and while I may come back to
this at a later date, I can see from reading your instructions that trying
this now, will result in even more questions from me.

All useful learning, but as I said earlier, I am spending time on details
that is taking time away from learning emacs. When originally asking the
question I had assumed a simple answer.

None the less I will keep these messages for future reference.

Thanks again,

Graham

On 27/01/07, Eli Zaretskii <[EMAIL PROTECTED]> wrote:

> Date: Sat, 27 Jan 2007 13:20:08 +0200
> From: Eli Zaretskii <[EMAIL PROTECTED]>
> Cc: help-emacs-windows@gnu.org
>
> And since the Windows port of Emacs always sets "LANG" to the current
> Windows language identifier, we end up never using the value of
> ls-lisp-format-time-list, but always use the ISO format instead.
>
> The comment above says it's a feature: it makes the columns line up,
> which would not be guaranteed if we used the localized format (since
> the length of localized month names could be anything).

One way to work around this would be to install a port of GNU ls, try
it with the --time-style=locale option, and if that produces the
format you want, then disable ls-lisp and use the ported ls as
follows:

. Set ls-lisp-use-insert-directory-program to t:

       (setq ls-lisp-use-insert-directory-program t)

. Customize dired-listing-switches to "-al --time-style=locale"
   (Note: no D in the switches, as someone suggested on
   gnu.emacs.help):

       (setq dired-listing-switches "-al --time-style=locale")

I just tried this (with ls.exe from Gnuwin32), and it produces the
directory listing that I'd expect on my locale.

Reply via email to