GNU bug report logs -
#4543
window-full-height-p
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Thu, 24 Sep 2009 03:50:04 UTC
Severity: wishlist
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #46 received at 4543 <at> emacsbugs.donarmstrong.com (full text, mbox):
> Date: Fri, 25 Sep 2009 17:04:10 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> CC: 4543 <at> emacsbugs.donarmstrong.com, rgm <at> gnu.org
>
> > Well, maybe I'm missing something, but this seems quite clear to me.
> > SET_FRAME_COLS sets both f->text_cols and f->total_cols, the former
> > counts the width of only the text area of the display, the latter
> > counts the total frame area that includes the scroll bars and the
> > fringe.
>
> It doesn't. Make a frame with two side-by-side windows with scrollbars.
> Only one scrollbar is counted in f->total_cols. f->total_cols is an
> artifact whose purpose escapes me so far. And fringe sizes can be set
> on a per window basis, so counting them seems completely useless.
Look, you asked to explain the subtleties of the code, and I think I
did, as best I could. I hope what the code does is now clear.
Whether it makes sense or should be modified, is another matter.
This bug report was last modified 15 years and 236 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.