From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: dired-do-touch Date: Sat, 27 Mar 2004 14:17:25 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <9681-Sat27Mar2004141724+0300-eliz@gnu.org> References: <8765czqqyj.fsf@sno.mundell.ukfsn.org> <8765ctkmdo.fsf@mail.jurta.org> <87k7165zee.fsf@mail.jurta.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1080390504 27212 80.91.224.253 (27 Mar 2004 12:28:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 Mar 2004 12:28:24 +0000 (UTC) Cc: matt@mundell.ukfsn.org, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Mar 27 13:28:16 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B7CvA-00036H-00 for ; Sat, 27 Mar 2004 13:28:16 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B7Cv9-0008RC-00 for ; Sat, 27 Mar 2004 13:28:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7Ct2-0005GX-Vs for emacs-devel@quimby.gnus.org; Sat, 27 Mar 2004 07:26:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B7CpN-0004gK-A9 for emacs-devel@gnu.org; Sat, 27 Mar 2004 07:22:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B7Coe-0004Tf-IL for emacs-devel@gnu.org; Sat, 27 Mar 2004 07:22:03 -0500 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7CnX-0004B2-OO; Sat, 27 Mar 2004 07:20:23 -0500 Original-Received: from zaretski (pns03-209-174.inter.net.il [80.230.209.174]) by legolas.inter.net.il (MOS 3.4.5-GR) with ESMTP id BNF89184; Sat, 27 Mar 2004 14:20:06 +0200 (IST) Original-To: Juri Linkov X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <87k7165zee.fsf@mail.jurta.org> (message from Juri Linkov on Sat, 27 Mar 2004 12:59:21 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20993 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20993 > From: Juri Linkov > 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. The patch to add set-file-times is already reviewed by at least 2 Emacs maintainers, and is IMHO ready for being checked in.