From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#419: marked as done (switch-to-buffer too easy to create new buffers) Date: Thu, 20 Nov 2008 02:30:05 -0800 Message-ID: References: <492539FA.6020805@gmx.at> <878wx6zvnq.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1227177005-6635-0" X-Trace: ger.gmane.org 1227177042 6202 80.91.229.12 (20 Nov 2008 10:30:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2008 10:30:42 +0000 (UTC) To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 20 11:31:43 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L36p3-00043J-JV for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 11:31:42 +0100 Original-Received: from localhost ([127.0.0.1]:47150 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L36nu-0007Qj-Es for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 05:30:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L36nm-0007Qa-3i for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 05:30:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L36nk-0007Q5-M9 for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 05:30:21 -0500 Original-Received: from [199.232.76.173] (port=38990 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L36nk-0007Q1-8u for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 05:30:20 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48332) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L36nj-0003Sy-NY for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 05:30:20 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAKAU99x007116; Thu, 20 Nov 2008 02:30:09 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAKAU5VW006689; Thu, 20 Nov 2008 02:30:05 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 419 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22518 Archived-At: This is a multi-part message in MIME format... ------------=_1227177005-6635-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 20 Nov 2008 11:20:42 +0100 with message-id <492539FA.6020805@gmx.at> and subject line Re: bug#419: switch-to-buffer too easy to create new buffe= rs has caused the Emacs bug report #419, regarding switch-to-buffer too easy to create new buffers to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 419: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D419 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1227177005-6635-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.7 required=4.0 tests=AWL,BAYES_00, DATE_IN_PAST_03_06,RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 15 Jun 2008 17:08:48 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5FH8gOu027416 for ; Sun, 15 Jun 2008 10:08:43 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7vib-0004HT-PF for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2008 13:08:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7via-0004G6-Az for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2008 13:08:41 -0400 Received: from [199.232.76.173] (port=42455 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7via-0004Fw-7I for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2008 13:08:40 -0400 Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5]:56163 helo=blingymail-a2.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K7via-0000yW-5w for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2008 13:08:40 -0400 Received: from jidanni1.jidanni.org (122-127-33-202.dynamic.hinet.net [122.127.33.202]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by blingymail-a2.g.dreamhost.com (Postfix) with ESMTP id 9C9FE404E6 for ; Sun, 15 Jun 2008 10:08:38 -0700 (PDT) To: bug-gnu-emacs@gnu.org Subject: switch-to-buffer too easy to create new buffers From: jidanni@jidanni.org Date: Sun, 15 Jun 2008 21:15:37 +0800 Message-ID: <878wx6zvnq.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Regarding C-x b runs the command switch-to-buffer If BUFFER does not identify an existing buffer, then this function creates a buffer with that name. Which 99% of the time is not what the non-pro user wants. He hardly ever wants to create new unnamed buffers, but instead switch to an existing buffer, unless he is a pro. So there perhaps should be a variable, default nil, that won't let him press RETURN unless he types an existing buffer name. True, pros will TAB around in the dark to make sure they have a match, but still... So now require C-u C-x b to allow creation of new buffers... ah yes. Oops, stepped on "&optional NORECORD". P.S., implementing my above training wheels proposal will surely mess up scripts, so perhaps only have it kick in if we detect we are typing into the minibuffer. Or mark "wontfix" quick now, see ya, bye. Or add a new function, switch-to-existing-buffer that can be bound to C-x b, with the C-u jazz to create new buffers... ------------=_1227177005-6635-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 419-done) by emacsbugs.donarmstrong.com; 20 Nov 2008 10:22:33 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mAKAMT6D005198 for <419-done@emacsbugs.donarmstrong.com>; Thu, 20 Nov 2008 02:22:31 -0800 Received: (qmail invoked by alias); 20 Nov 2008 10:22:23 -0000 Received: from 62-47-57-118.adsl.highway.telekom.at (EHLO [62.47.57.118]) [62.47.57.118] by mail.gmx.net (mp029) with SMTP; 20 Nov 2008 11:22:23 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+Xcc0RCjGXtfj0SSURGO2EgY/qmJbUUjSYHFQHJk hknAcmqr3ZonN4 Message-ID: <492539FA.6020805@gmx.at> Date: Thu, 20 Nov 2008 11:20:42 +0100 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: 419-done@emacsbugs.donarmstrong.com CC: Dan Jacobson Subject: Re: bug#419: switch-to-buffer too easy to create new buffers Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.76 Fixed as 2008-11-18 Stefan Monnier * files.el (confirm-nonexistent-file-or-buffer): Rename from find-file-confirm-nonexistent-file. (read-buffer-to-switch): Use it. Thanks for the report, martin ------------=_1227177005-6635-0--