[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: starting emacs with -fn 10x20 from .emacs
From: |
Ryan Moszynski |
Subject: |
Re: starting emacs with -fn 10x20 from .emacs |
Date: |
Wed, 13 Jun 2007 13:02:12 -0400 |
User-agent: |
KMail/1.9.3 |
this method works to set the font on startup. However, i use color-theme
in .emacs to load my colors:
(require 'color-theme)
(color-theme-initialize)
(color-theme-aalto-light)
and when using:
(setq default-frame-alist '(
(font . "10x20")
))
the color theme loads fine for the initial window, but then when i make a new
emacs window with 'C-x 5 2' my color them doesn't load at least the
background color properly.
is there a way around this?
thanks,
ryan
to set the font size . .emacs
On Monday 11 June 2007 6:26 pm, Peter Dyballa wrote:
> Am 11.06.2007 um 23:26 schrieb Ryan Moszynski:
> > however, if i start the emacs session from a terminal or as root, i
> > have to
> > either type the "-font 10x20" every time, or change the font after
> > i start
> > emacs through shift/left-click. I have been looking but i cannot
> > find how to
> > do this through my .emacs file.
>
> (setq default-frame-alist '(
> (border-color . "#4e3831")
> (foreground-color . "grey10")
> (background-color . "ghost white")
> (vertical-scroll-bars . left)
> (cursor-color . "purple")
> (cursor-type . box)
> (font . 10x20)
> (active-alpha . 0.75)
> (inactive-alpha . 0.875)
> (top . 50) (left . 150) (width . 89) (height . 56)))
>
> There is also initial-frame-alist ...
>
> --
> Greetings
>
> Pete
>
> IMBECILITY, n. A kind of divine inspiration, or sacred fire
> affecting censorious critics of this dictionary.
> -- Ambrose Bierce: _The Devil's Dictionary_
Re: starting emacs with -fn 10x20 from .emacs, Stefan Monnier, 2007/06/12