unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Font settings ignored on new frames
Date: Thu, 05 Jun 2008 09:36:07 +0900	[thread overview]
Message-ID: <E1K43SZ-0001XV-OZ@etlken.m17n.org> (raw)
In-Reply-To: <jwv3antw4ro.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Wed, 04 Jun 2008 12:26:53 -0400)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>> If I start me Emacs as:
>>> src/emacs -Q --eval '(custom-set-faces (quote (default ((t (:height 60 :width semi-condensed :family "DejaVu Sans Mono"))))))'

>>> I get the font I expect, but then if I do

>>> C-x 5 2

>>> the new frame uses `courier'.  

> > I have not yet checked the code, but, at least, the emacs of
> > pre-unicode-merge behaves the same way.

> Even if it behaved that way all the way back to Emacs-20, it'd still
> qualify as a bug wouldn't it?

Perhaps, but I'm not sure.  I don't understand how
custom-set-faces works.  The docsting just says that it
"initialize faces".  It doesn't say how it interacts with
default-frame-alist, initial-frame-alist, X resources, etc.

---
Kenichi Handa
handa@ni.aist.go.jp




  reply	other threads:[~2008-06-05  0:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-03 20:59 Font settings ignored on new frames Stefan Monnier
2008-06-04 11:05 ` Kenichi Handa
2008-06-04 16:26   ` Stefan Monnier
2008-06-05  0:36     ` Kenichi Handa [this message]
2008-06-05  1:39       ` Miles Bader
2008-06-05  2:22       ` Stefan Monnier
2008-06-06 13:07         ` Kenichi Handa
2008-06-06 18:16           ` Glenn Morris
2008-06-10 19:17     ` Stefan Monnier

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=E1K43SZ-0001XV-OZ@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).