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#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy Date: Wed, 29 Feb 2012 18:52:56 +0100 Message-ID: <871updil1j.fsf@gmail.com> References: <87mx9su32g.fsf@web.de> <87fwdwhizm.fsf@gmail.com> <87bookhfcn.fsf@gmail.com> <87aa44o7qo.fsf@gmail.com> <87ty2c490n.fsf@gmail.com> <87r4xgkt2b.fsf@gmail.com> <87obskum9i.fsf@gmx.de> <874nuc9bao.fsf@gmail.com> <874nubzdsu.fsf@gmail.com> <87zkc3xwdn.fsf@gmail.com> <87k437o1hm.fsf@gmx.de> <87booiu43h.fsf@gmx.de> <87linl529k.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330538067 10603 80.91.229.3 (29 Feb 2012 17:54:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Feb 2012 17:54:27 +0000 (UTC) Cc: 10489@debbugs.gnu.org, Michael Albinus To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 29 18:54:26 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S2njO-0007JM-56 for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Feb 2012 18:54:26 +0100 Original-Received: from localhost ([::1]:56756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2njN-0004Ll-EZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Feb 2012 12:54:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2njH-0004L9-DI for bug-gnu-emacs@gnu.org; Wed, 29 Feb 2012 12:54:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2njB-0005hp-0y for bug-gnu-emacs@gnu.org; Wed, 29 Feb 2012 12:54:18 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2njA-0005hh-Qu for bug-gnu-emacs@gnu.org; Wed, 29 Feb 2012 12:54:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S2nj0-0005MO-4V for bug-gnu-emacs@gnu.org; Wed, 29 Feb 2012 12:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Feb 2012 17:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10489 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 10489-submit@debbugs.gnu.org id=B10489.133053802520580 (code B ref 10489); Wed, 29 Feb 2012 17:54:02 +0000 Original-Received: (at 10489) by debbugs.gnu.org; 29 Feb 2012 17:53:45 +0000 Original-Received: from localhost ([127.0.0.1]:56320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S2nid-0005Lb-CS for submit@debbugs.gnu.org; Wed, 29 Feb 2012 12:53:45 -0500 Original-Received: from mail-we0-f172.google.com ([74.125.82.172]:56431) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S2niL-0005L5-Ot for 10489@debbugs.gnu.org; Wed, 29 Feb 2012 12:53:28 -0500 Original-Received: by werb10 with SMTP id b10so2600250wer.3 for <10489@debbugs.gnu.org>; Wed, 29 Feb 2012 09:53:01 -0800 (PST) Received-SPF: pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.107.169 as permitted sender) client-ip=10.180.107.169; Authentication-Results: mr.google.com; spf=pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.107.169 as permitted sender) smtp.mail=thierry.volpiatto@gmail.com; dkim=pass header.i=thierry.volpiatto@gmail.com Original-Received: from mr.google.com ([10.180.107.169]) by 10.180.107.169 with SMTP id hd9mr3076964wib.0.1330537981326 (num_hops = 1); Wed, 29 Feb 2012 09:53:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=1lL8BqgKHHNnjxUVyV5YPGQa/+85mignsYSPpsF577Y=; b=tZR0LqrFoBaiOZXkj02pIn4L2OxVV11Q7SiSbiHFjVIP4ANituwGqSK8Wph77mlKSx kqw6tCeDXRkz/OsJ58AwrOCFhsAtq4gwZIHyRalnQCL5eoNkQzYzhNFR5ry5SAWJE54e DwLrzdgIHIp6yJw+mJpvFLwh0uhpWJuXinMOE= Original-Received: by 10.180.107.169 with SMTP id hd9mr2471437wib.0.1330537981284; Wed, 29 Feb 2012 09:53:01 -0800 (PST) Original-Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id gp8sm36568088wib.5.2012.02.29.09.52.58 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 29 Feb 2012 09:53:00 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Wed, 29 Feb 2012 11:48:09 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57403 Archived-At: Stefan Monnier writes: >> Maybe we could change the entry in files.texi like this: > [...] >> @defun file-equal-p file1 file2 >> This function returns @code{t} if the files @var{file1} and >> ! @var{file2} name the same file. If @var{file1} or @var{file2} does >> ! not exist, the return value is unspecified. > > That looks good. What can be done also is to return a string in this case. So possible return values could be e.g: "unspecified" => mean one of the files doesn't exists. nil => files exist and are not equal t => files exist and are equal. >> ! If two files are equal, it does not imply that both file names specify >> ! accessible files. For example, @file{/sudo::/foo/bar} might be >> ! accessible, but @file{file:///foo/bar} might not. (@pxref{Remote >> ! Files,, Remote Files, emacs, The GNU Emacs Manual}, and >> ! @pxref{Supported URL Types,, Supported URL Types, url, URL >> ! Programmer's Manual}) > > I'd rather not get into such issues in the doc. > > > Stefan -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997