[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired-do-touch
From: |
Matthew Mundell |
Subject: |
Re: dired-do-touch |
Date: |
27 Mar 2004 16:13:10 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Juri Linkov <address@hidden> writes:
> "Eli Zaretskii" <address@hidden> writes:
> > I don't understand why you insist on using an external program if
> > Emacs could easily have a primitive to do the same. I think using an
> > Emacs primitive is faster, in addition to being more portable.
>
> I don't see a reason why changing file time should differ from
> operations changing other file attributes like mode, owner and
> group.
So you're suggesting to use an external program until a date can be
entered with the version of dired-do-touch which uses a primitive? It
sounds like a good idea.
The set-file-times primitive can still be installed.
> I don't insist on using external programs. If Emacs primitives are
> faster, then other dired commands for changing other file attributes
> should be modified to use Emacs primitives too.
>
> > The patch to add set-file-times is already reviewed by at least 2
> > Emacs maintainers, and is IMHO ready for being checked in.
>
> It don't allow to change file times to values other than current time.
The primitive allows any time to be set. However, the dired-do-time
patch which uses the primitive always uses the current time. For this
to accept an arbitrary time it needs to parse the time from a
user-supplied string. Is there a Lisp function which does this?
- Re: dired-do-touch, (continued)
- Re: dired-do-touch, Ehud Karni, 2004/03/21
- Re: dired-do-touch, Eli Zaretskii, 2004/03/21
- Re: dired-do-touch, Richard Stallman, 2004/03/21
- Re: dired-do-touch, Juri Linkov, 2004/03/25
- Re: dired-do-touch, Juri Linkov, 2004/03/25
- Re: dired-do-touch, Richard Stallman, 2004/03/27
- Re: dired-do-touch, Juri Linkov, 2004/03/27
- Re: dired-do-touch, Eli Zaretskii, 2004/03/27
- Re: dired-do-touch, Juri Linkov, 2004/03/27
- Re: dired-do-touch,
Matthew Mundell <=
- Re: dired-do-touch, Juri Linkov, 2004/03/27
- Re: dired-do-touch, Matthew Mundell, 2004/03/28
- Re: dired-do-touch, Eli Zaretskii, 2004/03/29
- Re: dired-do-touch, Juri Linkov, 2004/03/29
- Re: dired-do-touch, Andreas Schwab, 2004/03/29
- Re: dired-do-touch, Eli Zaretskii, 2004/03/30
- Re: dired-do-touch, Juri Linkov, 2004/03/30
- Re: dired-do-touch, Matthew Mundell, 2004/03/30
- Re: dired-do-touch, Stefan Monnier, 2004/03/30
- Re: dired-do-touch, Juri Linkov, 2004/03/30