From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#888: 23.0.60; window height 2 too small (after splitting) Date: Fri, 05 Sep 2008 09:31:37 +0200 Message-ID: <48C0E059.4050100@gmx.at> References: <00e801c90eab$2ebdffd0$c2b22382@us.oracle.com> <48C0DE4E.5010301@gmx.at> <000501c90f28$c2d95020$0200a8c0@us.oracle.com> Reply-To: martin rudalics , 888@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220600878 20156 80.91.229.12 (5 Sep 2008 07:47:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Sep 2008 07:47:58 +0000 (UTC) Cc: 888@emacsbugs.donarmstrong.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 05 09:48:52 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KbW3l-0003Du-Ke for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Sep 2008 09:48:49 +0200 Original-Received: from localhost ([127.0.0.1]:51763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbW2l-0002l6-U8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Sep 2008 03:47:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbW2h-0002kt-DN for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 03:47:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbW2f-0002kd-1L for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 03:47:43 -0400 Original-Received: from [199.232.76.173] (port=46743 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbW2e-0002ka-Qq for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 03:47:40 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:42668) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KbW2e-00045I-Fe for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 03:47:40 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbW2d-0007FE-El for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 03:47:39 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m857lVoc020535; Fri, 5 Sep 2008 00:47:31 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m857e5si017624; Fri, 5 Sep 2008 00:40:05 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@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: Original-Received: via spool by 888-submit@emacsbugs.donarmstrong.com id=B888.122060004515702 (code B ref 888); Fri, 05 Sep 2008 07:40:04 +0000 Original-Received: (at 888) by emacsbugs.donarmstrong.com; 5 Sep 2008 07:34:05 +0000 Original-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 Original-Received: (qmail invoked by alias); 05 Sep 2008 07:33:56 -0000 Original-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 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <000501c90f28$c2d95020$0200a8c0@us.oracle.com> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Fri, 05 Sep 2008 03:47:43 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20182 Archived-At: > 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