GNU bug report logs - #99
23.0.60; Dired remote creates local directory through the menus

Previous Next

Package: emacs;

Reported by: "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>

Date: Sun, 30 Mar 2008 04:05:07 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: joakim <at> verona.se
To: "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>
Cc: 99 <at> debbugs.gnu.org
Subject: bug#99: Dired remote creates local directory from the menus
Date: Tue, 26 Aug 2008 00:05:18 +0200
"Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com> writes:

> Lennart Borgman (gmail) wrote:
>> I can still easily reproduce this bug. Joakim (who can not reproduce
>> this) was using ssh, I am using ftp.
>> 
>> I am on w32 I guess that matters too. I think you are using GNU/Linux,
>> Joakim?
>
>
> I took a look at it. The problem is in using the system file dialog to
> read remote file names on w32. This just gives a local file name.
>
> I am surprised that this works for you, Joakim. Does the file dialog on
> GNU/Linux understand Emacs remote file syntax?

I dont get a file-dialog at all, because I have disabled those.
I just use tramp syntax with find-file, which is why I didnt understand
the problem.


> I think the fix is simple. Just tell read-file-name to not use a dialog:
>
>                 (if (or (not (next-read-file-uses-dialog-p))
>                         (when default-filename
>                           (file-remote-p default-filename))
>                         (file-remote-p dir))

I'll try it out.

-- 
Joakim Verona




This bug report was last modified 15 years and 188 days ago.

Previous Next


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