From: "Drew Adams" <drew.adams@oracle.com>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>,
"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 13:12:54 -0700 [thread overview]
Message-ID: <BNELLINCGFJLDJIKDGACAEGJCBAA.drew.adams@oracle.com> (raw)
In-Reply-To: <jwvhcn41r6g.fsf-monnier+emacs@gnu.org>
> >>> 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.
This proposal is essentially to require confirmation for lax completion.
With the `only-after-completion' value, confirmation would be required only
after TAB; any other non-nil value would always require confirmation for
input that doesn't match completely. Is that correct?
I have no objection to such an option to control the behavior, but I don't
think the default behavior should be changed.
next prev parent reply other threads:[~2007-08-12 20:12 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
2007-08-12 20:12 ` Drew Adams [this message]
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=BNELLINCGFJLDJIKDGACAEGJCBAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
--cc=david.reitter@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.