emacs-devel
[Top][All Lists]
Advanced

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

Re: switch-to-buffer in minibuffer


From: Lawrence Mitchell
Subject: Re: switch-to-buffer in minibuffer
Date: Wed, 06 Aug 2008 09:18:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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 <address@hidden>





reply via email to

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