From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: C-x C-b and C-x C-f bugging about confirmation Date: Sun, 23 Nov 2008 14:45:08 +0200 Organization: JURTA Message-ID: <87bpw6vcm3.fsf@jurta.org> References: <1227274391.618443.2559.nullmailer@null> <1227353165.501338.3377.nullmailer@null> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227445564 17125 80.91.229.12 (23 Nov 2008 13:06:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Nov 2008 13:06:04 +0000 (UTC) Cc: ams@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 23 14:07:06 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 1L4Efv-0006D3-IA for ged-emacs-devel@m.gmane.org; Sun, 23 Nov 2008 14:06:55 +0100 Original-Received: from localhost ([127.0.0.1]:34923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4Eel-0007od-MM for ged-emacs-devel@m.gmane.org; Sun, 23 Nov 2008 08:05:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4EcG-0006SD-1J for emacs-devel@gnu.org; Sun, 23 Nov 2008 08:03:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4EcC-0006P9-8L for emacs-devel@gnu.org; Sun, 23 Nov 2008 08:03:06 -0500 Original-Received: from [199.232.76.173] (port=54465 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4EcC-0006Oo-0k for emacs-devel@gnu.org; Sun, 23 Nov 2008 08:03:04 -0500 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]:55055) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L4EYr-0004vM-Qi; Sun, 23 Nov 2008 07:59:38 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1L4EYp-000KLR-40; Sun, 23 Nov 2008 14:59:35 +0200 In-Reply-To: (Stefan Monnier's message of "Sat, 22 Nov 2008 22:49:21 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 88f972a75cd389d721acc69b695bb680 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 5809 [Nov 23 2008] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) 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:106033 Archived-At: > First try it for a month with an open mind. I tried this feature with an open mind, and there is a case where it fails for me. I often create temporary buffers (usually with short names like a1, a2, a3) to edit small pieces of text copied from elsewhere (to copy them back after editing or save to a file). To do this I quickly type `C-x b a3 RET C-y' to yank the text into a new temporary buffer, but with confirm-nonexistent-file-or-buffer=t the text gets yanked into the minibuffer. OTOH, I never mistakenly switch to nonexistent buffers because when I need to switch to an existing buffer, I check its name by reading it in the minibuffer before typing RET. So I guess a confirmation is useful only for people who too quickly switch between buffers. Trying to find a good default for everyone, how about the following? When a completion is incomplete, display a message after TAB: Prompt: foo [Incomplete] -- Juri Linkov http://www.jurta.org/emacs/