From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Stemplinger Newsgroups: gmane.emacs.help Subject: Re: frames and reading of .emacs? Date: Wed, 07 Jan 2004 21:50:10 +0100 Organization: Akademisches Sinfonie-Orchester Muenchen Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073509318 9977 80.91.224.253 (7 Jan 2004 21:01:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Jan 2004 21:01:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 07 22:01:55 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AeKoN-00050P-00 for ; Wed, 07 Jan 2004 22:01:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AeLlX-0006so-4d for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Jan 2004 17:03:03 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!dialin-212-144-147-206.arcor-ip.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: dialin-212-144-147-206.arcor-ip.net (212.144.147.206) Original-X-Trace: news.uni-berlin.de 1073508420 7508311 212.144.147.206 ([177771]) X-URL: http://www.aso-muenchen.de X-Attribution: Martin Mail-Copies-To: never User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:qympq/9ip3rR8IQn4nV5wK3+fIc= Original-Xref: shelby.stanford.edu gnu.emacs.help:119850 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15793 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15793 On Mit Jan 07 2004 at 16:00, Jan Even Nilsen 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