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: Andreas Schwab
Subject: Re: Who is clobbering my default-frame-alist?
Date: Mon, 18 Sep 2000 16:31:48 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/21.0.90

"Stefan Monnier" <monnier+gnu/address@hidden> writes:

|> > 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 ?

Yes.  It happens at some time after term-setup-hook has run (it is still
there if I look at it in this hook).

|> You need to specify (user-size . t) for those settings not to be ignored.

Didn't change anything when I replaced user-position with user-size.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
address@hidden
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg


reply via email to

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