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


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 10489 <at> debbugs.gnu.org, Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Subject: bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy
Date: Sun, 26 Feb 2012 10:21:42 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>>> It will be hard to detect that /sudo::/foo is equal to file:///foo.
>
> Maybe (in this case it might be reasonably easy, but of course there are
> harder cases).

We would need a function `file-local-representation' or something like
this, which returns "/foo" in both file name handler implementations.
Tramp's file name handler doesn't know of URL syntax, and vice versa.

And no, I do NOT propose to add this. Sounds like overengineering to me.

>         Stefan

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.