From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: default font settings
Date: Tue, 07 Oct 2003 12:18:48 -0600 [thread overview]
Message-ID: <3F830388.8010904@yahoo.com> (raw)
In-Reply-To: mailman.1257.1065544293.21628.help-gnu-emacs@gnu.org
Vincenzo Di Somma wrote:
> I use (set-default-font
> "-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1")
> in my .emacs to set te font I like, but when I open another window with
> C x 5-2 emacs use the default font instead of my one, how can I fix it ?
The doc string for set-default-font explicitly says that it only applies
to the current frame.
The "Font Specification Options" section of the Emacs manual says:
| By default, Emacs displays text in the font named `9x15', which
| makes each character nine pixels wide and fifteen pixels high. You can
| specify a different font on your command line through the option `-fn
| NAME' (or `--font', which is an alias for `-fn').
|
| `-fn NAME'
| `--font=NAME'
| Use font NAME as the default font.
...
| You can also specify the font in your `.Xdefaults' file:
|
| emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1
I prefer the .Xdefaults method, although I use the Emacs*Font class spec
instead of the emacs.font instance spec.
Or, you could do this in your .emacs:
(let ((font "-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1"))
(setq initial-frame-alist
(cons `(font . ,font) initial-frame-alist))
(setq default-frame-alist
(cons `(font . ,font) default-frame-alist)))
--
Kevin Rodgers
next parent reply other threads:[~2003-10-07 18:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1257.1065544293.21628.help-gnu-emacs@gnu.org>
2003-10-07 18:18 ` Kevin Rodgers [this message]
2003-10-07 16:29 default font settings Vincenzo Di Somma
2003-10-07 20:16 ` Orm Finnendahl
2003-10-08 7:01 ` Gian Uberto Lauri
2003-10-08 9:44 ` Vincenzo Di Somma
2003-10-08 10:26 ` Gian Uberto Lauri
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F830388.8010904@yahoo.com \
--to=ihs_4664@yahoo.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).