From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#4534: assertion failure at window.c:grow_mini_window Date: Fri, 25 Sep 2009 11:35:43 +0300 Message-ID: <831vlvv2u8.fsf@gnu.org> References: <4AB9CE11.9040300@gmx.at> <4ABA12BF.8070205@gmx.at> <4ABB167A.4070801@gmx.at> Reply-To: Eli Zaretskii , 4534@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1253868448 25410 80.91.229.12 (25 Sep 2009 08:47:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Sep 2009 08:47:28 +0000 (UTC) To: Juanma Barranquero , 4534@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 25 10:47:21 2009 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 1Mr6SV-0001Ht-55 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Sep 2009 10:47:19 +0200 Original-Received: from localhost ([127.0.0.1]:42986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mr6ST-00086Z-TK for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Sep 2009 04:47:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mr6SO-00086U-T9 for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2009 04:47:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mr6SK-00082o-4w for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2009 04:47:12 -0400 Original-Received: from [199.232.76.173] (port=44570 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mr6SK-00082l-0u for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2009 04:47:08 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47359) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mr6SI-0002Rb-O5 for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2009 04:47:07 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8P8l4Kd011852; Fri, 25 Sep 2009 01:47:04 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8P8j4E6011429; Fri, 25 Sep 2009 01:45:04 -0700 Resent-Date: Fri, 25 Sep 2009 01:45:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 25 Sep 2009 08:45:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4534 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4534-submit@emacsbugs.donarmstrong.com id=B4534.125386787010455 (code B ref 4534); Fri, 25 Sep 2009 08:45:03 +0000 Original-Received: (at 4534) by emacsbugs.donarmstrong.com; 25 Sep 2009 08:37:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout3.012.net.il (mtaout3.012.net.il [84.95.2.7]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8P8bmu0010443 for <4534@emacsbugs.donarmstrong.com>; Fri, 25 Sep 2009 01:37:49 -0700 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KQI00G00Q8JJ100@i_mtaout3.012.net.il> for 4534@emacsbugs.donarmstrong.com; Fri, 25 Sep 2009 11:37:41 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.70.48.81]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KQI00M40QMSSXA0@i_mtaout3.012.net.il>; Fri, 25 Sep 2009 11:37:41 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id n8P8l4Kd011852 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 25 Sep 2009 04:47:12 -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:31494 Archived-At: > From: Juanma Barranquero > Date: Thu, 24 Sep 2009 14:58:07 +0200 > Cc: 4534@emacsbugs.donarmstrong.com >=20 > > Now if I replace the check > > > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (height) > > > > by > > > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (height > WINDOW_T= OTAL_LINES (w)) > > > > I should be able to avoid the delta =3D -1 assertion failure in > > grow_mini_window. =C2=A0Can you confirm my reasoning so far? >=20 > It's correct. Except that, as shrink_mini_window didn't shrink the > window, it remains at 6 lines. Does this code cause an immediate redisplay? I think it doesn't, which means shrink_mini_window does not actually shrink the window, it just prepares the glyph matrices for that. The next redisplay will actually change how things are shown on the screen.