unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: Jim Hunziker <landtuna@gmail.com>
Cc: emacs-pretest-bug@gnu.org, 167@emacsbugs.donarmstrong.com
Subject: Re: 23.0.60; new frames ignore set-default-font
Date: Thu, 08 May 2008 12:34:42 +0100	[thread overview]
Message-ID: <4822E552.6010508@gnu.org> (raw)
In-Reply-To: <50e027900804290601k38703f72hbf93d193a116ff78@mail.gmail.com>

Jim Hunziker wrote:
> I am using the Xft font backend and Emacs from CVS.  I am using the
> Andale Mono-13 font from msttcorefonts.
>
> When using the setting (set-default-font "Andale Mono-13") in my
> .emacs file, new frames created with M-x 5 2 don't use the default
> font.  (The initial frame does use the font.)
>   

I think this is by design. set-default-font is an alias for 
set-frame-font, and it only sets the default font for the current frame.
To set the font for future frames, you need to set the font 
frame-parameter in default-frame-alist.





  reply	other threads:[~2008-05-08 11:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29 13:01 23.0.60; new frames ignore set-default-font Jim Hunziker
2008-05-08 11:34 ` Jason Rumney [this message]
2008-05-08 22:02   ` Johan Bockgård
  -- strict thread matches above, loose matches on Subject: below --
2008-05-09 10:23 Tim Van Holder
2008-05-09 12:32 grischka

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=4822E552.6010508@gnu.org \
    --to=jasonr@gnu.org \
    --cc=167@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=landtuna@gmail.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).