GNU bug report logs - #10489
24.0.92; dired-do-copy may create infinite directory hierarchy

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Thu, 12 Jan 2012 19:36:01 UTC

Severity: important

Tags: patch

Merged with 11130

Found in version 24.0.92

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #80 received at 10489 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 10489 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#10489: 24.0.92;
	dired-do-copy may create infinite directory hierarchy
Date: Fri, 13 Jan 2012 16:14:15 +0100
Juanma Barranquero <lekktu <at> gmail.com> writes:

> On Fri, Jan 13, 2012 at 15:14, Drew Adams <drew.adams <at> oracle.com> wrote:
>
>>  (and (equal (file-remote-p file1) (file-remote-p file2))
>
> Why is the file-remote-p needed?

For some simple cases, `file-remote-p' does the correct expansion.

(file-remote-p "/sudo::") => "/sudo:root <at> host:"

With this expansion, "/sudo::/path/file" and "/sudo:host:/path/file"
would be equal.

> Juanma

Best regards, Michael.




This bug report was last modified 13 years and 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.