unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: 99@emacsbugs.donarmstrong.com, Joakim Verona <joakim@verona.se>
Subject: bug#99: Dired remote creates local directory from the menus
Date: Mon, 25 Aug 2008 23:51:48 +0200	[thread overview]
Message-ID: <48B32974.7000800@gmail.com> (raw)
In-Reply-To: <48B3253E.6050305@gmail.com>

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))







  reply	other threads:[~2008-08-25 21:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-25 21:33 bug#99: Dired remote creates local directory from the menus Lennart Borgman (gmail)
2008-08-25 21:51 ` Lennart Borgman (gmail) [this message]
2008-08-25 22:05   ` joakim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48B32974.7000800@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=99@emacsbugs.donarmstrong.com \
    --cc=joakim@verona.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).