[Top][All Lists]

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

20.7 default X frame size too large

From: Schlake ( William Colburn )
Subject: 20.7 default X frame size too large
Date: Sat, 13 Jan 2001 18:15:47 -0700
User-agent: Mutt/1.2.5i

Emacs 20.7 under X windows starts out with a default frame size larger
than the X window.  This is annoying.

I have compensated for it by adding this to my .emacs:
>;;; I like my windows to fit on the screen
>(if (eq (framep (selected-frame)) 'x)
>    (let ((val (cdr (assq 'height (frame-parameters)))))
>      (set-frame-height (selected-frame) (- val 1))
>      )
>  )

Emacs 20.7 does this with the precompiled Slackware version under linux
and with a default compile that I do myself under Solaris 7.

I suspect (but I haven't verified) that emacs doesn't account for the
fact that I have a multi-pixel border around my windows in X plus a

-- void *(*(*schlake(void *))[])(void *); /* http://www.nmt.edu/~schlake/ */

reply via email to

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