all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#64062: Emacs 29.0.91: With enable-recursive-minibuffers, C-x b foo splits the window.
@ 2023-06-14 10:35 Alan Mackenzie
  2023-06-14 10:42 ` Alan Mackenzie
  2023-06-14 10:58 ` Gregory Heytings
  0 siblings, 2 replies; 4+ messages in thread
From: Alan Mackenzie @ 2023-06-14 10:35 UTC (permalink / raw)
  To: 64062

In emacs-29.0.91:

emacs -Q
M-: (setq enable-recursive-minibuffers t)
M-x
C-x b foo

This creates the buffer foo, but erroneously splits the displayed window
and displays the new buffer in the right hand or bottom half of the
frame (depending on the frame's geometry).

The window should not be split, and the new buffer should occupy the
entirety of the original window.

-- 
Alan Mackenzie (Nuremberg, Germany).





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

* bug#64062: Emacs 29.0.91: With enable-recursive-minibuffers, C-x b foo splits the window.
  2023-06-14 10:35 bug#64062: Emacs 29.0.91: With enable-recursive-minibuffers, C-x b foo splits the window Alan Mackenzie
@ 2023-06-14 10:42 ` Alan Mackenzie
  2023-06-14 10:58 ` Gregory Heytings
  1 sibling, 0 replies; 4+ messages in thread
From: Alan Mackenzie @ 2023-06-14 10:42 UTC (permalink / raw)
  To: 64062

On Wed, Jun 14, 2023 at 10:35:07 +0000, Alan Mackenzie wrote:
> In emacs-29.0.91:

> emacs -Q
> M-: (setq enable-recursive-minibuffers t)
> M-x
> C-x b foo

Apologies: that last line should have read:

  C-x b foo RET.

> This creates the buffer foo, but erroneously splits the displayed window
> and displays the new buffer in the right hand or bottom half of the
> frame (depending on the frame's geometry).

> The window should not be split, and the new buffer should occupy the
> entirety of the original window.

> -- 
> Alan Mackenzie (Nuremberg, Germany).







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

* bug#64062: Emacs 29.0.91: With enable-recursive-minibuffers, C-x b foo splits the window.
  2023-06-14 10:35 bug#64062: Emacs 29.0.91: With enable-recursive-minibuffers, C-x b foo splits the window Alan Mackenzie
  2023-06-14 10:42 ` Alan Mackenzie
@ 2023-06-14 10:58 ` Gregory Heytings
  2023-06-14 11:46   ` Eli Zaretskii
  1 sibling, 1 reply; 4+ messages in thread
From: Gregory Heytings @ 2023-06-14 10:58 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: 64062


>
> emacs -Q
> M-: (setq enable-recursive-minibuffers t)
> M-x
> C-x b foo
>
> This creates the buffer foo, but erroneously splits the displayed window 
> and displays the new buffer in the right hand or bottom half of the 
> frame (depending on the frame's geometry).
>
> The window should not be split, and the new buffer should occupy the 
> entirety of the original window.
>

AFAICS, that's not a bug.  Emacs 25, 26, 27 and 28 behave the same 
(switch-to-buffer calls pop-to-buffer), and it makes sense to leave, by 
default, the buffer in which M-x was called visible.  You can customize 
that behavior with display-buffer-base-action.






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

* bug#64062: Emacs 29.0.91: With enable-recursive-minibuffers, C-x b foo splits the window.
  2023-06-14 10:58 ` Gregory Heytings
@ 2023-06-14 11:46   ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2023-06-14 11:46 UTC (permalink / raw)
  To: Gregory Heytings; +Cc: acm, 64062

> Cc: 64062@debbugs.gnu.org
> Date: Wed, 14 Jun 2023 10:58:39 +0000
> From: Gregory Heytings <gregory@heytings.org>
> 
> > emacs -Q
> > M-: (setq enable-recursive-minibuffers t)
> > M-x
> > C-x b foo
> >
> > This creates the buffer foo, but erroneously splits the displayed window 
> > and displays the new buffer in the right hand or bottom half of the 
> > frame (depending on the frame's geometry).
> >
> > The window should not be split, and the new buffer should occupy the 
> > entirety of the original window.
> 
> AFAICS, that's not a bug.  Emacs 25, 26, 27 and 28 behave the same 
> (switch-to-buffer calls pop-to-buffer), and it makes sense to leave, by 
> default, the buffer in which M-x was called visible.  You can customize 
> that behavior with display-buffer-base-action.

Indeed, I don't think this long-time behavior is a bug.  It's more
like a feature.





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

end of thread, other threads:[~2023-06-14 11:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-14 10:35 bug#64062: Emacs 29.0.91: With enable-recursive-minibuffers, C-x b foo splits the window Alan Mackenzie
2023-06-14 10:42 ` Alan Mackenzie
2023-06-14 10:58 ` Gregory Heytings
2023-06-14 11:46   ` Eli Zaretskii

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.