Hi James!
James R Grinter schrieb:
Boris: what do you have in your shell environment, before you start
xemacs? Especially settings like LANG or LC_* ones?
(My thinking: that your ls might be 'localised' in some manner)
As discuessed with Michael Sperber, it is a localisation problem.
For ages my variables are set to german:
LANG="de"
LC_ALL="de_DE"
But XEmacs doesn't recognize the dired lines because they contain
translated monthnames.
Example:
-rw-rw---- 1 boris boris 72552 Nov 8 1998 usbup15.zip
-rw-rw-r-- 1 root root 65872 Okt 16 12:47 verify.log
Dired of GNU-Emacs works, but the current version of GNU-Emacs has an
other localisation problem ... :-(
This means that XEmacs' dired does not work correctly on all
non-english-configured Linux distributions because all of them should be
using the localisation features for a long time.
So it's really needed to fix XEmacs I think. I can program in Elisp, but
I don't think that is's fair to expect every end-user to fix some
regular expressions.
How could it be done?
1. Is it really necessary to match on the monthnames to recognize a
dired line? My dired view contains only file and directory lines except
of the first two.
2. Unset the LC variables when calling programs where you expect english
output.
3. Localise XEmacs (it's time :-), sprintf() does the job of translating
monthnames.
--
Folgmann IT-Consulting mailto:boris@folgmann.de Open Systems
http://www.folgmann.de ICQ: 24137546 Design