GNU bug report logs - #18136
24.4.50; crash in redisplay when calling load-theme

Previous Next

Package: emacs;

Reported by: Mark Oteiza <mvoteiza <at> udel.edu>

Date: Tue, 29 Jul 2014 00:37:02 UTC

Severity: normal

Merged with 18196

Found in version 24.4.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: mvoteiza <at> udel.edu, 18136 <at> debbugs.gnu.org
Subject: Re: bug#18136: 24.4.50; crash in redisplay when calling load-theme
Date: Mon, 04 Aug 2014 19:23:05 +0200
> IMO, FRAME_LINES for the TTY frame that is currently displayed on its
> terminal should always equal to FrameRows for that terminal (and
> similarly for FrameCols).  I thought we previously agreed on this,
> since a TTY frame usually behaves as a maximized frame.

We agreed that the total (pixel) height of the frame should not change
and the frame's windows should get resized when the menubar is turned
off and on.  But the problem is that you want that the frame's text
height should not change either and this is much more difficult to
achieve.

In principle, I have to lie about the text height, for example, in this
part of frame.c

  new_text_height = FRAME_PIXEL_TO_TEXT_HEIGHT (f, new_pixel_height);

and I'm not yet sure how to do that :-(

IIUC it amounts to changing FRAME_PIXEL_TO_TEXT_HEIGHT and
FRAME_TEXT_TO_PIXEL_HEIGHT for TTYs but I'm afraid that that is not
sufficient.  In any case, the change will be substantial.

martin




This bug report was last modified 10 years and 286 days ago.

Previous Next


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