* bug#419: marked as done (switch-to-buffer too easy to create new buffers)
2008-06-15 13:15 ` bug#419: switch-to-buffer too easy to create new buffers jidanni
@ 2008-11-20 10:30 ` Emacs bug Tracking System
0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2008-11-20 10:30 UTC (permalink / raw)
To: martin rudalics
[-- Attachment #1: Type: text/plain, Size: 859 bytes --]
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 buffers
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.)
--
419: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=419
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 2925 bytes --]
From: jidanni@jidanni.org
To: bug-gnu-emacs@gnu.org
Subject: switch-to-buffer too easy to create new buffers
Date: Sun, 15 Jun 2008 21:15:37 +0800
Message-ID: <878wx6zvnq.fsf@jidanni.org>
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...
[-- Attachment #3: Type: message/rfc822, Size: 1558 bytes --]
From: martin rudalics <rudalics@gmx.at>
To: 419-done@emacsbugs.donarmstrong.com
Cc: Dan Jacobson <jidanni@jidanni.org>
Subject: Re: bug#419: switch-to-buffer too easy to create new buffers
Date: Thu, 20 Nov 2008 11:20:42 +0100
Message-ID: <492539FA.6020805@gmx.at>
Fixed as
2008-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
* 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
^ permalink raw reply [flat|nested] 2+ messages in thread