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: Fri, 24 Feb 2012 15:45:08 +0100 Message-ID: <87ipiwwarv.fsf@gmail.com> References: <87mx9su32g.fsf@web.de> <87pqek9269.fsf@gmx.de> <87r4z0yqfx.fsf@gmail.com> <871uqzn3bc.fsf@gmx.de> <871uqz651u.fsf@gmx.de> <87pqd89lh4.fsf@gmail.com> <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> <87haygie87.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330095041 1455 80.91.229.3 (24 Feb 2012 14:50:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Feb 2012 14:50:41 +0000 (UTC) Cc: 10489@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 24 15:50:37 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 1S0wTg-0007au-LS for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Feb 2012 15:50:32 +0100 Original-Received: from localhost ([::1]:43676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0wTf-00065h-KY for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Feb 2012 09:50:31 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0wTY-00065Z-13 for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2012 09:50:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0wTV-0004Sn-Te for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2012 09:50:27 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0wTV-0004Sa-Pu for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2012 09:50:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S0wSD-0008Qe-Op for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2012 09:49:01 -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: Fri, 24 Feb 2012 14:49: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.133009489732341 (code B ref 10489); Fri, 24 Feb 2012 14:49:01 +0000 Original-Received: (at 10489) by debbugs.gnu.org; 24 Feb 2012 14:48:17 +0000 Original-Received: from localhost ([127.0.0.1]:53580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0wRU-0008PZ-J0 for submit@debbugs.gnu.org; Fri, 24 Feb 2012 09:48:16 -0500 Original-Received: from mail-we0-f172.google.com ([74.125.82.172]:47156) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0wRR-0008PM-J0 for 10489@debbugs.gnu.org; Fri, 24 Feb 2012 09:48:14 -0500 Original-Received: by werg1 with SMTP id g1so1532717wer.3 for <10489@debbugs.gnu.org>; Fri, 24 Feb 2012 06:45:33 -0800 (PST) Received-SPF: pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.86.198 as permitted sender) client-ip=10.180.86.198; Authentication-Results: mr.google.com; spf=pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.86.198 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.86.198]) by 10.180.86.198 with SMTP id r6mr5830546wiz.22.1330094733732 (num_hops = 1); Fri, 24 Feb 2012 06:45:33 -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=W6fgfihvShIMLZG8rKZ/5wAVGWQZHuSvP+34ht/JfIs=; b=IfpPLX5YmVBq6GzU3tN2/AfWqYatuwpg4H4Kba9u2RDdlwgLt0qMnBWyEA9JhVBLXn a/XBohbahUtw8GrHERw0tsjLKRr74M6F6KGi0eza9dKaAzPfYmOV6/QJlnFoAu1qsTR0 MOvMwBJQaE74i+FuFgEHzQllLz0kNbHA2tW+E= Original-Received: by 10.180.86.198 with SMTP id r6mr4684669wiz.22.1330094712293; Fri, 24 Feb 2012 06:45:12 -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 m16sm9364745wie.9.2012.02.24.06.45.10 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Feb 2012 06:45:11 -0800 (PST) In-Reply-To: <87haygie87.fsf@gmx.de> (Michael Albinus's message of "Fri, 24 Feb 2012 13:54:16 +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:57167 Archived-At: Michael Albinus writes: > > For both functions, please check for a file name handler, and call it if > available. It doesn't matter that they are not implemented yet; there is > the fallback to the native implementation in that case. What about the check for file-remote-p in `file-subdir-of-p': (when (and (not (or (file-remote-p dir1) (file-remote-p dir2))) Is that ok for you? Anyway you could always modify these functions for your need afterward. > With this check, I could start to implement the file name handlers in > Tramp's upstream repository. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997