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

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

Re: frames and reading of .emacs?


From: Martin Stemplinger
Subject: Re: frames and reading of .emacs?
Date: Wed, 07 Jan 2004 21:50:10 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

On Mit Jan 07 2004 at 16:00, Jan Even Nilsen <evenREMOVE@THISgfi.uib.no> wrote:

> Now on this system the initial frame does not position correctly according to 
> my setting
>
> (setq default-frame-alist      '((top . -00) (left . 300) (width . 89) 
> (height . 51)
> (cursor-color . "red") (background-color . "khaki")))
>
AFAIK the settings are controlled by the variable
initial-frame-alist. Its documentation says

You can specify geometry-related options for just the initial frame
by setting this variable in your `.emacs' file; however, they won't
take effect until Emacs reads `.emacs', which happens after first creating
the frame.  If you want the frame to have the proper geometry as soon
as it appears, you need to use this three-step process:
* Specify X resources to give the geometry you want.
* Set `default-frame-alist' to override these options so that they
  don't affect subsequent frames.
* Set `initial-frame-alist' in a way that matches the X resources,
  to override what you put in `default-frame-alist'.

HTH
Martin
-- 
Remove NOSPAM to reply by mail


reply via email to

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