* Frame Height Different for Default Frame and Additional Frames
@ 2007-10-01 16:56 Rocco Pigneri
2007-10-02 7:52 ` martin rudalics
0 siblings, 1 reply; 2+ messages in thread
From: Rocco Pigneri @ 2007-10-01 16:56 UTC (permalink / raw)
To: bug-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]
To whom this may concern:
The size of the first frame created by an Emacs 22.1 instance and the
subsequent frames created by that instance differ on Windows. The first
frame is exactly three lines shorter than all subsequent frames.
Steps to reproduce:
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.
Thank you,
Rocco Pigneri
[-- Attachment #2: Type: text/html, Size: 3999 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Frame Height Different for Default Frame and Additional Frames
2007-10-01 16:56 Frame Height Different for Default Frame and Additional Frames Rocco Pigneri
@ 2007-10-02 7:52 ` martin rudalics
0 siblings, 0 replies; 2+ messages in thread
From: martin rudalics @ 2007-10-02 7:52 UTC (permalink / raw)
To: Rocco Pigneri; +Cc: bug-gnu-emacs
> 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 ?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-02 7:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-01 16:56 Frame Height Different for Default Frame and Additional Frames Rocco Pigneri
2007-10-02 7:52 ` martin rudalics
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).