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

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

Re: Size of emacs window can't exceed 59 in height


From: Torben Knudsen
Subject: Re: Size of emacs window can't exceed 59 in height
Date: Fri, 10 Oct 2008 08:49:03 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

>>>>> "Peter" == Peter Dyballa <address@hidden> writes:

Peter> Am 08.10.2008 um 12:18 schrieb Torben Knudsen:

>> xwininfo: Window id: 0x36000a5 "*scratch* - Emacs"

Peter> The outpur looks OK.

Peter> You could experiment with initial-frame-alist and
Peter> default-frame- alist. Geometry settings when evaluated in
Peter> *scratch* buffer apply, and overwrite X resources. Just an
Peter> example:

Peter>  (setq initial-frame-alist '( (mouse-color . "midnightblue")
Peter> (foreground-color . "grey20") (background-color . "alice blue")
Peter> (internal-border-width . 2) (line-spacing . 1) (active-alpha
Peter> . 0.875) (inactive-alpha . 0.75) (top . 25) (left . 650) (width
Peter> . 91) (height . 50)))

In .Xresources

emacs.geometry:80x64+1440

In .emacs

(setq default-frame-alist '((width . 80) (height . 64)))
(setq initial-frame-alist '((top . 1) (left . 1) (width . 80) (height . 64)))

After startup of emacs these values are:

initial-frame-alist is a variable defined in `frame.el'.
Its value is 
((top . 1)
 (left . 1)
 (width . 80)
 (height . 64))

default-frame-alist is a variable defined in `C source code'.
Its value is 
((menu-bar-lines . 1)
 (tool-bar-lines . 0)
 (vertical-scroll-bars)
 (width . 80)
 (height . 64))

Still the window is 80 x 59

Peter> BTW, how do you try to change the size of GNU Emacs' frame?
Peter> Have tried to create a second frame (C-x 5 2)? And how do you
Peter> change your X resources?

C-x 5 2 Gives a frame of size 80 x 53

I use .Xresources

-- 
Associate Prof. Ph.D Torben Knudsen     Mobile  : (+45) 2787 9826
Section of Automation and Control,      Direct  : 6 8694
Department of Electronic Systems,       Email   : address@hidden   
Aalborg University 
Fredrik Bajersvej 7 
DK-9220 Aalborg Ø
Denmark 




reply via email to

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