[Bug: 21.5-b28] XEmacs dired didn't work with FreeBSD ls

It's me FKtPp ;) m_pupil at yahoo.com.cn
Mon Oct 1 12:10:20 EDT 2007


"Stephen J. Turnbull" <stephen at xemacs.org> writes:

> It's me FKtPp ;) writes:
>
>  > Maybe it's a FreeBSD bug -_-!
>  > 
>  > I diged a little deeper, and findout that the 'ls -l' output something
>  > wrong. At least it didn't work as the manual pages described.
>
> It's a doc bug, I think.  They've simply forgotten to tell your about
> the effect of locale on ls output.
>
> Unfortunately, people seem to think that it's a good idea to localize
> command-line utilities.  This is really dumb, because anybody who
> doesn't know what "Sep" stands for is probably not using ls in the
> first place.  Ie, my guess is that you have your locale set to
> something other than one of the locales dired groks.

Yes, I am using zh_CN.UTF-8 as my current LANG.

>
> Try starting XEmacs with LANG=C xemacs; I bet that will work a lot
>better.
>
> If you want minimal impact on your XEmacs language environment, you
> could try putting `(setenv "LC_TIME" "C")' in your init file.
>

Yes, again. After changed local setting, both ls and dired works as
expected..



More information about the XEmacs-Beta mailing list