From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#64062: Emacs 29.0.91: With enable-recursive-minibuffers, C-x b foo splits the window. Date: Wed, 14 Jun 2023 10:58:39 +0000 Message-ID: <42ff58c7e86104bcce30@heytings.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39152"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64062@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 14 12:59:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q9ODb-0009xl-DZ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Jun 2023 12:59:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9ODR-0005rR-0x; Wed, 14 Jun 2023 06:59:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9ODO-0005r9-O8 for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 06:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9ODO-0002Ez-Fe for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 06:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9ODN-00065i-TO for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 06:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Jun 2023 10:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64062 X-GNU-PR-Package: emacs Original-Received: via spool by 64062-submit@debbugs.gnu.org id=B64062.168674032523391 (code B ref 64062); Wed, 14 Jun 2023 10:59:01 +0000 Original-Received: (at 64062) by debbugs.gnu.org; 14 Jun 2023 10:58:45 +0000 Original-Received: from localhost ([127.0.0.1]:43832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9OD6-00065D-RJ for submit@debbugs.gnu.org; Wed, 14 Jun 2023 06:58:45 -0400 Original-Received: from heytings.org ([95.142.160.155]:43218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9OD3-000651-IZ for 64062@debbugs.gnu.org; Wed, 14 Jun 2023 06:58:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1686740320; bh=leafB2qpXhFdmGnijQ5Jz96frTqUXHZo+MpPKQD2hUk=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=19uoJNZ0bqW4u7/nDSgm9PTIiPgr7JJzC/eST9FUAr48QyiE7qvcEG71r4I4XxXd6 tQ47HdT5OUgQsR+EZG/c1H8Jhe3mntGMwr6Z+SAUHWX12pyg4cV5CpDTJ44jzFHBDa 5+N4jpxLGGYqa8aCa3h9VPMbo0MgfCC0SmDBYrvoCSrguROd6/Q01I8BeHrmSqSoUS qL3WSzvaDaZ836Hc5KuH91tcGgv35il9QodJ76Hh3DEAsQzxVJD21A3UIqN+sfraec Jq9bh4JzwR8YUAB4mj3EAsN+bwlqKgViC3iCwT/B+PEV5+XqWyFKnjyGYOSbCP4lu6 zX+zDfcyO7Leg== In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263359 Archived-At: > > 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.