From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy Date: Fri, 24 Feb 2012 08:42:52 -0800 Message-ID: <162B52AA951643EDAD73E8648240E623@us.oracle.com> References: <87mx9su32g.fsf@web.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><83vcmws3bs.fsf@gnu.org> <87ehtkwaiz.fsf@gmail.com><87wr7cgsm3.fsf@gmx.de> <8762eww77b.fsf@gmail.com><448B2DBD622541A9821AC6454974902C@us.oracle.com> <87pqd4dwrd.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1330101883 26243 80.91.229.3 (24 Feb 2012 16:44:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Feb 2012 16:44:43 +0000 (UTC) Cc: 10489@debbugs.gnu.org, 'Thierry Volpiatto' To: "'Michael Albinus'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 24 17:44:42 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 1S0yG9-0005oh-Rs for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Feb 2012 17:44:41 +0100 Original-Received: from localhost ([::1]:44347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0yG9-0000b7-DU for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Feb 2012 11:44:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0yG1-0000DG-Ph for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2012 11:44:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0yFv-0000Ey-Uz for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2012 11:44:33 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0yFv-0000Et-RP for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2012 11:44:27 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S0yIP-0003Nt-Lj for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2012 11:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Feb 2012 16:47: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.133010196412943 (code B ref 10489); Fri, 24 Feb 2012 16:47:01 +0000 Original-Received: (at 10489) by debbugs.gnu.org; 24 Feb 2012 16:46:04 +0000 Original-Received: from localhost ([127.0.0.1]:54368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0yHU-0003Mi-J1 for submit@debbugs.gnu.org; Fri, 24 Feb 2012 11:46:04 -0500 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:46089) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0yHS-0003ME-Ai for 10489@debbugs.gnu.org; Fri, 24 Feb 2012 11:46:03 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q1OGh2ob008545 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 24 Feb 2012 16:43:03 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q1OGguFY011020 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 24 Feb 2012 16:42:57 GMT Original-Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q1OGguXp005568; Fri, 24 Feb 2012 10:42:56 -0600 Original-Received: from dradamslap1 (/10.159.39.252) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 24 Feb 2012 08:42:56 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87pqd4dwrd.fsf@gmx.de> Thread-Index: AczzEOjwz6Gr/0wmTf6StOe+ybDLAwAAdfCg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090209.4F47BE29.010F,ss=1,re=0.000,fgs=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:57181 Archived-At: > >> I don't understand why you use expand-file-name here: > >> file-truename does it for you anyway. > > > > That's true, but only for Emacs 24+. Is there any chance that this > > code will be used (say by Tramp) with Emacs < 24, where > > `file-truename' does not expand a relative file name? > > "This code" belongs to a function introduced with Emacs 24. > Tramp cannot use it for older/other Emacsen, because it does > not exist there :-) > > If Tramp *emulates* this code, it is responsible to do it correctly. I see. I guess by the last part you mean that if the next Tramp version (which will presumably take advantage of this) were to be used with an older Emacs version, then it would test `(fboundp 'files-equal-p)' and if nil do something else (e.g. emulate it) to test equality. Is that what you meant?