emacs-devel
[Top][All Lists]
Advanced

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

Re: Who is clobbering my default-frame-alist?


From: Stefan Monnier
Subject: Re: Who is clobbering my default-frame-alist?
Date: Mon, 18 Sep 2000 10:26:34 -0400

> I have the following in my .emacs:
> 
>   (let ((fontset (if (query-fontset "fontset-startup")
>                    "fontset-startup" "fontset-standard")))
>     (setq initial-frame-alist
>         `((width . 80)
>           (height . 55)
>           (user-position . t)
>           (name . "GNU Emacs")
>           (font . ,fontset)
>           (vertical-scroll-bars . right)))
>     (setq default-frame-alist
>         `((width . 80)
>           (height . 50)
>           (user-position . t)
>           (font . ,fontset)
>           (menu-bar-lines . 1)
>           (vertical-scroll-bars . right))))
> 
> and the following X resource:
> 
>   Emacs.geometry: 80x55
> 
> This makes the initial frame 55 lines high, and all other frames 50 lines,
> unless overridden.  Except that it does not work: someone is removing
> (height . 50) from default-frame-alist, and new frames come up with only
> 40 lines.  I have looked at every reference to default-frame-alist and
> Vdefault_frame_alist in the sources, but i could not find anything
> suspicious.

Are you sure that it is removed ?  Or is it just ignored ?
You need to specify (user-size . t) for those settings not to be ignored.


        Stefan



reply via email to

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