[Bug: 21.5-b28] XEmacs dired didn't work with FreeBSD ls
Mats Lidell
matsl at xemacs.org
Fri Oct 12 09:48:10 EDT 2007
Stephen J. Turnbull skrev:
> I'm not clear on what you mean. Locale handling is by definition
> table-driven, and the table is extensible. So what "better with
> locales" presumably means is that your date parser (are there other
> relevant parsers?) can handle the standard formats in more locales,
> but what are you gonna do if the Steganography locale decides to
> define their date format as YMYMYDYD?
If I remember correctly the idea is to ignore the month name in the ls
output. It is the start of the filename that is of most interest and if
you can get to that in a safe way without using localized info the
problem is solved. (Or lets say mostly solved for some of the locales ;-)
To solve this properly, for dired, I think that the binary should be
equipped with primitives (if they are not there already) in order to
produce the directory listing itself without the use of an external
program. All handling of locales would then be performed in XEmacs with
full control removing the need for complicated date parsing etc. This is
of course no solution for efs so the code still needs to be there.
Having said that I also acknowledge that changing dired in such a way
isn't an easy task.
Yours
--
%% Mats
More information about the XEmacs-Beta
mailing list