From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: IDO doesn't honor confirm-nonexistent-file-or-buffer Date: Sat, 09 May 2009 00:53:10 +0200 Message-ID: <87hbzv1a21.fsf@kfs-lx.rd.rdm> References: <87ljp9l1w4.fsf@thinkpad.tsdh.de> <87prel16ud.fsf@kfs-lx.rd.rdm> <87y6t8vgsy.fsf@thinkpad.tsdh.de> <87ljp728nu.fsf@kfs-lx.rd.rdm> <87bpq32779.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1241823223 17927 80.91.229.12 (8 May 2009 22:53:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 May 2009 22:53:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 09 00:53:33 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M2Ywc-0007Ve-Nf for ged-emacs-devel@m.gmane.org; Sat, 09 May 2009 00:53:30 +0200 Original-Received: from localhost ([127.0.0.1]:39322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2Ywc-0001CS-8X for ged-emacs-devel@m.gmane.org; Fri, 08 May 2009 18:53:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M2YwX-0001Bp-B5 for emacs-devel@gnu.org; Fri, 08 May 2009 18:53:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M2YwW-0001BB-6V for emacs-devel@gnu.org; Fri, 08 May 2009 18:53:24 -0400 Original-Received: from [199.232.76.173] (port=49598 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2YwW-0001B8-1f for emacs-devel@gnu.org; Fri, 08 May 2009 18:53:24 -0400 Original-Received: from mail1-hoer.fullrate.dk ([90.185.1.42]:64635 helo=smtp.fullrate.dk) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M2YwV-0007eL-KT for emacs-devel@gnu.org; Fri, 08 May 2009 18:53:23 -0400 Original-Received: from kfs-lx.rd.rdm.cua.dk (unknown [90.184.173.152]) by smtp.fullrate.dk (Postfix) with SMTP id D97EB9D21C for ; Sat, 9 May 2009 00:53:11 +0200 (CEST) In-Reply-To: <87bpq32779.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Fri, 08 May 2009 12:57:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:110789 Archived-At: Tassilo Horn 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 http://www.cua.dk