GNU bug report logs - #4543
window-full-height-p

Previous Next

Package: emacs;

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 #16 received at 4543 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 4543 <at> debbugs.gnu.org
Subject: Re: bug#4543: window-full-height-p
Date: Fri, 25 Sep 2009 09:40:11 +0200
> 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



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.