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

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

Re: Frame Height Different for Default Frame and Additional Frames


From: martin rudalics
Subject: Re: Frame Height Different for Default Frame and Additional Frames
Date: Tue, 02 Oct 2007 09:52:12 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> 1. Put the following line in your .emacs file:
>
> (add-to-list 'default-frame-alist '(height . 57))
>
> 2. Start a new instance of Emacs.  Note the height of the frame.
>
> 3. Press C-x 5 2 to create a new frame.  You will notice that this new frame
> is three lines longer than the old one.

FWIW, the behavior you describe violates the according description in
the Elisp manual:

 -- Variable: default-frame-alist
     This is an alist specifying default values of frame parameters for
     all Emacs frames--the first frame, and subsequent frames.  When ...

You should get the desired behavior by setting

(add-to-list 'initial-frame-alist '(height . 57))

in your .emacs.  Nevertheless, I'd count this problematic.  Eli, can
this be fixed or should we add something to ~/etc/PROBLEMS ?





reply via email to

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