[Bug: 21.4.19] dired does not work properly anymore

Mats Lidell matsl at xemacs.org
Wed Dec 27 18:12:26 EST 2006


>>>>> Stephen wrote:

Stephen> If you mean avoiding a subprocess by examining the directory
Stephen> ourselves, we already have the Lisp primitives needed to
Stephen> write ls(1) in Lisp.  However, the people who wrote ls have
Stephen> already done the work necessary to make it portable across
Stephen> platforms; doing that again seems silly.  

I'm not thinking of gaining speed but to avoid having to parse the
localized output. The regexp doing that isn't easy to digest.

But it's a trade of. ls(1) provides nice(!?) formated and human
readable output of the directory. The downside is that we need to
teach dired to parse it in order to use the output for navigation and
commands.

For my normal work I tend to use only a fragment of the information in
a ls-l-listing so a much simpler directory view would suffice for me.

On the other hand, going to external systems by means of ssh etc, we
are back again to parsing the output from ls ...

Yours
-- 
%% Mats



More information about the XEmacs-Beta mailing list