[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/0.9.8.1pl1 (Debian) |
Ryan Moszynski <ryan.m.lists@gmail.com>:
>
> 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.
(*) http://www.spots.ab.ca/~keeling Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
Re: starting emacs with -fn 10x20 from .emacs, Stefan Monnier, 2007/06/12