From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: Re: dired-do-touch Date: Sun, 21 Mar 2004 19:12:03 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <405DDAF3.2080608@math.ku.dk> References: <20040321165848.0DB3C662F8@imf.math.ku.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1079892826 13843 80.91.224.253 (21 Mar 2004 18:13:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Mar 2004 18:13:46 +0000 (UTC) Cc: matt@mundell.ukfsn.org, Kai Grossjohann , Eli Zaretskii Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Mar 21 19:13:33 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 1B57S1-0000Pw-00 for ; Sun, 21 Mar 2004 19:13:33 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B57Rx-0005ZQ-00 for ; Sun, 21 Mar 2004 19:13:33 +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 1B57Rf-0001cg-Ue for emacs-devel@quimby.gnus.org; Sun, 21 Mar 2004 13:13:11 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B57RE-0001Zt-8W for emacs-devel@gnu.org; Sun, 21 Mar 2004 13:12:44 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B57Qh-0001QS-70 for emacs-devel@gnu.org; Sun, 21 Mar 2004 13:12:42 -0500 Original-Received: from [213.170.224.162] (helo=smtp.kabelnettet.dk) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B57Qg-0001Pg-MN for emacs-devel@gnu.org; Sun, 21 Mar 2004 13:12:10 -0500 Original-Received: from math.ku.dk (0x52b410e1.dhcp.kabelnettet.dk [82.180.16.225]) by smtp.kabelnettet.dk (Postfix) with ESMTP id EACAB6098AF; Sun, 21 Mar 2004 19:12:02 +0100 (CET) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040123 Debian/1.6-1.he-1 X-Accept-Language: en Original-To: emacs-devel@gnu.org In-Reply-To: <20040321165848.0DB3C662F8@imf.math.ku.dk> 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:20691 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20691 > > >I wonder: wouldn't it be better to have an Emacs primitive to do >this, instead of invoking an external program? For starters, it will >then work on any platform, including those where `touch' is not a >standard part of the OS. > A week ago, in the thread "Re: Set modtime of a local file?", I suggested to make the existing function set_file_times (in sysdep.c) into a lisp primitive because such a primitive is needed in Tramp. This primitive could be used by dired-do-touch to obtain independence of external programs.