From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: C-x C-b and C-x C-f bugging about confirmation Date: Fri, 21 Nov 2008 11:08:49 -0500 Message-ID: <4926DD11.2080001@gnu.org> References: <1227274391.618443.2559.nullmailer@null> <87vduhm69c.fsf@cyd.mit.edu> Reply-To: Emacs Devel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227283760 19559 80.91.229.12 (21 Nov 2008 16:09:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Nov 2008 16:09:20 +0000 (UTC) Cc: ams@gnu.org, Stefan Monnier , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 21 17:10:21 2008 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 1L3YaA-0000AC-TI for ged-emacs-devel@m.gmane.org; Fri, 21 Nov 2008 17:10:11 +0100 Original-Received: from localhost ([127.0.0.1]:56531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3YYz-0000la-M5 for ged-emacs-devel@m.gmane.org; Fri, 21 Nov 2008 11:08:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L3YYv-0000l8-UN for emacs-devel@gnu.org; Fri, 21 Nov 2008 11:08:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L3YYu-0000kh-ID for emacs-devel@gnu.org; Fri, 21 Nov 2008 11:08:53 -0500 Original-Received: from [199.232.76.173] (port=57880 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3YYu-0000ke-Cc for emacs-devel@gnu.org; Fri, 21 Nov 2008 11:08:52 -0500 Original-Received: from mx2.janestcapital.com ([38.105.200.102]:60669) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L3YYu-0000wh-Bk for emacs-devel@gnu.org; Fri, 21 Nov 2008 11:08:52 -0500 Original-Received: from nyc-qsv-mail1.delacy.com ([172.25.22.57]) by mx2.janestcapital.com with esmtp (Exim 4.69) (envelope-from ) id 1L3YXc-00074Z-9v; Fri, 21 Nov 2008 11:07:32 -0500 Original-Received: from nyc-qws-005.delacy.com ([172.25.131.105]) by nyc-qsv-mail1.DELACY.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1L3YYr-0001wG-RS; Fri, 21 Nov 2008 11:08:49 -0500 User-Agent: Thunderbird 2.0.0.14 (X11/20080506) Original-Followup-To: gmane.emacs.devel In-Reply-To: <87vduhm69c.fsf@cyd.mit.edu> 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:105895 Archived-At: Chong Yidong wrote: > Stefan Monnier writes: > >>> why on earth does C-x C-b and C-x C-f ask me to confirm when I wish to >>> open a new buffer/file? >> So as to help prevent doing it by mistake when you mistyped. >> Set confirm-nonexistent-file-or-buffer to nil to get back the old >> behavior (or just hit RET twice, of course). > > I see, I didn't realize you intended to make it the default. > > I don't think it's a good default. With minibuffer completion, typing > mistakes don't happen all that often, and it can be disconcerting to > have a RET rejected. You might argue that it's no big deal to type a > second RET, but it's similarly no big deal to kill the buffer and try > again in the very few occasions that you make a mistake. I often have dozens of buffers open, including "foo.lisp" and "foos/" and completion is not the panacea. it IS a big deal to have to kill the buffer: with confirm-nonexistent-file-or-buffer = t: C-x b fo TAB [expands to "foo"] RET [confirm?] . TAB RET ==> foo.lisp with confirm-nonexistent-file-or-buffer = nil: C-x b fo TAB [expands to "foo"] RET [new buffer] C-x k RET C-x b Up . TAB RET ==> foo.lisp