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



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






Privacy