brendan.halpin at ul.ie
Fri Nov 17 11:07:04 GMT 2000
> I know this is not a very very important question but I would like to know
> how to change the background of my emacs.
> I use the command :
> (set-background-color "gray")
> and when I launch emacs, I see the correct color during 1 or 2 sec and the
> default background comes. Does somebody can help me ?
Try something like this in your .emacs:
'((menu-bar-lines . 1)
(top . 105)
(left . 265) (width . 80) (height . 40)
(background-color . "gray")
(modeline-foreground-color . "white")))
Look at the docs for default-frame-alist (in Emacs, put the cursor
on the variable name, and do C-h v RET) to see what's going on.
Elements in the list are optional -- i.e. you don't have to set the
X-window geometry, for instance.
Also look at initial-frame-alist if you want the first frame to be
different from the subsequent ones.
Brendan Halpin, Dept of Government and Society, Limerick University, Ireland
Tel: w +353-61-213147; f +353-61-202569; h +353-61-385276; Room S1-03 x 3147
<mailto:brendan.halpin at ul.ie> <http://wivenhoe.staff8.ul.ie/~brendan>
More information about the ILUG