all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 2804@emacsbugs.donarmstrong.com
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	[thread overview]
Message-ID: <87myb6zekd.fsf@jurta.org> (raw)
In-Reply-To: <009601c9af27$0f0040f0$0200a8c0@us.oracle.com> (Drew Adams's message of "Fri, 27 Mar 2009 14:57:43 -0700")

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






  reply	other threads:[~2009-03-28  0:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jwvbprl7m9i.fsf-monnier+emacsbugreports@gnu.org>
2009-03-27 21:57 ` bug#2804: 23.0.90; M-n in read-file-name doesn't respect insert-default-directory Drew Adams
2009-03-28  0:17   ` Juri Linkov [this message]
2009-03-28  5:39     ` Drew Adams
2009-03-28 14:40   ` bug#2804: marked as done (23.0.90; M-n in read-file-name doesn't respect insert-default-directory) Emacs bug Tracking System

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=87myb6zekd.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=2804@emacsbugs.donarmstrong.com \
    --cc=drew.adams@oracle.com \
    /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.