From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#6887: 23.2.50; Initial input of dired touch command not correct Date: Tue, 01 Mar 2011 11:34:53 +0100 Message-ID: <878vwz86ya.fsf@gmail.com> References: <87pqxda26o.fsf@tux.homenetwork> <0e39n7grvz.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298977623 15746 80.91.229.12 (1 Mar 2011 11:07:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Mar 2011 11:07:03 +0000 (UTC) Cc: 6887@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 01 12:06:58 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PuNPt-0001Ww-PH for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Mar 2011 12:06:58 +0100 Original-Received: from localhost ([127.0.0.1]:60383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuNPt-00005k-0U for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Mar 2011 06:06:57 -0500 Original-Received: from [140.186.70.92] (port=55144 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuNPk-0008Tp-Mj for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2011 06:06:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuNPj-0008Of-Bt for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2011 06:06:48 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuNPj-0008Ob-9y for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2011 06:06:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PuMwv-0004BO-NW; Tue, 01 Mar 2011 05:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Mar 2011 10:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6887-submit@debbugs.gnu.org id=B6887.129897580116045 (code B ref 6887); Tue, 01 Mar 2011 10:37:01 +0000 Original-Received: (at 6887) by debbugs.gnu.org; 1 Mar 2011 10:36:41 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuMwa-0004Aj-SN for submit@debbugs.gnu.org; Tue, 01 Mar 2011 05:36:41 -0500 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuMwY-0004AU-FO for 6887@debbugs.gnu.org; Tue, 01 Mar 2011 05:36:38 -0500 Original-Received: by fxm15 with SMTP id 15so4206993fxm.3 for <6887@debbugs.gnu.org>; Tue, 01 Mar 2011 02:36:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=rdVsI+ToWx6k7nCSXnCiiWWYAcp6XkmnC4oONp0O9eo=; b=ulXBAVuGV4cz52E6cLKyR2HH11RuogQD/w0bu1iaQynDvSwfNH3bn2XcyOtG0PTb5Y asXGLmzjffPbbkeNeg2rRutGVUQi0hMDzRxnSX2TPq9dF+pXQTsxi8FpZkHeWOYfY0vF 2jb85MwtkwHuBw13mCspOODZFHaz/jXgTygoQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=Tbd8YqiBQntmhPuS8Z0p3m1zzOAwqs25CJdBzNX5KZhYA6tQhjLa+lFlxUo+ZLTczt aRHTU8ipUHWTB0/lE06SIztDgyYHLYz9m2Nybog+Aoh8py3oYlnIhHANP0Ipf2bUhoek XTx7J8yXrR2oOhFJyLJvxU94G9vwlvcAhn+vM= Original-Received: by 10.223.157.6 with SMTP id z6mr233204faw.13.1298975697073; Tue, 01 Mar 2011 02:34:57 -0800 (PST) Original-Received: from thierry-MM061 (238.78.88-79.rev.gaoland.net [79.88.78.238]) by mx.google.com with ESMTPS id j12sm1608422fax.33.2011.03.01.02.34.55 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Mar 2011 02:34:56 -0800 (PST) In-Reply-To: <0e39n7grvz.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 01 Mar 2011 03:35:28 -0500") User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/23.2.94 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 01 Mar 2011 05:37:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44471 Archived-At: Glenn Morris writes: > Thierry Volpiatto wrote: > >> i have already posted on emacs-dev, and i had no answer, so i assume >> there is no good reason to use the more recent file of the marked files >> as reference timestamp for all the marked files. > > I don't see the behaviour that you describe, but I am confused by what > the point of dired-touch-initial is supposed to be (cc: to original > author). > > If there is one file, it always returns the current timestamp of that > file. > > If there are multiple files, if they all happen to have the same > timestamp, it will return that time. > If any one of them has a different time-stamp, it returns the current > time. This is correct. > I'm having a hard time seeing what this is supposed to be useful for. When i posted this, IIRC the behavior was different, with multiple files selected, the earlier one was choosen for timestamp.(nearly one year ago). -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997