From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy Date: Wed, 29 Feb 2012 21:33:56 -0500 Message-ID: References: <87mx9su32g.fsf@web.de> <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> <871updil1j.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330569339 12120 80.91.229.3 (1 Mar 2012 02:35:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Mar 2012 02:35:39 +0000 (UTC) Cc: 10489@debbugs.gnu.org, Michael Albinus To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 01 03:35:35 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 1S2vri-0008Iv-Sw for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Mar 2012 03:35:35 +0100 Original-Received: from localhost ([::1]:36307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2vri-0005hG-9S for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Feb 2012 21:35:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2vrM-0005gB-PK for bug-gnu-emacs@gnu.org; Wed, 29 Feb 2012 21:35:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2vrL-0000yg-4k for bug-gnu-emacs@gnu.org; Wed, 29 Feb 2012 21:35:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2vrL-0000yI-1L for bug-gnu-emacs@gnu.org; Wed, 29 Feb 2012 21:35:11 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S2vrC-0001q4-6O for bug-gnu-emacs@gnu.org; Wed, 29 Feb 2012 21:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Mar 2012 02:35: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.13305692837043 (code B ref 10489); Thu, 01 Mar 2012 02:35:02 +0000 Original-Received: (at 10489) by debbugs.gnu.org; 1 Mar 2012 02:34:43 +0000 Original-Received: from localhost ([127.0.0.1]:56559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S2vqs-0001pL-H0 for submit@debbugs.gnu.org; Wed, 29 Feb 2012 21:34:43 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:13297) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S2vqW-0001oq-Mv for 10489@debbugs.gnu.org; Wed, 29 Feb 2012 21:34:30 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AicFAKU/KE9FxJvl/2dsb2JhbACBX5x7eYhwnhmGGQSGUJRJhAs X-IronPort-AV: E=Sophos;i="4.73,1,1325480400"; d="scan'208";a="165302886" Original-Received: from 69-196-155-229.dsl.teksavvy.com (HELO pastel.home) ([69.196.155.229]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 29 Feb 2012 21:33:56 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 2BF0558F5C; Wed, 29 Feb 2012 21:33:56 -0500 (EST) In-Reply-To: <871updil1j.fsf@gmail.com> (Thierry Volpiatto's message of "Wed, 29 Feb 2012 18:52:56 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (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:57408 Archived-At: >>> 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. No, we may decide in the future to return a particular value (maybe not always the same one), but we don't know yet what might be useful, so instead we say it's not specified. Stefan