all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: XeCycle <XeCycle@Gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Default font when creating a new frame
Date: Fri, 22 Jun 2012 23:08:16 +0800	[thread overview]
Message-ID: <87mx3vwfj3.fsf@xc.laptop> (raw)
In-Reply-To: 87mx3vbq7a.fsf@pestilenz.org

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]

Christian Kellermann <ckeen@pestilenz.org> writes:

> Peter Dyballa <Peter_Dyballa@Web.DE> writes:
>>> Why is set-default-font not enough and what should I use instead?
>>
>> Maybe because GNU Emacs is using initial-frame-alist and
>> default-frame-alist. This can lead to different settings applied to
>> the first, initial, frame and others applied to the other frames. I
>> think
>>
>> 	(setq initial-frame-alist default-frame-alist)
>
> Hm, I have set this as the first statement in my .emacs but it has no
> effect on the font when opening a new frame.

Afraid you need to set it at last, after value of
default-frame-alist is settled.

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

  reply	other threads:[~2012-06-22 15:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-22  7:57 Default font when creating a new frame Christian Kellermann
2012-06-22  8:26 ` Peter Dyballa
     [not found] ` <mailman.3221.1340353637.855.help-gnu-emacs@gnu.org>
2012-06-22 10:23   ` Christian Kellermann
2012-06-22 15:08     ` XeCycle [this message]
     [not found]     ` <mailman.3246.1340377872.855.help-gnu-emacs@gnu.org>
2012-07-12  9:45       ` Christian Kellermann

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=87mx3vwfj3.fsf@xc.laptop \
    --to=xecycle@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.