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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 4534 <at> debbugs.gnu.org, rudalics <at> gmx.at
Subject: Re: bug#4534: assertion failure at window.c:grow_mini_window
Date: Fri, 25 Sep 2009 13:30:38 +0200
On Fri, Sep 25, 2009 at 10:35, Eli Zaretskii <eliz <at> gnu.org> wrote:

> 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.

Hmm. The "else" part of shrink_mini_window (which works, in this case,
if you force it to go that route) definitely shrinks the window:

      Lisp_Object window;
      XSETWINDOW (window, w);
      enlarge_window (window, 1 - XFASTINT (w->total_lines), 0);

As for the "if" part, I think you're right.

Anyway, the last patch by Martin worked as expected, at least for this
bug. Is there any downside to it?

    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.