From: Tim Cross <tcross@pobox.une.edu.au>
Subject: Re: How set font for *all* buffers... not just first one?
Date: 26 Nov 2002 16:50:26 +1100 [thread overview]
Message-ID: <87wun06frx.fsf@blind-bat.une.edu.au> (raw)
In-Reply-To: m3ptstp1cx.fsf@defun.localdomain
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
next prev parent reply other threads:[~2002-11-26 5:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1038273537.22787.help-gnu-emacs@gnu.org>
2002-11-26 1:26 ` How set font for *all* buffers... not just first one? Jesper Harder
2002-11-26 5:50 ` Tim Cross [this message]
2002-11-26 18:26 ` seberino
2002-11-26 18:19 ` seberino
[not found] ` <mailman.1038334847.13038.help-gnu-emacs@gnu.org>
2002-11-26 19:11 ` Jesper Harder
2002-11-26 1:17 seberino
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wun06frx.fsf@blind-bat.une.edu.au \
--to=tcross@pobox.une.edu.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.