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


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 4543 <at> debbugs.gnu.org
Subject: bug#4543: window-full-height-p
Date: Fri, 25 Sep 2009 02:18:34 -0400
martin rudalics wrote:

> Would
>
> (defun window-full-height-p (&optional window)
>   (unless window
>     (setq window (selected-window)))
>   (= (window-height window)
>      (window-height (frame-root-window (window-frame window)))))
>
> fit?

Seems to work fine for me, thanks. window-full-width-p has a simple C
implementation, but perhaps the same thing is not possible for height?



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.