From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Reitter <david.reitter@gmail.com>
Cc: emacs- devel <emacs-devel@gnu.org>
Subject: Re: C-x C-f, Tab (in)completion and visiting the wrong, new files
Date: Sun, 12 Aug 2007 15:46:43 -0400 [thread overview]
Message-ID: <jwvhcn41r6g.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <10516580-F6DC-4B3C-9D5C-3FC46D9DE30F@gmail.com> (David Reitter's message of "Sun\, 12 Aug 2007 18\:27\:38 +0100")
>>> But if the same happens to others as well, perhaps a more general
>>> change could make Emacs more convenient in this respect.
>> find-file-confirm-nonexistent-file
> Could be done, but I don't think adding another confirmation step for new
> files (that are intended to be created) is as good as making the right
> guess when the user uses completion and confirms an incomplete
> (i.e. ambiguous) choice.
That's very interesting: I added the find-file-confirm-nonexistent-file
pretty for the exact reason you describe, and what you propose is
a refinement of it: to only do the "confirm" step if the previous command
was a completion command. That makes a lot of sense: it may even be enabled
by default without provoking angry reactions, contrary to
find-file-confirm-nonexistent-file. It could just be confirgured with a new
value `only-after-completion' for find-file-confirm-nonexistent-file.
> This case may even be universal to all completion-based minibuffer inputs.
Could be.
Stefan
next prev parent reply other threads:[~2007-08-12 19:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-12 6:17 C-x C-f, Tab (in)completion and visiting the wrong, new files David Reitter
2007-08-12 10:40 ` Johan Bockgård
2007-08-12 17:27 ` David Reitter
2007-08-12 19:46 ` Stefan Monnier [this message]
2007-08-12 20:12 ` Drew Adams
2007-08-12 18:22 ` Drew Adams
2007-08-12 18:52 ` David Reitter
2007-08-12 20:11 ` Drew Adams
2007-08-12 19:35 ` Stefan Monnier
2007-08-12 20:12 ` Drew Adams
2007-08-12 20:39 ` David Reitter
2007-08-12 21:48 ` Drew Adams
2007-08-13 17:10 ` Davis Herring
2007-08-13 17:42 ` Drew Adams
2007-08-13 17:52 ` David Reitter
2007-08-13 18:14 ` Drew Adams
2007-08-13 18:15 ` Stefan Monnier
2007-08-13 18:46 ` David Reitter
2007-08-13 19:58 ` Stefan Monnier
2007-08-13 20:15 ` Drew Adams
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=jwvhcn41r6g.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=david.reitter@gmail.com \
--cc=emacs-devel@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.