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: Mon, 27 Feb 2012 23:11:27 +0100 Message-ID: <874nuc9bao.fsf@gmail.com> References: <87mx9su32g.fsf@web.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> <87aa44o7qo.fsf@gmail.com> <87ty2c490n.fsf@gmail.com> <87r4xgkt2b.fsf@gmail.com> <87obskum9i.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330380812 15194 80.91.229.3 (27 Feb 2012 22:13:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2012 22:13:32 +0000 (UTC) Cc: 10489@debbugs.gnu.org, Michael Albinus To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 27 23:13:31 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 1S28p0-0002zo-I1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2012 23:13:30 +0100 Original-Received: from localhost ([::1]:49720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S28oz-0007Uk-Pt for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2012 17:13:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S28ow-0007UO-I8 for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 17:13:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S28ou-0005hs-IR for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 17:13:26 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S28ou-0005ho-CE for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 17:13:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S28rS-0002bD-3Z for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 17:16:02 -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: Mon, 27 Feb 2012 22:16: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.13303809029910 (code B ref 10489); Mon, 27 Feb 2012 22:16:02 +0000 Original-Received: (at 10489) by debbugs.gnu.org; 27 Feb 2012 22:15:02 +0000 Original-Received: from localhost ([127.0.0.1]:60292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S28qO-0002Yy-GT for submit@debbugs.gnu.org; Mon, 27 Feb 2012 17:15:02 -0500 Original-Received: from mail-we0-f172.google.com ([74.125.82.172]:65250) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S28q7-0002YV-Ar for 10489@debbugs.gnu.org; Mon, 27 Feb 2012 17:14:45 -0500 Original-Received: by werb10 with SMTP id b10so1316204wer.3 for <10489@debbugs.gnu.org>; Mon, 27 Feb 2012 14:11:30 -0800 (PST) Received-SPF: pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.84.36 as permitted sender) client-ip=10.180.84.36; Authentication-Results: mr.google.com; spf=pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.84.36 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.84.36]) by 10.180.84.36 with SMTP id v4mr131577wiy.0.1330380690411 (num_hops = 1); Mon, 27 Feb 2012 14:11:30 -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=57qNk1JgOpihCZPWcDUBAYo2ITVqRvndW+7AHPaHQ/8=; b=WschaHEzdDnmqQkSg4uol6fu/WkbPf0pRN2dBMA4DNXrv1qwnMOEwnztggnus/uAIA w5yYlv1vJXKTmIlXvGKG9yZ2tmD+MmEWULBRIJo3pAgUOeM3cSws8xYyW5CiniIJEJfI SH3fSVAh7/ooZVHPGA454zqZtTncAV1h4r0Do= Original-Received: by 10.180.84.36 with SMTP id v4mr99996wiy.0.1330380690275; Mon, 27 Feb 2012 14:11:30 -0800 (PST) Original-Received: from thierry-MS-7309 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id by4sm18897086wib.3.2012.02.27.14.11.28 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 27 Feb 2012 14:11:29 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Mon, 27 Feb 2012 16:58:50 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (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:57336 Archived-At: Stefan Monnier writes: >>> If you don't create "test1" and file-subdir-of-p is unable to handle a >>> non--existing directory,I don't understand how you want to do. >> I was saying that files-equal-p returns unexpected results in case both >> files do not exist. I haven't spoken about file-subdir-of-p. > > Exactly. I don't think noexist is needed for subdir-p (it should accept > a non-existing dir for the `dir1' argument, without any need for > a noexist arg and it should reject a non-existing dir2), but I can live > with it, but file-equal-p only makes sense for existing files and should > not have a `noexist' argument. Ah! yes, thats sound good. Just need to remove check of file-directory-p for dir1 in f-subdir-of-p. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997