[Top][All Lists]

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

Re: calling set-face-font in the .gun-emacs (aka .emacs)

From: Hattuari
Subject: Re: calling set-face-font in the .gun-emacs (aka .emacs)
Date: Wed, 18 May 2005 16:25:57 -0400
User-agent: KNode/0.9.0

Peter Dyballa wrote:

> Am 17.05.2005 um 07:14 schrieb Hattuari:
>> I spent the last hour
>> trying to figure out how to call set-face-font so that the default face
>> font is -adobe-courier-bold-r-normal--20-140-100-100-m-110-iso8859-15.
> set-face-font is an interactive compiled Lisp function in `faces'.
> (set-face-font face font &optional frame)
> Change font-related attributes of face to those of font (a string).
> frame nil or not specified means change face on all frames.
> This sets the attributes `:family', `:width', `:height', `:weight',
> and `:slant'.  When called interactively, prompt for the face and font.
> One example I found with find-grep:
> (set-face-font face gamegrid-font)
> Could be close to my face customized prompt's setting:
>   '(comint-highlight-prompt ((t (:background "LemonChiffon" :foreground
> "dark blue" :weight bold :family "-*-courier
> new-medium-r-*-10646-1"))))

Thanks for the pointer.  I'm a bit gunshy when it comes to playing around
with the fonts that way.  It hasn't always turned out the way I expected. 
Perhaps I will try again.

What I was really trying to learn is how to call an interactive command
programmatically.  I believe that can be done.

reply via email to

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