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: Mon, 27 Feb 2012 05:34:25 -0500 Message-ID: References: <87mx9su32g.fsf@web.de> <87zkc8x04p.fsf@gmail.com> <87vcmwwvk7.fsf@gmail.com> <834nugtwqf.fsf@gnu.org> <87r4xkwhky.fsf@gmail.com> <83vcmws3bs.fsf@gnu.org> <87ehtkwaiz.fsf@gmail.com> <87wr7cgsm3.fsf@gmx.de> <8762eww77b.fsf@gmail.com> <83pqd4roav.fsf@gnu.org> <87haygx97t.fsf@gmx.de> <87aa47rj6z.fsf@gmail.com> <878vjrxpej.fsf@gmx.de> <87pqd3i8ky.fsf@gmail.com> <87ipiuvsbw.fsf@gmx.de> <87k439gyu5.fsf@gmail.com> <87fwdwhizm.fsf@gmail.com> <87bookhfcn.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330338921 25549 80.91.229.3 (27 Feb 2012 10:35:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2012 10:35:21 +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 Mon Feb 27 11:35:18 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 1S1xvJ-0007Qv-IN for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2012 11:35:17 +0100 Original-Received: from localhost ([::1]:33719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1xvJ-0000O8-5t for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2012 05:35:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1xvG-0000Nd-3s for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 05:35:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1xvE-00085L-Jy for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 05:35:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1xvE-00085G-G1 for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 05:35:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S1xxy-0008Ut-9l for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 05:38: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: Mon, 27 Feb 2012 10:38: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.133033903932614 (code B ref 10489); Mon, 27 Feb 2012 10:38:02 +0000 Original-Received: (at 10489) by debbugs.gnu.org; 27 Feb 2012 10:37:19 +0000 Original-Received: from localhost ([127.0.0.1]:59044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1xxH-0008Tz-EU for submit@debbugs.gnu.org; Mon, 27 Feb 2012 05:37:19 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:65370) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1xxF-0008Tr-Hq for 10489@debbugs.gnu.org; Mon, 27 Feb 2012 05:37:18 -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="164785123" 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; 27 Feb 2012 05:34:26 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 9737F58AB7; Mon, 27 Feb 2012 05:34:25 -0500 (EST) In-Reply-To: <87bookhfcn.fsf@gmail.com> (Thierry Volpiatto's message of "Mon, 27 Feb 2012 09:04:24 +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:57286 Archived-At: >>> I have modified files-equal-p and file-subdir-of-p to work with >>> non--existing files, >> Calling files-equal-p on non-existing files makes no sense, so I don't >> think we should support it (at least not until we have concrete >> evidence that it is needed, at which point we can decide what we intend >> it to mean). > It is useful to handle e.g > (copy-directory "~/test" "~/test/test1") > where test1 is a non--existing directory. I see why we might want to signal an error to the user when she does (copy-directory "~/test" "~/test/test1"), but I don't see why that implies that we need files-equal-p to handle non-existent files. Stefan