[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How set font for *all* buffers... not just first one?
From: |
seberino |
Subject: |
Re: How set font for *all* buffers... not just first one? |
Date: |
Tue, 26 Nov 2002 10:26:05 -0800 |
User-agent: |
Mutt/1.2.5.1i |
Tim
thanks for help...
I have Emacs 21 and tried
(set-face_attribute ...) as well as
(set-face-attribute ...)
the first gave error and second didn't change font.
Am I missing something?
CS
On Tue, Nov 26, 2002 at 04:50:26PM +1100, Tim Cross wrote:
> Jesper Harder <harder@myrealbox.com> writes:
>
> > seberino@spawar.navy.mil writes:
> >
> > > This line in .emacs set font for first buffer only...
> > >
> > > (set-frame-font "-b&h-luxi
> > > mono-medium-r-normal-*-*-160-*-*-m-*-iso8859-15")
> > >
> > > So my question is....where do I set font so that all buffers
> > > use that font???....
> >
> > Use `default-frame-alist' or set the font as an X resources.
>
> or use M-x customize-face RET default RET
>
> Or, if running emacs 21, you can use set-face-attribute for the
> default face. If the 3rd argument to this function is nil, it will
> apply to all frames e.g.
>
> (set-face_attribute 'default nil :family "b&h-lucidatypewriter")
>
> or, on the command line use emacs -fn "-b&h-lucidatypewriter-......
>
> Personally, I like to use X resources for setting the font as using
> that font is only relevant when your running under X, but your .emacs
> runs when you running under tty, X, within xterm, etc etc.
>
> The X setting is
>
> emacs.font: -b&h-..........
>
> in your .Xresources file.
>
> Tim
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
--
_______________________________________
Dr. Christian Seberino
SPAWAR Systems Center San Diego
Code 2363
49590 Lassing Road, Room A339
San Diego, CA 92152-6147
U.S.A.
Phone: (619) 553-7940
Fax: (619) 553-1269
Email: seberino@spawar.navy.mil
_______________________________________