GNU bug report logs - #2804
23.0.90; M-n in read-file-name doesn't respect insert-default-directory

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 27 Mar 2009 22:05:06 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 2804 <at> debbugs.gnu.org
Subject: bug#2804: 23.0.90; M-n in read-file-name doesn't respect insert-default-directory
Date: Sat, 28 Mar 2009 02:17:07 +0200
> (read-file-name "aaa: " nil "foobar.el")
>
> Use `M-n' to retrieve the multiple default values. The default
> directory is removed from the minibuffer, even if
> `insert-default-directory' is non-nil.  This retrieval should keep the
> directory in the minibuffer, if `insert-default-directory' is non-nil.

This doesn't look like a bug, rather a feature request, because it works
(and worked in Emacs 22.1) exactly as described in the docstring of
`insert-default-directory', i.e. that non-nil means inserting the
default directory as the initial contents of the minibuffer.
It doesn't say it should prepend the default directory to default
values. And I don't think this would be a good thing to do.

-- 
Juri Linkov
http://www.jurta.org/emacs/




This bug report was last modified 16 years and 58 days ago.

Previous Next


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