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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 99 in the body.
You can then email your comments to 99 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#99; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; Dired remote creates local directory through the menus
Date: Sun, 30 Mar 2008 03:03:15 +0200
If you open a remote directory in dired and try to create a directory 
through the menus

  Immediate
    Create Directory

a local directory will be created. However if you use the key binding 
(+) it works as expected.


In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-03-29





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#99; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 99 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Lennart Borgman" <lennart.borgman <at> gmail.com>
Cc: 99 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Dired remote creates local directory through the menus
Date: Mon, 28 Jul 2008 10:54:36 -0400
> If you open a remote directory in dired and try to create a directory 
> through the menus
>
>   Immediate
>     Create Directory
>
> a local directory will be created. However if you use the key binding 
> (+) it works as expected.

That's strange; the two should do the same thing, because they both run
dired-create-directory.  Could you try to debug this?




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#99; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to joakim <at> verona.se:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at 99 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: joakim <at> verona.se
To: 99 <at> debbugs.gnu.org
Cc: lennart.borgman <at> gmail.com
Subject: unable to reproduce
Date: Thu, 07 Aug 2008 23:55:43 +0200
Hi Lennart!

I tried reproducing this with the following tramp url:

  /ssh:localhost:/tmp

and I can create directories with both the menu option and the + key.

Do you still get this problem? If so, can you give more info so I can
reproduce?

  
-- 
Joakim Verona




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#99; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> IRO.UMontreal.CA>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #20 received at 99 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: joakim <at> verona.se
Cc: 99 <at> debbugs.gnu.org
Subject: Re: bug#99: unable to reproduce
Date: Fri, 08 Aug 2008 14:39:55 -0400
> If so, can you give more info so I can reproduce?

Beware: last I heard, Richard is not very favorable to Emacs
hackers's reproduction.  Maybe he'll change his mind when my daughter
takes over maintainership (20 years from now)?


        Stefan




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#99; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Tags added: moreinfo Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Thu, 21 Aug 2008 15:15:05 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#99; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #32 received at 99 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
To: 99 <at> debbugs.gnu.org
Subject: Dired remote creates local directory from the menus
Date: Mon, 25 Aug 2008 23:33:50 +0200
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?




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#99; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #37 received at 99 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
To: 99 <at> debbugs.gnu.org, Joakim Verona <joakim <at> verona.se>
Subject: Re: bug#99: Dired remote creates local directory from the menus
Date: Mon, 25 Aug 2008 23:51:48 +0200
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 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))





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#99; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to joakim <at> verona.se:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #42 received at 99 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: joakim <at> verona.se
To: "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>
Cc: 99 <at> debbugs.gnu.org
Subject: Re: 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




Tags removed: moreinfo Request was from Jason Rumney <jasonr <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 20 Dec 2008 10:05:05 GMT) Full text and rfc822 format available.

Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Mon, 02 Nov 2009 02:15:05 GMT) Full text and rfc822 format available.

Notification sent to "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>:
bug acknowledged by developer. (Mon, 02 Nov 2009 02:15:06 GMT) Full text and rfc822 format available.

Message #49 received at 99-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Lennart Borgman" <lennart.borgman <at> gmail.com>
Cc: 99-done <at> debbugs.gnu.org
Subject: Re: 23.0.60; Dired remote creates local directory through the menus
Date: Sun, 01 Nov 2009 21:08:00 -0500
> If you open a remote directory in dired and try to create a directory
> through the menus

>   Immediate
>     Create Directory

> a local directory will be created. However if you use the key binding
> (+) it works as expected.

I've changed read-file-name so that it doesn't use a graphical file
dialog if the directory is remote.  Thanks for reporting this bug.



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Mon, 30 Nov 2009 15:24:13 GMT) Full text and rfc822 format available.

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.