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: Chetan
Subject: Re: Size of emacs window can't exceed 59 in height
Date: Wed, 08 Oct 2008 16:20:14 -0700
User-agent: Emacs Gnus

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 08.10.2008 um 20:50 schrieb Chetan:
>
>> Value:
>> ((width . 120)
>>  (height . 64)
>
>
> So you see the reason why GNU Emacs 22.x is always in "pole  position." I 
> think
> GNU Emacs 21.3 was not using *-frame-alist, so it  follows the geometry as
> specified on invocation.
>
> To cure your GNU Emacs 22.x problem:
>
>     (setq default-frame-alist
>       (append (list
>       (top . 200) (left . 300)
>       ) default-frame-alist))
>
>
> --
> Greetings
>
>   Pete
>
> I hope to die before I *have* to use Microsoft Word.
>                       - Donald E. Knuth, 2001-10-02 in Tübingen.

Thanks for the suggestion. It does seem to fix one problem, but creates
another. I like the default positioning provided for new frames. I
don't  want to make all frames show up on top of each other.

I don't see the reason why this should happen. It seems to respect the
'left' value but not 'top'. 

I do not set anything in the default-frame-alist except for the font.
The alist is initialized the way it is because of other functions I
call. The width and height are the values coming from the command
line. 

I only mentioned it because somebody else had a similar problem.

I checked the NEWS file after I found this, but it seems to say that
the position values are used for the initial frame.

At first I thought it was a bug, but since it works from shell, there
is something else at play.

Chetan


reply via email to

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