GNU bug report logs - #4534
assertion failure at window.c:grow_mini_window

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Wed, 23 Sep 2009 03:10:04 UTC

Severity: normal

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #95 received at 4534 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>, 4534 <at> debbugs.gnu.org
Cc: rudalics <at> gmx.at
Subject: Re: bug#4534: assertion failure at window.c:grow_mini_window
Date: Fri, 25 Sep 2009 11:35:43 +0300
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Thu, 24 Sep 2009 14:58:07 +0200
> Cc: 4534 <at> emacsbugs.donarmstrong.com
> 
> > Now if I replace the check
> >
> >              if (height)
> >
> > by
> >
> >              if (height > WINDOW_TOTAL_LINES (w))
> >
> > I should be able to avoid the delta = -1 assertion failure in
> > grow_mini_window.  Can you confirm my reasoning so far?
> 
> 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.



This bug report was last modified 15 years and 216 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.