all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "David Reitter" <david.reitter@gmail.com>
Cc: Development of Aquamacs Emacs <aquamacs-devel@aquamacs.org>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	emacs- devel <emacs-devel@gnu.org>
Subject: RE: C-x C-f, Tab (in)completion and visiting the wrong, new files
Date: Mon, 13 Aug 2007 11:14:12 -0700	[thread overview]
Message-ID: <BNELLINCGFJLDJIKDGACKEHECBAA.drew.adams@oracle.com> (raw)
In-Reply-To: <64CC15CF-72D0-4765-8D7F-CE0DFBCF96EE@gmail.com>

> > Stefan's suggestion to allow an `only-after-completion' value for
> > `find-file-confirm-nonexistent' makes the most sense. I think that
> > would make everyone happy. (The default value of
> > `find-file-confirm-nonexistent' should remain, nil, however, IMO.)
>
> Yes, Stefan's suggestion sounds doable. However, I would actually
> prefer for it to be the default, as there I see benefits especially
> for new users and little problems for others.

We disagree about the default value. WDOT?

> Secondly, I don't think we should go through the full confirmation
> dialog. Instead, just a "ding" sound should be enough, and a second
> RET would then act as confirmation.

No special opinion on that, but what you say sounds reasonable to me.

> Is this really a special case for file name completion, and really
> only for `find-file'? Does it not apply to all kinds of completion?

The same considerations apply, probably, but it's not clear that a given
user would necessarily want the same behavior for all lax completion. Dunno
if it might be good to have two such options, one for `read-file-name' and
one for `completing-read'.

BTW, I assume (and hope) that this `only-after-completion' behavior would
apply only for TAB RET, not for TAB followed by some editing followed by
RET. That is, it is not just "after completion"; it is "immediately after
completion". It's important to be able to use completion to get a value that
you then edit and enter with RET. In such a case, it would not make sense
for `only-after-completion' to `ding' and require a second RET.

  reply	other threads:[~2007-08-13 18:14 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
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 [this message]
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=BNELLINCGFJLDJIKDGACKEHECBAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=aquamacs-devel@aquamacs.org \
    --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.