[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2804: 23.0.90; M-n in read-file-name doesn't respect insert-default-

From: Juri Linkov
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (x86_64-pc-linux-gnu)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]