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: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Thierry Volpiatto'" <thierry.volpiatto <at> gmail.com>, <10489 <at> debbugs.gnu.org>
Subject: bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy
Date: Fri, 13 Jan 2012 11:21:04 -0800
> > For one thing, you are accessing a remote file before 
> > testing whether it is remote according to its name,
> > which systematically costs you a remote access
> > (login etc.), perhaps uselessly.
>
> Agree, but for this use case the connection is already open
> so there is not really a cost with remote access.

What use case?  I thought the discussion was about coming up with a general
function to compare file names to determine whether their files are the same.

> But anyway as Michael point we need to test also user, method..
> to much!

I believe that is all taken care of by the code I sent, which uses
`file-remote-p'.  IOW, I think `file-remote-p' does that.  But I'm no expert on
this stuff.





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.