From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.bugs Subject: bug#99: Dired remote creates local directory from the menus Date: Tue, 26 Aug 2008 00:05:18 +0200 Message-ID: References: <48B3253E.6050305@gmail.com> <48B32974.7000800@gmail.com> Reply-To: joakim@verona.se, 99@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219703495 8253 80.91.229.12 (25 Aug 2008 22:31:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2008 22:31:35 +0000 (UTC) Cc: 99@emacsbugs.donarmstrong.com To: "Lennart Borgman \(gmail\)" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 26 00:32:28 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KXkbl-0000ES-Nr for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Aug 2008 00:32:22 +0200 Original-Received: from localhost ([127.0.0.1]:40224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXkan-00032U-7w for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Aug 2008 18:31:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXkX6-0001zu-Pf for bug-gnu-emacs@gnu.org; Mon, 25 Aug 2008 18:27:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXkX5-0001zV-8d for bug-gnu-emacs@gnu.org; Mon, 25 Aug 2008 18:27:32 -0400 Original-Received: from [199.232.76.173] (port=34654 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXkX4-0001zL-UZ for bug-gnu-emacs@gnu.org; Mon, 25 Aug 2008 18:27:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33351) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KXkX4-0005lP-PI for bug-gnu-emacs@gnu.org; Mon, 25 Aug 2008 18:27:31 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7PMRS60019179; Mon, 25 Aug 2008 15:27:28 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7PMF67x014953; Mon, 25 Aug 2008 15:15:06 -0700 X-Loop: don@donarmstrong.com Resent-From: joakim@verona.se Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 25 Aug 2008 22:15:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 99 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: moreinfo Original-Received: via spool by 99-submit@emacsbugs.donarmstrong.com id=B99.121970192612727 (code B ref 99); Mon, 25 Aug 2008 22:15:06 +0000 Original-Received: (at 99) by emacsbugs.donarmstrong.com; 25 Aug 2008 22:05:26 +0000 Original-Received: from gate.verona.se (IDENT:0@iwfs.imcode.com [82.115.149.64]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7PM5MR1012720 for <99@emacsbugs.donarmstrong.com>; Mon, 25 Aug 2008 15:05:24 -0700 Original-Received: from chopper (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id m7PM5FFF003518; Tue, 26 Aug 2008 00:05:15 +0200 In-Reply-To: <48B32974.7000800@gmail.com> (Lennart Borgman's message of "Mon, 25 Aug 2008 23:51:48 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 25 Aug 2008 18:27:32 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19708 Archived-At: "Lennart Borgman (gmail)" 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