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 #35 received at 4534 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 4534 <at> debbugs.gnu.org
Subject: Re: bug#4534: assertion failure at window.c:grow_mini_window
Date: Wed, 23 Sep 2009 15:41:24 +0200
On Wed, Sep 23, 2009 at 14:21, martin rudalics <rudalics <at> gmx.at> wrote:

> Would writing
>
>              if (height > WINDOW_TOTAL_LINES (w))
>                {
>                  freeze_window_starts (f, 1);
>                  grow_mini_window (w, height - WINDOW_TOTAL_LINES (w));
>                }
>
> instead do better?

In my case, height < WINDOW_TOTAL_LINES (w) at that point (that's what
triggers the xassert), so adding the above check works exactly like
removing the if() altogether: it does not crash, but it does not
shrink the minibuffer to 5 lines, which would be the correct height.

    Juanma



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.