From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: C-x C-b and C-x C-f bugging about confirmation Date: Fri, 21 Nov 2008 22:23:18 -0500 Message-ID: References: <1227274391.618443.2559.nullmailer@null> <87vduhm69c.fsf@cyd.mit.edu> <4926DD11.2080001@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227324159 4738 80.91.229.12 (22 Nov 2008 03:22:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Nov 2008 03:22:39 +0000 (UTC) Cc: cyd@stupidchicken.com, ams@gnu.org, Emacs Devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 22 04:23:40 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 1L3j5v-00087G-Pc for ged-emacs-devel@m.gmane.org; Sat, 22 Nov 2008 04:23:40 +0100 Original-Received: from localhost ([127.0.0.1]:57432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3j4m-0000h7-QV for ged-emacs-devel@m.gmane.org; Fri, 21 Nov 2008 22:22:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L3j4g-0000fy-PN for emacs-devel@gnu.org; Fri, 21 Nov 2008 22:22:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L3j4f-0000fD-7R for emacs-devel@gnu.org; Fri, 21 Nov 2008 22:22:22 -0500 Original-Received: from [199.232.76.173] (port=36742 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3j4e-0000f8-UW for emacs-devel@gnu.org; Fri, 21 Nov 2008 22:22:20 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:5246) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L3j4a-0003Lv-7S; Fri, 21 Nov 2008 22:22:16 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArMEAGoJJ0nO+KUv/2dsb2JhbACBbSvSDIJ8gRs X-IronPort-AV: E=Sophos;i="4.33,648,1220241600"; d="scan'208";a="30171651" Original-Received: from 206-248-165-47.dsl.teksavvy.com (HELO pastel.home) ([206.248.165.47]) by ironport2-out.teksavvy.com with ESMTP; 21 Nov 2008 22:22:15 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 9979580FF; Fri, 21 Nov 2008 22:23:18 -0500 (EST) In-Reply-To: (Eli Zaretskii's message of "Fri, 21 Nov 2008 20:40:54 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (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:105925 Archived-At: >> 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 > Your argument is true only if one makes a mistake. I don't think it > is true in general that there are more typing mistakes than > correct input. The issue is not "correct input" but "correct input that leads to the creation of a new file". Generally, when you're creating a new file, you know it, so you hit RET RET right away. It's kind of like creating two different commands: one for opening an existing file and one for creating a new file, except the only different between the two is that you hit RET for one and RET RET for the other. Once you get used to it, you'll see it's completely painless, even if you create a thousand files per hour and never make any typing error when opening existing files. Stefan