From unknown Sat Sep 06 09:27:52 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8936 <8936@debbugs.gnu.org> To: bug#8936 <8936@debbugs.gnu.org> Subject: Status: 24.0.50; Incompatible change in the meaning of "other window" Reply-To: bug#8936 <8936@debbugs.gnu.org> Date: Sat, 06 Sep 2025 16:27:52 +0000 retitle 8936 24.0.50; Incompatible change in the meaning of "other window" reassign 8936 emacs submitter 8936 Bob Rogers severity 8936 normal tag 8936 unreproducible thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 18:27:53 2011 Received: (at submit) by debbugs.gnu.org; 25 Jun 2011 22:27:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QabKT-00082p-5j for submit@debbugs.gnu.org; Sat, 25 Jun 2011 18:27:53 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QabKR-00082d-FK for submit@debbugs.gnu.org; Sat, 25 Jun 2011 18:27:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QabKK-0004pQ-Ub for submit@debbugs.gnu.org; Sat, 25 Jun 2011 18:27:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:42184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QabKK-0004pL-Mn for submit@debbugs.gnu.org; Sat, 25 Jun 2011 18:27:44 -0400 Received: from eggs.gnu.org ([140.186.70.92]:38268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QabKJ-0007XS-8n for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2011 18:27:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QabKH-0004p9-BP for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2011 18:27:42 -0400 Received: from rgrjr.com ([216.146.47.5]:54650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QabKG-0004oz-Sh for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2011 18:27:41 -0400 Received: from rgrjr.dyndns.org (c-66-30-196-77.hsd1.ma.comcast.net [66.30.196.77]) by rgrjr.com (Postfix on CentOS) with ESMTP id 51EFF16025D for ; Sat, 25 Jun 2011 22:27:39 +0000 (UTC) Received: (qmail 20139 invoked by uid 89); 25 Jun 2011 22:27:38 -0000 Received: from unknown (HELO rgr.rgrjr.com) (192.168.57.1) by home with SMTP; 25 Jun 2011 22:27:38 -0000 Received: by rgr.rgrjr.com (Postfix, from userid 500) id 70073A4AF2; Sat, 25 Jun 2011 18:27:38 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19974.24793.979873.787090@rgr.rgrjr.com> Date: Sat, 25 Jun 2011 18:27:37 -0400 From: Bob Rogers To: bug-gnu-emacs@gnu.org Subject: 24.0.50; Incompatible change in the meaning of "other window" X-Mailer: VM 7.19 under Emacs 24.0.50.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.8 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) The problem is that C-x 4 b now creates a new frame to display the buffer, instead of creating or reusing a window in the current frame. This can be reproduced by typing "C-x 4 b" as the first thing in a fresh "emacs -Q"; you will see the *Messages* buffer opened in a new frame. This is in emacs trunk via git last updated today at 21:59:08 UTC. -- Bob Rogers http://www.rgrjr.com/ From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 05:29:23 2011 Received: (at 8936) by debbugs.gnu.org; 26 Jun 2011 09:29:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qalec-0005uM-Ri for submit@debbugs.gnu.org; Sun, 26 Jun 2011 05:29:23 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Qaleb-0005uA-3x for 8936@debbugs.gnu.org; Sun, 26 Jun 2011 05:29:22 -0400 Received: (qmail invoked by alias); 26 Jun 2011 09:29:14 -0000 Received: from 62-47-38-195.adsl.highway.telekom.at (EHLO [62.47.38.195]) [62.47.38.195] by mail.gmx.net (mp059) with SMTP; 26 Jun 2011 11:29:14 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX182YGkrURw29NidznrS0CcdzRKKgkmtZrGPCNwcOF pQdo75Bxgc9l12 Message-ID: <4E06FBEA.6010202@gmx.at> Date: Sun, 26 Jun 2011 11:29:14 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Bob Rogers Subject: Re: bug#8936: 24.0.50; Incompatible change in the meaning of "other window" References: <19974.24793.979873.787090@rgr.rgrjr.com> In-Reply-To: <19974.24793.979873.787090@rgr.rgrjr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 8936 Cc: 8936@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) > The problem is that C-x 4 b now creates a new frame to display the > buffer, instead of creating or reusing a window in the current frame. > This can be reproduced by typing "C-x 4 b" as the first thing in a fresh > "emacs -Q"; you will see the *Messages* buffer opened in a new frame. > > This is in emacs trunk via git last updated today at 21:59:08 UTC. Here a new window pops up. Could you please step through the functions `display-buffer-pop-up-window', `display-buffer-split-window' and `display-buffer-split-window-1' to find out why splitting a window fails on your system? If Emacs can't split a window I currently make a new frame because the doc-string of `switch-to-buffer-other-window' explicitly says that "The selected window will be used only if there is no other choice" and making a new frame _is_ another choice. If people think that reusing the selected window is a better choice I can easily do that. Thanks, martin From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 06:54:31 2011 Received: (at 8936) by debbugs.gnu.org; 26 Jun 2011 10:54:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qamz1-00041i-JE for submit@debbugs.gnu.org; Sun, 26 Jun 2011 06:54:31 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qamyv-00041Q-Ly for 8936@debbugs.gnu.org; Sun, 26 Jun 2011 06:54:30 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Qamyp-0000CF-OT; Sun, 26 Jun 2011 06:54:19 -0400 Date: Sun, 26 Jun 2011 06:54:19 -0400 Message-Id: From: Eli Zaretskii To: martin rudalics In-reply-to: <4E06FBEA.6010202@gmx.at> (message from martin rudalics on Sun, 26 Jun 2011 11:29:14 +0200) Subject: Re: bug#8936: 24.0.50; Incompatible change in the meaning of "other window" References: <19974.24793.979873.787090@rgr.rgrjr.com> <4E06FBEA.6010202@gmx.at> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 8936 Cc: 8936@debbugs.gnu.org, rogers-emacs@rgrjr.dyndns.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > Date: Sun, 26 Jun 2011 11:29:14 +0200 > From: martin rudalics > Cc: 8936@debbugs.gnu.org > > If Emacs can't split a window I currently make a new frame because the > doc-string of `switch-to-buffer-other-window' explicitly says that "The > selected window will be used only if there is no other choice" and > making a new frame _is_ another choice. If people think that reusing > the selected window is a better choice I can easily do that. What could possibly prevent Emacs from splitting the current window in two? Only dimensions, or are there other reasons? From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 08:12:22 2011 Received: (at 8936) by debbugs.gnu.org; 26 Jun 2011 12:12:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QaoCL-000169-Az for submit@debbugs.gnu.org; Sun, 26 Jun 2011 08:12:21 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QaoCJ-00015u-DV for 8936@debbugs.gnu.org; Sun, 26 Jun 2011 08:12:20 -0400 Received: (qmail invoked by alias); 26 Jun 2011 12:12:13 -0000 Received: from 62-47-38-149.adsl.highway.telekom.at (EHLO [62.47.38.149]) [62.47.38.149] by mail.gmx.net (mp020) with SMTP; 26 Jun 2011 14:12:13 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19Fo85NYJJFNx94IsuZ1LgOXK3+bmkTtykAb0b1Sd WEWLyqfP8OBIW3 Message-ID: <4E07221C.9060704@gmx.at> Date: Sun, 26 Jun 2011 14:12:12 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#8936: 24.0.50; Incompatible change in the meaning of "other window" References: <19974.24793.979873.787090@rgr.rgrjr.com> <4E06FBEA.6010202@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 8936 Cc: 8936@debbugs.gnu.org, rogers-emacs@rgrjr.dyndns.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) > What could possibly prevent Emacs from splitting the current window in > two? Only dimensions, or are there other reasons? With emacs -Q it's only the dimensions. martin From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 08:42:19 2011 Received: (at 8936) by debbugs.gnu.org; 26 Jun 2011 12:42:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QaofK-0003Jw-Ro for submit@debbugs.gnu.org; Sun, 26 Jun 2011 08:42:19 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QaofE-0003Jd-LR for 8936@debbugs.gnu.org; Sun, 26 Jun 2011 08:42:17 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Qaof8-0008Nq-TN; Sun, 26 Jun 2011 08:42:06 -0400 Date: Sun, 26 Jun 2011 08:42:06 -0400 Message-Id: From: Eli Zaretskii To: martin rudalics In-reply-to: <4E07221C.9060704@gmx.at> (message from martin rudalics on Sun, 26 Jun 2011 14:12:12 +0200) Subject: Re: bug#8936: 24.0.50; Incompatible change in the meaning of "other window" References: <19974.24793.979873.787090@rgr.rgrjr.com> <4E06FBEA.6010202@gmx.at> <4E07221C.9060704@gmx.at> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 8936 Cc: 8936@debbugs.gnu.org, rogers-emacs@rgrjr.dyndns.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > Date: Sun, 26 Jun 2011 14:12:12 +0200 > From: martin rudalics > CC: rogers-emacs@rgrjr.dyndns.org, 8936@debbugs.gnu.org > > > What could possibly prevent Emacs from splitting the current window in > > two? Only dimensions, or are there other reasons? > > With emacs -Q it's only the dimensions. I would consider making the another-frame behavior an option, then. I think I would be more surprised to see a new frame than to have the same window reused, if my current frame is so tiny. YMMV, of course (and I do see the rationale behind your design decision). From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 08:47:49 2011 Received: (at 8936) by debbugs.gnu.org; 26 Jun 2011 12:47:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qaokf-0004Cx-05 for submit@debbugs.gnu.org; Sun, 26 Jun 2011 08:47:49 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Qaokc-0004Ck-1q for 8936@debbugs.gnu.org; Sun, 26 Jun 2011 08:47:47 -0400 Received: (qmail invoked by alias); 26 Jun 2011 12:47:40 -0000 Received: from 62-47-38-149.adsl.highway.telekom.at (EHLO [62.47.38.149]) [62.47.38.149] by mail.gmx.net (mp053) with SMTP; 26 Jun 2011 14:47:40 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/4pyI4O3b4y84QwKVWl6k54HMu8wt9p5HnNDbAQL 2yW97obE0ey3e9 Message-ID: <4E072A6B.8040302@gmx.at> Date: Sun, 26 Jun 2011 14:47:39 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#8936: 24.0.50; Incompatible change in the meaning of "other window" References: <19974.24793.979873.787090@rgr.rgrjr.com> <4E06FBEA.6010202@gmx.at> <4E07221C.9060704@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 8936 Cc: 8936@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) > I would consider making the another-frame behavior an option, then. > I think I would be more surprised to see a new frame than to have the > same window reused, if my current frame is so tiny. YMMV, of course > (and I do see the rationale behind your design decision). OK. But I first have to understand why Bob's Emacs doesn't pop up a new window in the first place. martin From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 05 20:33:36 2011 Received: (at 8936) by debbugs.gnu.org; 6 Jul 2011 00:33:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeG3b-0002pH-8f for submit@debbugs.gnu.org; Tue, 05 Jul 2011 20:33:35 -0400 Received: from rgrjr.com ([216.146.47.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeG3Z-0002p3-Nk for 8936@debbugs.gnu.org; Tue, 05 Jul 2011 20:33:34 -0400 Received: from rgrjr.dyndns.org (c-66-30-196-77.hsd1.ma.comcast.net [66.30.196.77]) by rgrjr.com (Postfix on CentOS) with ESMTP id 0261E16026D for <8936@debbugs.gnu.org>; Wed, 6 Jul 2011 00:33:27 +0000 (UTC) Received: (qmail 28458 invoked by uid 89); 6 Jul 2011 00:33:27 -0000 Received: from unknown (HELO rgr.rgrjr.com) (192.168.57.1) by home with SMTP; 6 Jul 2011 00:33:27 -0000 Received: by rgr.rgrjr.com (Postfix, from userid 500) id 0478AA4AF2; Tue, 5 Jul 2011 20:33:26 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19987.44374.513919.24697@rgr.rgrjr.com> Date: Tue, 5 Jul 2011 20:33:26 -0400 From: Bob Rogers To: martin rudalics Subject: Re: bug#8936: 24.0.50; Incompatible change in the meaning of "other window" In-Reply-To: <4E06FBEA.6010202@gmx.at> References: <19974.24793.979873.787090@rgr.rgrjr.com> <4E06FBEA.6010202@gmx.at> X-Mailer: VM 7.19 under Emacs 24.0.50.1 X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 8936 Cc: 8936@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) From: martin rudalics Date: Sun, 26 Jun 2011 11:29:14 +0200 > The problem is that C-x 4 b now creates a new frame to display the > buffer, instead of creating or reusing a window in the current frame. > This can be reproduced by typing "C-x 4 b" as the first thing in a fresh > "emacs -Q"; you will see the *Messages* buffer opened in a new frame. > > This is in emacs trunk via git last updated today at 21:59:08 UTC. Here a new window pops up . . . I updated again via git at 5-Jul-11 23:51 UTC, and can no longer reproduce this behavior; C-x 4 b seems to work as it always has. Thanks for investigating. If Emacs can't split a window I currently make a new frame because the doc-string of `switch-to-buffer-other-window' explicitly says that "The selected window will be used only if there is no other choice" and making a new frame _is_ another choice. If people think that reusing the selected window is a better choice I can easily do that. Thanks, martin I have no opinion; I rarely use more than two windows per frame, so there's plenty of room. Thanks again, -- Bob Rogers From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 22 16:08:33 2011 Received: (at control) by debbugs.gnu.org; 22 Jul 2011 20:08:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QkM1K-0001hN-P4 for submit@debbugs.gnu.org; Fri, 22 Jul 2011 16:08:33 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QkM1G-0001gj-7a for control@debbugs.gnu.org; Fri, 22 Jul 2011 16:08:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QkM1A-0005KK-T9 for control@debbugs.gnu.org; Fri, 22 Jul 2011 16:08:17 -0400 Date: Fri, 22 Jul 2011 16:08:16 -0400 Message-Id: Subject: control message for bug 8936 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) close 8936 From unknown Sat Sep 06 09:27:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 20 Aug 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator