all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: MJ <mj54590@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#2585: 23.0.90; read-file-name with dialog
Date: Fri, 6 Mar 2009 13:41:10 -0500	[thread overview]
Message-ID: <18865.28230.516000.264948@MJ.T42.T42> (raw)

When read-file-name is called and uses windows dialog to read a file
name, the 'dir' parameter has to be ended with '/'. It it does not,
the last part of the path name is used as the filename while the
default directory is the stripped 'dir' without last part. This does
not happen in Emacs 22. 

In minibuffer, there is comment that says: 

	;; If DIR contains a file name, split it.

I'm not sure if that is the right thing to do. At least, it breaks the
compatibility with previous Emacs version. 

Is this an intended change?

Thanks. 

--
In GNU Emacs 23.0.90.1 (i386-mingw-nt5.1.2600)
 of 2009-02-22 on T42
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -I../../GnuWin32/include'







             reply	other threads:[~2009-03-06 18:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <49B51A3D.7040101@gnu.org>
2009-03-06 18:41 ` MJ [this message]
2009-03-07  7:50   ` bug#2585: 23.0.90; read-file-name with dialog Jason Rumney
2009-03-09 13:40   ` bug#2585: marked as done (23.0.90; read-file-name with dialog) Emacs bug Tracking System
2009-03-08 20:05 bug#2585: 23.0.90; read-file-name with dialog Chong Yidong
2009-03-08 20:24 ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=18865.28230.516000.264948@MJ.T42.T42 \
    --to=mj54590@gmail.com \
    --cc=2585@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.