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: Mon, 13 Oct 2008 08:33:25 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

>>>>> "Peter" == Peter Dyballa <Peter_Dyballa@Web.DE> writes:

Peter> Am 10.10.2008 um 13:14 schrieb Torben Knudsen:

>>>> 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> For me the (X) window or GNU Emacs frame size does not change
Peter> instantaneously when I change default-frame-alist – but a new
Peter> frame (C-x 5 2) obeys the new values! Does this work for you?

Inspired by you question I think I learned something at least.

I have a two screen solution where my lap top is left and a external
screen is right it starts from 1440.

1. If I have my current emacs in the right screen and do 
(setq default-frame-alist '((width . 80) (height . 64)))
a new frame opens in the right screen but width size 80 x 50.  

2. If I do
(setq default-frame-alist '((top . 0) (left . 0) (width . 80) (height . 64)))
I get a frame in the left screen size 80 x 50.

Now 80 x 50 is the maximum size in the left window which I get there
with height >= 50.

3. If instead I do
(setq default-frame-alist '((top . 0) (left . 1440) (width . 80) (height . 64)))
the frame opens in the right window with the right size.

So it seems that if my current emacs is in the right screen a new
frame opens there but limited to the max size according to the screen
at left i.e.  (top . 0) (left . 0).

Now I think my problem is solved.  I don't now if you are satisfied.
Thanks for all the help.

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




reply via email to

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