From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy Date: Fri, 13 Jan 2012 20:35:46 +0100 Message-ID: <87boq7o0od.fsf@gmx.de> References: <87mx9su32g.fsf@web.de> <87sjjkfvwt.fsf@gmail.com> <8362ggkquq.fsf@gnu.org> <87lipcrlga.fsf@gmail.com> <87fwfkc4pn.fsf@gmx.de> <87fwfjsw8t.fsf@gmail.com> <87aa5rdazl.fsf@gmx.de> <87d3anogf5.fsf@gmail.com> <011AEED9E81C4DEFA6B1E03B0F57F28F@us.oracle.com> <878vlbljnc.fsf@gmx.de> <8739bj8mu1.fsf@gmail.com> <02043028DF764049AB57ED4D7C715992@us.oracle.com> <87ty3z76yo.fsf@gmail.com> <2788B42CD0814BF8950162EEA03FEE1E@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1326483393 29336 80.91.229.12 (13 Jan 2012 19:36:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Jan 2012 19:36:33 +0000 (UTC) Cc: 10489@debbugs.gnu.org, 'Thierry Volpiatto' To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 13 20:36:29 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RlmvM-0002xl-9Y for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jan 2012 20:36:28 +0100 Original-Received: from localhost ([::1]:47005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlmvL-0000sj-Cy for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jan 2012 14:36:27 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlmvI-0000rt-Mr for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 14:36:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlmvH-0002fo-KL for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 14:36:24 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlmvH-0002fj-Ir for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 14:36:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rlmvt-0002rO-H2 for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 14:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jan 2012 19:37: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: Original-Received: via spool by 10489-submit@debbugs.gnu.org id=B10489.132648339410959 (code B ref 10489); Fri, 13 Jan 2012 19:37:01 +0000 Original-Received: (at 10489) by debbugs.gnu.org; 13 Jan 2012 19:36:34 +0000 Original-Received: from localhost ([127.0.0.1]:56756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RlmvS-0002qh-0A for submit@debbugs.gnu.org; Fri, 13 Jan 2012 14:36:34 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:48594) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1RlmvP-0002qZ-FI for 10489@debbugs.gnu.org; Fri, 13 Jan 2012 14:36:32 -0500 Original-Received: (qmail invoked by alias); 13 Jan 2012 19:35:51 -0000 Original-Received: from p57BB9670.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.150.112] by mail.gmx.net (mp031) with SMTP; 13 Jan 2012 20:35:51 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18BCjsSoukBZqTPVkLJkwOU3p+rd2DKBpqC5Z9q0s s43mXfwWyCbbGV In-Reply-To: <2788B42CD0814BF8950162EEA03FEE1E@us.oracle.com> (Drew Adams's message of "Fri, 13 Jan 2012 11:21:04 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-Y-GMX-Trusted: 0 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:55713 Archived-At: "Drew Adams" writes: > I believe that is all taken care of by the code I sent, which uses > `file-remote-p'. IOW, I think `file-remote-p' does that. But I'm no > expert on this stuff. As I've pointed out, a specialized Tramp function could do better than Tramp's version of `file-remote-p', for example knowing that the methods "ssh" and "scp" are equal when it is about `file-name-equal-p'. That's why I'm in favor of `file-name-equal-p' AND its file name handler for remote files. Best regards, Michael.