all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* switch-to-buffer in minibuffer
@ 2008-08-06  2:38 Chong Yidong
  2008-08-06  7:33 ` Thien-Thi Nguyen
  2008-08-06  8:18 ` Lawrence Mitchell
  0 siblings, 2 replies; 4+ messages in thread
From: Chong Yidong @ 2008-08-06  2:38 UTC (permalink / raw)
  To: emacs-devel

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?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: switch-to-buffer in minibuffer
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Thien-Thi Nguyen @ 2008-08-06  7:33 UTC (permalink / raw)
  To: emacs-devel

() Chong Yidong <cyd@stupidchicken.com>
() Tue, 05 Aug 2008 22:38:15 -0400

   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?

The blurb should probably read:

     *** (Given enable-recursive-minibuffers non-nil) 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.

or similar.

thi




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: switch-to-buffer in minibuffer
  2008-08-06  2:38 switch-to-buffer in minibuffer Chong Yidong
  2008-08-06  7:33 ` Thien-Thi Nguyen
@ 2008-08-06  8:18 ` Lawrence Mitchell
  1 sibling, 0 replies; 4+ messages in thread
From: Lawrence Mitchell @ 2008-08-06  8:18 UTC (permalink / raw)
  To: emacs-devel

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>





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: switch-to-buffer in minibuffer
  2008-08-06  7:33 ` Thien-Thi Nguyen
@ 2008-08-06 19:15   ` Chong Yidong
  0 siblings, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2008-08-06 19:15 UTC (permalink / raw)
  To: Thien-Thi Nguyen; +Cc: emacs-devel

Thien-Thi Nguyen <ttn@gnuvola.org> writes:

> The blurb should probably read:
>
>      *** (Given enable-recursive-minibuffers non-nil) 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.
>
> or similar.

Thanks.  I've updated NEWS accordingly.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-06 19:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.