From unknown Sun Jun 15 13:02:18 2025 X-Loop: don@donarmstrong.com Subject: bug#888: 23.0.60; window height 2 too small (after splitting) Reply-To: "Drew Adams" , 888@debbugs.gnu.org Resent-From: "Drew Adams" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 04 Sep 2008 16:35:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 888 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122054568424438 (code B ref -1); Thu, 04 Sep 2008 16:35:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Sep 2008 16:28:04 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m84GRwxd024427 for ; Thu, 4 Sep 2008 09:27:59 -0700 Received: from mail.gnu.org ([199.232.76.166]:56462 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KbHf0-0000sh-7c for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 12:26:18 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KbHgY-0001jO-5J for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 12:27:57 -0400 Received: from rgminet01.oracle.com ([148.87.113.118]:33295) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KbHgX-0001j2-Qb for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 12:27:54 -0400 Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m84GRlnl016327 for ; Thu, 4 Sep 2008 10:27:48 -0600 Received: from acsmt702.oracle.com (acsmt702.oracle.com [141.146.40.80]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m84GRiiA012378 for ; Thu, 4 Sep 2008 10:27:46 -0600 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 04 Sep 2008 09:27:44 -0700 From: "Drew Adams" To: Date: Thu, 4 Sep 2008 09:27:53 -0700 Message-ID: <00e801c90eab$2ebdffd0$c2b22382@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Thread-Index: AckOqy5qaiB/2w0iSyO5Z3ZeLENh/A== X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 emacs -Q Manually resize the frame so that it is only a few lines high. Do almost anything that would normally display another buffer, whether in the same window or by splitting the window. For example, do C-h f display buffer or do C-x C-b. You get an error message with the subject line, and no buffer is displayed. In fact, I tried to send a bug report with the same small frame size, and the *mail* buffer got filled with (only) the error message. This is worse than useless, and represents a regression. If the window cannot be split for some reason, then Emacs should do as it did before: either use the same window or create a new frame. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-08-29 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' From unknown Sun Jun 15 13:02:18 2025 X-Loop: don@donarmstrong.com Subject: bug#888: 23.0.60; window height 2 too small (after splitting) Reply-To: martin rudalics , 888@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 04 Sep 2008 17:50:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 888 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 888-submit@emacsbugs.donarmstrong.com id=B888.122055013318926 (code B ref 888); Thu, 04 Sep 2008 17:50:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 888) by emacsbugs.donarmstrong.com; 4 Sep 2008 17:42:13 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m84Hg9Fq018916 for <888@emacsbugs.donarmstrong.com>; Thu, 4 Sep 2008 10:42:10 -0700 Received: (qmail invoked by alias); 04 Sep 2008 17:42:03 -0000 Received: from 62-47-55-147.adsl.highway.telekom.at (EHLO [62.47.55.147]) [62.47.55.147] by mail.gmx.net (mp043) with SMTP; 04 Sep 2008 19:42:03 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+QdMUaBuOQSH9Z3MOHF8/IyUiCZkHq0DaasjCS7Z R36haljNdFuNDk Message-ID: <48C01D61.3050207@gmx.at> Date: Thu, 04 Sep 2008 19:39:45 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Drew Adams CC: 888@debbugs.gnu.org References: <00e801c90eab$2ebdffd0$c2b22382@us.oracle.com> In-Reply-To: <00e801c90eab$2ebdffd0$c2b22382@us.oracle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.77 > emacs -Q > > Manually resize the frame so that it is only a few lines high. > > Do almost anything that would normally display another buffer, whether > in the same window or by splitting the window. For example, do C-h f > display buffer or do C-x C-b. > > You get an error message with the subject line, and no buffer is > displayed. In fact, I tried to send a bug report with the same small > frame size, and the *mail* buffer got filled with (only) the error > message. > > This is worse than useless, and represents a regression. If the window > cannot be split for some reason, then Emacs should do as it did > before: either use the same window or create a new frame. Sorry. I have to wrap this part in a condition-case. `split-window' is too severe here. Thanks for the report! martin From unknown Sun Jun 15 13:02:18 2025 X-Loop: don@donarmstrong.com Subject: bug#888: 23.0.60; window height 2 too small (after splitting) Reply-To: martin rudalics , 888@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 05 Sep 2008 07:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 888 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 888-submit@emacsbugs.donarmstrong.com id=B888.122059952313578 (code B ref 888); Fri, 05 Sep 2008 07:30:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 888) by emacsbugs.donarmstrong.com; 5 Sep 2008 07:25:23 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m857PIOI013173 for <888@emacsbugs.donarmstrong.com>; Fri, 5 Sep 2008 00:25:20 -0700 Received: (qmail invoked by alias); 05 Sep 2008 07:25:12 -0000 Received: from 62-47-60-109.adsl.highway.telekom.at (EHLO [62.47.60.109]) [62.47.60.109] by mail.gmx.net (mp025) with SMTP; 05 Sep 2008 09:25:12 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+A1kYRl1aAii+dLQSVUVVL+Z+GvzKLfkD+3TSNYW Nkj7Fi+7BwnNEz Message-ID: <48C0DE4E.5010301@gmx.at> Date: Fri, 05 Sep 2008 09:22:54 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Drew Adams CC: 888@debbugs.gnu.org References: <00e801c90eab$2ebdffd0$c2b22382@us.oracle.com> In-Reply-To: <00e801c90eab$2ebdffd0$c2b22382@us.oracle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.79 > Manually resize the frame so that it is only a few lines high. > > Do almost anything that would normally display another buffer, whether > in the same window or by splitting the window. For example, do C-h f > display buffer or do C-x C-b. > > You get an error message with the subject line, and no buffer is > displayed. In fact, I tried to send a bug report with the same small > frame size, and the *mail* buffer got filled with (only) the error > message. > > This is worse than useless, and represents a regression. If the window > cannot be split for some reason, then Emacs should do as it did > before: either use the same window or create a new frame. I checked in a fix. Please try again. martin From unknown Sun Jun 15 13:02:18 2025 X-Loop: don@donarmstrong.com Subject: bug#888: 23.0.60; window height 2 too small (after splitting) Reply-To: "Drew Adams" , 888@debbugs.gnu.org Resent-From: "Drew Adams" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 05 Sep 2008 07:35:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 888 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 888-submit@emacsbugs.donarmstrong.com id=B888.122059962013795 (code B ref 888); Fri, 05 Sep 2008 07:35:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.0 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 888) by emacsbugs.donarmstrong.com; 5 Sep 2008 07:27:00 +0000 Received: from rgminet01.oracle.com (rgminet01.oracle.com [148.87.113.118]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m857QvUF013789 for <888@emacsbugs.donarmstrong.com>; Fri, 5 Sep 2008 00:26:58 -0700 Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m857Qoln004971; Fri, 5 Sep 2008 01:26:50 -0600 Received: from acsmt704.oracle.com (acsmt704.oracle.com [141.146.40.82]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m857QnkK024441; Fri, 5 Sep 2008 01:26:50 -0600 Received: from dradamslap1 (/141.144.90.11) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 05 Sep 2008 00:26:49 -0700 From: "Drew Adams" To: "'martin rudalics'" Cc: <888@debbugs.gnu.org> References: <00e801c90eab$2ebdffd0$c2b22382@us.oracle.com> <48C0DE4E.5010301@gmx.at> Date: Fri, 5 Sep 2008 00:26:49 -0700 Message-ID: <000501c90f28$c2d95020$0200a8c0@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AckPKJUEZ32YqCHTQiO5OvjVQyoTDwAABKpQ In-Reply-To: <48C0DE4E.5010301@gmx.at> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE > > Manually resize the frame so that it is only a few lines high. > > > > Do almost anything that would normally display another > buffer, whether > > in the same window or by splitting the window. For example, do C-h f > > display buffer or do C-x C-b. > > > > You get an error message with the subject line, and no buffer is > > displayed. In fact, I tried to send a bug report with the same small > > frame size, and the *mail* buffer got filled with (only) the error > > message. > > > > This is worse than useless, and represents a regression. If > > the window cannot be split for some reason, then Emacs should do as it did > > before: either use the same window or create a new frame. > > I checked in a fix. Please try again. I can't until I get another Windows binary - probably in about a month. But I'm sure you DTRT - thanks! From unknown Sun Jun 15 13:02:18 2025 X-Loop: don@donarmstrong.com Subject: bug#888: 23.0.60; window height 2 too small (after splitting) Reply-To: martin rudalics , 888@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 05 Sep 2008 07:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 888 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 888-submit@emacsbugs.donarmstrong.com id=B888.122060004515702 (code B ref 888); Fri, 05 Sep 2008 07:40:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 888) by emacsbugs.donarmstrong.com; 5 Sep 2008 07:34:05 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m857Y1oX015696 for <888@emacsbugs.donarmstrong.com>; Fri, 5 Sep 2008 00:34:02 -0700 Received: (qmail invoked by alias); 05 Sep 2008 07:33:56 -0000 Received: from 62-47-60-109.adsl.highway.telekom.at (EHLO [62.47.60.109]) [62.47.60.109] by mail.gmx.net (mp033) with SMTP; 05 Sep 2008 09:33:56 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/eJ9ovE5neiwNzEf0r1xEWr0WdKhjdRMVhhbdTkE ib/IHtLu9BdQAQ Message-ID: <48C0E059.4050100@gmx.at> Date: Fri, 05 Sep 2008 09:31:37 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Drew Adams CC: 888@debbugs.gnu.org References: <00e801c90eab$2ebdffd0$c2b22382@us.oracle.com> <48C0DE4E.5010301@gmx.at> <000501c90f28$c2d95020$0200a8c0@us.oracle.com> In-Reply-To: <000501c90f28$c2d95020$0200a8c0@us.oracle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 > I can't until I get another Windows binary - probably in about a month. But I'm > sure you DTRT - thanks! Why wait? All you have to do is put an `and' before the penultimate line in `window--try-to-split-window' like this (modulo some mangled tabs): ;; If WINDOW is the only window on its frame and not the ;; minibuffer window, attempt to split it vertically ;; disregarding the value of `split-height-threshold'. (let ((split-height-threshold 0)) (and (window--splittable-p window) (split-window window)))))))) martin From unknown Sun Jun 15 13:02:18 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Drew Adams" Subject: bug#888 closed by martin rudalics (Re: bug#888: 23.0.60; window height 2 too small (after splitting)) Message-ID: References: <48C3A759.3080000@gmx.at> <00e801c90eab$2ebdffd0$c2b22382@us.oracle.com> X-Emacs-PR-Message: they-closed 888 X-Emacs-PR-Package: emacs Reply-To: 888@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1220783406-11451-1" This is a multi-part message in MIME format... ------------=_1220783406-11451-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #888: 23.0.60; window height 2 too small (after splitting) It has been closed by martin rudalics . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact martin rudalics by replying to this email. --=20 888: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D888 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1220783406-11451-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From rudalics@gmx.at Sun Sep 7 03:23:30 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 888-done) by emacsbugs.donarmstrong.com; 7 Sep 2008 10:23:30 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m87ANQkm009272 for <888-done@emacsbugs.donarmstrong.com>; Sun, 7 Sep 2008 03:23:28 -0700 Received: (qmail invoked by alias); 07 Sep 2008 10:23:21 -0000 Received: from 62-47-37-223.adsl.highway.telekom.at (EHLO [62.47.37.223]) [62.47.37.223] by mail.gmx.net (mp003) with SMTP; 07 Sep 2008 12:23:21 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18VpeguDNcVFfz5jG0EXMwZ/00v8uJdkaDP+JjvS8 z1wPq1/Ux+6Uyt Message-ID: <48C3A759.3080000@gmx.at> Date: Sun, 07 Sep 2008 12:05:13 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: 888-done@debbugs.gnu.org CC: "Drew Adams" Subject: Re: bug#888: 23.0.60; window height 2 too small (after splitting) Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.74 Fixed as 2008-09-05 Martin Rudalics * window.el (window--try-to-split-window): Don't split when window is not splittable in last disjunct. (Bug#888) Thanks ------------=_1220783406-11451-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From drew.adams@oracle.com Thu Sep 4 09:28:04 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Sep 2008 16:28:04 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m84GRwxd024427 for ; Thu, 4 Sep 2008 09:27:59 -0700 Received: from mail.gnu.org ([199.232.76.166]:56462 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KbHf0-0000sh-7c for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 12:26:18 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KbHgY-0001jO-5J for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 12:27:57 -0400 Received: from rgminet01.oracle.com ([148.87.113.118]:33295) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KbHgX-0001j2-Qb for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 12:27:54 -0400 Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m84GRlnl016327 for ; Thu, 4 Sep 2008 10:27:48 -0600 Received: from acsmt702.oracle.com (acsmt702.oracle.com [141.146.40.80]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m84GRiiA012378 for ; Thu, 4 Sep 2008 10:27:46 -0600 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 04 Sep 2008 09:27:44 -0700 From: "Drew Adams" To: Subject: 23.0.60; window height 2 too small (after splitting) Date: Thu, 4 Sep 2008 09:27:53 -0700 Message-ID: <00e801c90eab$2ebdffd0$c2b22382@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Thread-Index: AckOqy5qaiB/2w0iSyO5Z3ZeLENh/A== X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 emacs -Q Manually resize the frame so that it is only a few lines high. Do almost anything that would normally display another buffer, whether in the same window or by splitting the window. For example, do C-h f display buffer or do C-x C-b. You get an error message with the subject line, and no buffer is displayed. In fact, I tried to send a bug report with the same small frame size, and the *mail* buffer got filled with (only) the error message. This is worse than useless, and represents a regression. If the window cannot be split for some reason, then Emacs should do as it did before: either use the same window or create a new frame. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-08-29 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' ------------=_1220783406-11451-1-- From unknown Sun Jun 15 13:02:18 2025 X-Loop: don@donarmstrong.com Subject: bug#888: 23.0.60; window height 2 too small (after splitting) Reply-To: "Drew Adams" , 888@debbugs.gnu.org Resent-From: "Drew Adams" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 07 Sep 2008 14:15:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 888 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 888-submit@emacsbugs.donarmstrong.com id=B888.122079647925485 (code B ref 888); Sun, 07 Sep 2008 14:15:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.1 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 888) by emacsbugs.donarmstrong.com; 7 Sep 2008 14:07:59 +0000 Received: from rgminet01.oracle.com (rgminet01.oracle.com [148.87.113.118]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m87E7txk025445 for <888@emacsbugs.donarmstrong.com>; Sun, 7 Sep 2008 07:07:56 -0700 Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m87E7no1015215; Sun, 7 Sep 2008 08:07:49 -0600 Received: from acsmt702.oracle.com (acsmt702.oracle.com [141.146.40.80]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m87E7mmW010858; Sun, 7 Sep 2008 08:07:48 -0600 Received: from dradamslap1 (/24.23.165.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 07 Sep 2008 07:07:48 -0700 From: "Drew Adams" To: "'martin rudalics'" Cc: <888@debbugs.gnu.org> References: <00e801c90eab$2ebdffd0$c2b22382@us.oracle.com> <48C0DE4E.5010301@gmx.at> <000501c90f28$c2d95020$0200a8c0@us.oracle.com> <48C0E059.4050100@gmx.at> Date: Sun, 7 Sep 2008 07:07:48 -0700 Message-ID: <000001c910f3$1c781960$0200a8c0@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <48C0E059.4050100@gmx.at> Thread-Index: AckPKejD6Ei0FcxBS0K+kobskj00YwByOxyQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE Yes, thanks. It works now. - Drew > put an `and' before the penultimate line in `window--try-to-split-window' > like this (modulo some mangled tabs): > > ;; If WINDOW is the only window on its frame and not the > ;; minibuffer window, attempt to split it vertically > ;; disregarding the value of `split-height-threshold'. > (let ((split-height-threshold 0)) > (and (window--splittable-p window) > (split-window window))))))))