unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
To: emacs-devel@gnu.org
Subject: Re: IDO doesn't honor confirm-nonexistent-file-or-buffer
Date: Sat, 09 May 2009 00:53:10 +0200	[thread overview]
Message-ID: <87hbzv1a21.fsf@kfs-lx.rd.rdm> (raw)
In-Reply-To: <87bpq32779.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Fri, 08 May 2009 12:57:14 +0200")

Tassilo Horn <tassilo@member.fsf.org> writes:

> storm@cua.dk (Kim F. Storm) writes:
>
> Hi Kim,
>
>>> Basically yes, but I like the standard visual feedback and usage much
>>> better, e.g. no y-or-n-p but a [confirm] after the minibuffer input
>>> and another RET finds the nonexistent file or buffer.  This is not
>>> disturbing at all, while the y-or-n-p is: No matter my decision, I
>>> always have to move fingers to either y or n.
>>
>> I see - and agree.  Try the following patch instead:
>
> Yes, this is much better.  But there's one difference with the standard
> behavior.  Ido always wants a confirmation if the file or buffer doesn't
> exist.  The default setting of confirm-nonexistent-file-or-buffer is
> after-completion, and then you are asked only to confirm if the last
> command was a completion command.  The current ido behavior equivalent
> to setting this variable to t (which I do anyway).  But probably ido
> should be as compatible with the standard behavior as far as possible.

In a way ido is always trying to complete what you type, so in what 
ido command/key should after-completion apply to ?  E.g. TAB is rarely
used in ido (at least I don't use it much).

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk





  reply	other threads:[~2009-05-08 22:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-07  9:04 IDO doesn't honor confirm-nonexistent-file-or-buffer Tassilo Horn
2009-05-07 11:38 ` Kim F. Storm
2009-05-07 12:42   ` Leo
2009-05-10 21:28     ` Kim F. Storm
2009-05-11  1:07       ` Leo
2009-05-12 21:22       ` Leo
2009-05-07 19:44   ` Tassilo Horn
2009-05-08 10:25     ` Kim F. Storm
2009-05-08 10:57       ` Tassilo Horn
2009-05-08 22:53         ` Kim F. Storm [this message]
2009-05-08 23:16           ` Tassilo Horn
2009-05-09 16:57             ` Kim F. Storm
2009-05-09 22:28               ` Stefan Monnier
2009-05-10 21:29                 ` Kim F. Storm

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hbzv1a21.fsf@kfs-lx.rd.rdm \
    --to=storm@cua.dk \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).