help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: A Few Small Questions


From: Marco Baringer
Subject: Re: A Few Small Questions
Date: 12 Jun 2002 13:31:14 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30

Charles Muller <address@hidden> writes:

> I am trying to set the default font in my Emacs (in Red Hat) to a larger
> size. I found some sample .emacs files on the web that contained
> settings such as 
> 
> (set-default-font "-*-Courier-normal-r-*-*-16-96-*-*-c-90-*-ansi-")
> 
> But when I try these, I get an error message saying that the font I have
> listed is not defined. How can I get a list of the fonts that are
> defined for my installation?
> 

M-x set-default-font TAB

will give you all the fonts available. this is kind of hackish, but it
works.

use:

(insert (frame-parameter nil 'font))

once you have found a font you like to write this into your .emacs
unless you feel like copying the font name. type the above, hit C-x
C-e and then delete that lisp code.

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There's a crack in everything.
It's how the light gets in.
     -Isonard Cohen



reply via email to

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