GNU bug report logs - #22975
25.0.92; CANNOT_DUMP build can't start in tty mode

Previous Next

Package: emacs;

Reported by: Ken Raeburn <raeburn <at> raeburn.org>

Date: Thu, 10 Mar 2016 05:43:02 UTC

Severity: normal

Found in version 25.0.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #59 received at 22975 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 22975 <at> debbugs.gnu.org, raeburn <at> raeburn.org, schwab <at> linux-m68k.org
Subject: Re: bug#22975: 25.0.92; CANNOT_DUMP build can't start in tty mode
Date: Mon, 14 Mar 2016 08:42:39 +0100
> But the return value might need to be something specific to steer the
> rest of execution where we want it.  For example, grow_mini_window
> does this:
>
>    if (delta > 0)
>      {
>        root = FRAME_ROOT_WINDOW (f);
>        r = XWINDOW (root);
>        height = call3 (Qwindow_resize_root_window_vertically,
> 		      root, make_number (- delta), pixelwise ? Qt : Qnil);
>        if (INTEGERP (height) && window_resize_check (r, false))
> 	{
> 	  block_input ();
> 	  window_resize_apply (r, false);
>
> which means we need the placeholder return nil to do what we want.  If
> it returns something else, who knows what will happen next?

If it doesn't return an integer, this check

   if (INTEGERP (height) && window_resize_check (r, false))

will fail and nothing will happen.

> IOW, we need to study the actual calls to know what to do in the
> placeholders.  The same examination could tell us how to avoid the
> calls to those functions altogether.  E.g., binding
> resize-mini-windows to nil around the code that runs loadup.el would
> prevent the call to grow_mini_window in the first place.  Maybe that's
> better, I didn't yet make up my mind.

This would be probably better.  Mine was just a proposal to work around
the current situation without any definitive fix.

martin




This bug report was last modified 9 years and 69 days ago.

Previous Next


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