bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ls default time style


From: Paul Jarc
Subject: Re: ls default time style
Date: Wed, 12 Dec 2001 11:11:14 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu)

Eli Zaretskii <address@hidden> wrote:
> On Tue, 11 Dec 2001, Paul Jarc wrote:
>>> Why not use the relevant POSIX.1 API calls for reading directories?
>>
>> That's what I was suggesting with directory-files and file-attributes
>> (the Elisp bindings for readdir and stat, nearly).
>
> Emacs already has all that; see ls-lisp.el.  It is used on systems
> where `ls' isn't a standard program.
>
> However, I don't really see how this can help solve the Dired
> problems.

It makes the stat() information directly accessible to Emacs; Emacs
doesn't have to parse a date format that was meant for human
consumption.  We do still have the issue of what that format will be
for display, but we have more freedom with it if we don't have to
worry about programs trying to parse it.


paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]