emacs-devel
[Top][All Lists]
Advanced

[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:09:04 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

"Eli Zaretskii" <address@hidden> writes:

> > From: Juri Linkov <address@hidden>
> > Date: Sat, 27 Mar 2004 12:59:21 +0200
> >
> > Below is the patch for the new T command.  It uses the external touch
> > program and behaves like other dired commands `chmod', `chgrp' and `chown'.
> >
> > I suggest to install this patch first.  Then I suggest to consider and
> > install the patch that allows the initial default values for
> > dired-do-touch, dired-do-chmod, dired-do-chgrp, dired-do-chown and
> > some other dired commands.
> >
> > And after this I suggest to install the patch posted by Matthew Mundell
> > that uses the new function `set-file-times', with small modifications
> > which will allow to use it instead of the external program in cases
> > when there is no touch program installed or depending on a new user option.
>
> 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 also think an available primitive should take preference over an
external program.  For now, using the set-file-times primitive
prevents the Dired interface from taking an arbitrary time.

> The patch to add set-file-times is already reviewed by at least 2
> Emacs maintainers, and is IMHO ready for being checked in.

He's challenging only the Dired changes, I think.




reply via email to

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