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


View this message in rfc822 format

From: Juanma Barranquero <lekktu <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 4534 <at> debbugs.gnu.org
Subject: bug#4534: assertion failure at window.c:grow_mini_window
Date: Wed, 23 Sep 2009 12:51:27 +0200
FWIW, commenting out this chunk from shrink_mini_window, it works as expected.

    Juanma



diff --git a/src/window.c b/src/window.c
index 08fd8c8..c892436 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4677,17 +4677,18 @@ void
 shrink_mini_window (w)
      struct window *w;
 {
-  struct frame *f = XFRAME (w->frame);
-  struct window *root = XWINDOW (FRAME_ROOT_WINDOW (f));
-
-  if (save_restore_orig_size (root, CHECK_ORIG_SIZES))
-    {
-      save_restore_orig_size (root, RESTORE_ORIG_SIZES);
-      adjust_glyphs (f);
-      FRAME_WINDOW_SIZES_CHANGED (f) = 1;
-      windows_or_buffers_changed = 1;
-    }
-  else if (XFASTINT (w->total_lines) > 1)
+  /* struct frame *f = XFRAME (w->frame); */
+  /* struct window *root = XWINDOW (FRAME_ROOT_WINDOW (f)); */
+  /*  */
+  /* if (save_restore_orig_size (root, CHECK_ORIG_SIZES)) */
+  /*   { */
+  /*     save_restore_orig_size (root, RESTORE_ORIG_SIZES); */
+  /*     adjust_glyphs (f); */
+  /*     FRAME_WINDOW_SIZES_CHANGED (f) = 1; */
+  /*     windows_or_buffers_changed = 1; */
+  /*   } */
+  /* else if (XFASTINT (w->total_lines) > 1) */
+  if (XFASTINT (w->total_lines) > 1)
     {
       /* Distribute the additional lines of the mini-window
 	 among the other windows.  */



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.