From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: XeCycle Newsgroups: gmane.emacs.help Subject: Re: Default font when creating a new frame Date: Fri, 22 Jun 2012 23:08:16 +0800 Message-ID: <87mx3vwfj3.fsf@xc.laptop> References: <87395nrd7l.fsf@pestilenz.org> <87mx3vbq7a.fsf@pestilenz.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1340377879 31186 80.91.229.3 (22 Jun 2012 15:11:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2012 15:11:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 22 17:11:18 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Si5Vz-0001b3-1T for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jun 2012 17:11:15 +0200 Original-Received: from localhost ([::1]:45319 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Si5Vy-0002PL-V4 for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jun 2012 11:11:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Si5Vm-00021B-2S for help-gnu-emacs@gnu.org; Fri, 22 Jun 2012 11:11:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Si5Vh-00008u-60 for help-gnu-emacs@gnu.org; Fri, 22 Jun 2012 11:11:01 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:44882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Si5Vg-00008e-VQ for help-gnu-emacs@gnu.org; Fri, 22 Jun 2012 11:10:57 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Si5Vd-0000yx-M5 for help-gnu-emacs@gnu.org; Fri, 22 Jun 2012 17:10:53 +0200 Original-Received: from 59.78.37.25 ([59.78.37.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jun 2012 17:10:53 +0200 Original-Received: from XeCycle by 59.78.37.25 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jun 2012 17:10:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 59.78.37.25 User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:aMs9s8Qhio1skxwnE/BthIuYyIY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85380 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Christian Kellermann writes: > Peter Dyballa 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. =2D-=20 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 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAEBAgAGBQJP5IpkAAoJEI1xjsR3leWRkacH/iZFftWU2YpBCpBJ022ZP2WY bZK7gSDUfStyGS4KO3dOviMpnASVR01yOVAVX0lxClzqvoBcZY0V8WILqFMm7SJ7 8qGmqLohIJdpeMn6621UNrbj8zTDZUbKeZR4DLz9836owIl+ifOimrWAS7XXs1Yq 6W8lQmQRif3SPX7eQqSFiprLxK1toy5JsW6FNFaVVa4b/kKYambU/ibQWmKvclc3 tt/4NQRQi+pQcj39fHu76AWuYeGvMTOdVkHSu7RM4eQnGfhOR7Qe5IsQlHKPc+h7 EIJCcEJwrr/xWW7Hw+i5tde5QWXW9t/I9z8XNk0n+psK7sw8y3JpCZ2hOcTzYC4= =oZpO -----END PGP SIGNATURE----- --=-=-=--