From: Lawrence Mitchell <wence@gmx.li>
To: emacs-devel@gnu.org
Subject: Re: switch-to-buffer in minibuffer
Date: Wed, 06 Aug 2008 09:18:49 +0100 [thread overview]
Message-ID: <?fnord?y3h6r69236ae.fsf@ID-97657.user.individual.net> (raw)
In-Reply-To: 87hc9yvpew.fsf@stupidchicken.com
Chong Yidong wrote:
> Regarding this item in etc/NEWS:
> *** Operations like C-x b and C-x C-f, which use switch-to-buffer, do
> not fail any more when used in a minibuffer or a dedicated window.
> Instead, they fallback on using pop-to-buffer, which will use some
> other window.
> What does this mean? Naively, it seems to be saying that
> C-x C-f C-x C-f will do something new, but it instead gives the same
> error as previous versions of Emacs ("attempted to use minibuffer while
> minibuffer is active"). So what's this about?
If enable-recursive-minibuffers is t, then the following sequence
of commands works in 23:
emacs -Q --eval '(setq enable-recursive-minibuffers t)'
C-x b *foo*
C-x b *bar* RET
*bar* is displayed as a new buffer in a vertically split window
with *scratch* and the minibuffer continues to prompt to switch
to a buffer *foo*.
Previously, the sequence would result in "Cannot switch buffers
in minibuffer window"
Lawrence
--
Lawrence Mitchell <wence@gmx.li>
prev parent reply other threads:[~2008-08-06 8:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-06 2:38 switch-to-buffer in minibuffer Chong Yidong
2008-08-06 7:33 ` Thien-Thi Nguyen
2008-08-06 19:15 ` Chong Yidong
2008-08-06 8:18 ` Lawrence Mitchell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='?fnord?y3h6r69236ae.fsf@ID-97657.user.individual.net' \
--to=wence@gmx.li \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.