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

Stephen J. Turnbull stephen at xemacs.org
Mon Oct 1 04:28:45 EDT 2007


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.

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.

I've been trying to tell Mike for years that dired itself should do
this, but he never liked that idea.



More information about the XEmacs-Beta mailing list