GNU bug report logs -
#18136
24.4.50; crash in redisplay when calling load-theme
Previous Next
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
View this message in rfc822 format
> Date: Tue, 29 Jul 2014 17:41:56 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> CC: mvoteiza <at> udel.edu, 18136 <at> debbugs.gnu.org
>
> > E.g., with your suggested semantics, what would you expect from this:
> >
> > emacs -Q
> > M-: (frame-height) RET
> > M-x menu-bar-mode RET
> > M-: (frame-height) RET
> >
> > Would you expect to see the 2 results of frame-height identical or
> > different?
>
> Ideally different in fullscreen/maximized/fullheight mode or with
> `frame-inhibit-implied-resize' non-nil, identical otherwise.
Shouldn't TTY frames behave as if they were fullscreen? That's what
they (normally) are, right?
> > Again, FrameRows and FrameCols updates are triggered in 3 possible
> > ways:
> >
> > . when the terminal is created
> >
> > . when we get SIGWINCH
> >
> > . when we call change_frame_size
> >
> > The last one was missing, which caused bug #17875, whereby switching
> > to a different frame on the same terminal failed to update FrameRows
> > and FrameCols, because neither of the first 2 triggers happened.
>
> My bad. For some reason I thought these were set in change_frame_size.
> Is calling change_frame_size necessary when switching frames? What a
> strange thing to do.
No, my bad, sorry. I confused this code with a similar one on
do_switch_frame, which was added due to bug #17875. Obviously,
do_switch_frame _is_ called when we switch frames.
The code in change_frame_size_1 we are talking about was there since a
very long time (I see it in Emacs 21), and its purpose is to update
FrameRows and FrameCols when the user changes dimensions of a TTY
frame (e.g., by calling set-frame-height). If you remove it, how can
we update those attributes otherwise?
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.