From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Save the font setting (Emacs Windows)
Date: Wed, 21 Jun 2006 08:39:54 -0700 [thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICMEGKDHAA.drew.adams@oracle.com> (raw)
In-Reply-To: <upsh2poim.fsf@HY56D61.pg.com>
>> (set-default-font "-outline-Courier New-normal-r-normal...
> Thanks, that works when openning emacs normally but when open emacs
> from emacs (e.g., Control+x 5 2) it reverts back to default font.
The variable default-frame-alist controls the fonts and such for
frames created this way
Library frame-cmds.el can help here:
http://www.emacswiki.org/cgi-bin/emacs/frame-cmds.el.
After you get a frame the way you want it, no matter how you tweaked it
(font, background,...), you can save one or all of its parameters in the
value of `default-frame-alist' (or `initial-frame-alist', or any other frame
alist) by using command `set-frame-alist-parameter-from-frame' or
'set-all-frame-alist-parameters-from-frame'. You can use option
'frame-parameters-to-exclude' to exclude some parameters from copying by
`set-all*'.
After you have updated `default-frame-alist', use `M-x customize-customized'
to go to its Customize buffer and then save it for future Emacs sessions.
next prev parent reply other threads:[~2006-06-21 15:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-21 5:20 Save the font setting (Emacs Windows) tvn
2006-06-21 7:21 ` sross
2006-06-21 9:25 ` martin
2006-06-21 13:55 ` tvn
2006-06-21 14:33 ` Chris McMahan
2006-06-21 15:04 ` It's me FKtPp ;)
2006-06-21 15:39 ` Drew Adams [this message]
2006-06-21 15:52 ` Norbert Melzer
2006-06-21 16:27 ` Norbert Melzer
2006-06-21 17:01 ` Kevin Rodgers
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=DNEMKBNJBGPAOPIJOOICMEGKDHAA.drew.adams@oracle.com \
--to=drew.adams@oracle.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).