bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4543: window-full-height-p


From: martin rudalics
Subject: bug#4543: window-full-height-p
Date: Fri, 25 Sep 2009 09:40:11 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> window-full-width-p has a simple C
> implementation,

`window-full-width-p' is based on the definition

  /* Total width of frame F, in columns (characters),
     including the width used by scroll bars if any.  */

  #define FRAME_TOTAL_COLS(f) ((f)->total_cols)

from frame.h whose semantics I don't understand.  Not really simple.

> but perhaps the same thing is not possible for height?

Hardly.  Also I suppose you don't want the return value include the
minibuffer height.  At least the comment in

    (if (not (= (1+ (window-height)) (frame-height))) ;not horizontally split

seems to suggest that (it confuses horizontally and vertically, BTW).

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]