bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#419: marked as done (switch-to-buffer too easy to create new buffer


From: Emacs bug Tracking System
Subject: bug#419: marked as done (switch-to-buffer too easy to create new buffers)
Date: Thu, 20 Nov 2008 02:30:05 -0800

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
--- Begin Message --- Subject: switch-to-buffer too easy to create new buffers Date: Sun, 15 Jun 2008 21:15:37 +0800
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...




--- End Message ---
--- Begin Message --- Subject: Re: bug#419: switch-to-buffer too easy to create new buffers Date: Thu, 20 Nov 2008 11:20:42 +0100 User-agent: Thunderbird 2.0.0.16 (Windows/20080708)
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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]