all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: Development of Aquamacs Emacs <aquamacs-devel@aquamacs.org>,
	Drew Adams <drew.adams@oracle.com>,
	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 19:46:18 +0100	[thread overview]
Message-ID: <9630B95D-8192-471F-9C6C-5859BB65678E@gmail.com> (raw)
In-Reply-To: <jwvzm0vuwvs.fsf-monnier+emacs@gnu.org>

On 13 Aug 2007, at 19:15, Stefan Monnier wrote:

> find-file-confirm-nonexistent doesn't use a "confirmation dialog",  
> it just
> puts a "[Confirm]" text in the minibuffer and rejects the RET (so  
> you just
> need to hit RET a second time).

Is that a variable to set (I don't have it), or how can I try this out?

I presume the [Confirm] text appears next to the entered file name  
and doesn't replace it?
That would be good.

Drew Adams wrote:

> 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'.

The reason why I'm pushing for this is that I find it reasonable to  
have one behavior for as many cases as possible. Special cases are  
usually confusing.

To experiment with this, we could use the two keymaps that exist,  
e.g. `minibuffer-local-filename-completion-map', where we could  
rebind RET to something that checks whether the previous command was  
a completion command.

> 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".

Correct.

  reply	other threads:[~2007-08-13 18: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
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 [this message]
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=9630B95D-8192-471F-9C6C-5859BB65678E@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=aquamacs-devel@aquamacs.org \
    --cc=drew.adams@oracle.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.