From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: dired-do-touch Date: 24 Mar 2004 11:57:48 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040321165848.0DB3C662F8@imf.math.ku.dk> <405DDAF3.2080608@math.ku.dk> <87vfkwbg51.fsf@sno.mundell.ukfsn.org> <877jxbqlp8.fsf@sno.mundell.ukfsn.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1080122905 12980 80.91.224.253 (24 Mar 2004 10:08:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 Mar 2004 10:08:25 +0000 (UTC) Cc: Matthew Mundell , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Mar 24 11:08:17 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 1B65J3-0002qi-00 for ; Wed, 24 Mar 2004 11:08:17 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B65J2-0008Hr-00 for ; Wed, 24 Mar 2004 11:08:16 +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 1B65Il-00040Y-No for emacs-devel@quimby.gnus.org; Wed, 24 Mar 2004 05:07:59 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B65Bp-0002Yg-Aa for emacs-devel@gnu.org; Wed, 24 Mar 2004 05:00:49 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B65A4-0001yI-M6 for emacs-devel@gnu.org; Wed, 24 Mar 2004 04:59:32 -0500 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.30) id 1B659S-0001l9-6P for emacs-devel@gnu.org; Wed, 24 Mar 2004 04:58:22 -0500 Original-Received: (qmail 33640 invoked from network); 24 Mar 2004 09:58:16 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 24 Mar 2004 09:58:16 -0000 Original-To: Eli Zaretskii In-Reply-To: Original-Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:20844 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20844 Eli Zaretskii writes: > else more-or-less silently ignore errors in this function for > directories on such systems. The second alternative is probably > slightly better, since this is a primitive function that can be called > from deep inside some complex command, where signalling an error might > disrupt the rest of processing. I think that this is acceptable behaviour on such systems. Maybe the function could simply return t if time was modified, nil otherwise. Then it would be easier for a programmer to change his code to deal with systems where the call fails. -- Kim F. Storm http://www.cua.dk