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: Sat, 25 Feb 2012 17:41:43 -0500 Message-ID: References: <87mx9su32g.fsf@web.de> <87mx8b3nvb.fsf@gmail.com> <87pqd6wnvv.fsf@gmail.com> <87d395y1w0.fsf@gmail.com> <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> <83k43bs89t.fsf@gnu.org> <87sjhyx6v1.fsf@gmx.de> <87obsmnc3v.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330209760 22375 80.91.229.3 (25 Feb 2012 22:42:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2012 22:42:40 +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 Sat Feb 25 23:42:39 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S1QK6-0003QS-7i for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Feb 2012 23:42:38 +0100 Original-Received: from localhost ([::1]:54475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1QK5-0000YT-6W for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Feb 2012 17:42:37 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1QJw-0000Y7-35 for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2012 17:42:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1QJp-0007HR-2Z for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2012 17:42:27 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1QJo-0007HN-V3 for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2012 17:42:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S1QMP-0003dL-To for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2012 17:45: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: Sat, 25 Feb 2012 22:45:01 +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.133020986813917 (code B ref 10489); Sat, 25 Feb 2012 22:45:01 +0000 Original-Received: (at 10489) by debbugs.gnu.org; 25 Feb 2012 22:44:28 +0000 Original-Received: from localhost ([127.0.0.1]:56487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1QLs-0003cP-Gd for submit@debbugs.gnu.org; Sat, 25 Feb 2012 17:44:28 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:20526) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1QLq-0003cJ-Vx for 10489@debbugs.gnu.org; Sat, 25 Feb 2012 17:44:27 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AicFAKU/KE9MCodT/2dsb2JhbACBX5x7eYhwnhmGGQSGUJRJhAs X-IronPort-AV: E=Sophos;i="4.73,1,1325480400"; d="scan'208";a="164640939" Original-Received: from 76-10-135-83.dsl.teksavvy.com (HELO pastel.home) ([76.10.135.83]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 25 Feb 2012 17:41:44 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id BDDC25941E; Sat, 25 Feb 2012 17:41:43 -0500 (EST) In-Reply-To: <87obsmnc3v.fsf@gmail.com> (Thierry Volpiatto's message of "Sat, 25 Feb 2012 16:53: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:57242 Archived-At: >> It will be hard to detect that /sudo::/foo is equal to file:///foo. Maybe (in this case it might be reasonably easy, but of course there are harder cases). But the fact that it's sometimes hard doesn't justify preventing file-handlers from trying to handle it when they can. I.e. don't just assume "different file-handler => different file". > Agree, don't think that in real life people try do something like > copy /sudo::/foo ==> file:///foo This whole bug report started because someone tried to make a similarly silly "copy to itself". Stefan