[Top][All Lists]

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

Re: starting emacs with -fn 10x20 from .emacs

From: s. keeling
Subject: Re: starting emacs with -fn 10x20 from .emacs
Date: Tue, 12 Jun 2007 18:17:09 GMT
User-agent: slrn/ (Debian)

Ryan Moszynski <address@hidden>:
>  here's how i launch emacs through the kde menu:
>  /usr/local/bin/emacs-22.0.92 -font 10x20
>  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.

That's X's job.  Put it into ~/.Xresources:

Emacs*font:                        fixed
Emacs*foreground:                  wheat
Emacs*background:                  black
Emacs*cursorColor:                 green
Emacs.geometry:                    105x48-58+28
Emacs.dialog*.background:          LightSteelBlue1
Emacs.dialog*.foreground:          DarkRed

Then run "xrdb -merge ~/.Xresources".

Any technology distinguishable from magic is insufficiently advanced.
(*)          Linux Counter #80292
- -    Please, don't Cc: me.

reply via email to

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