From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ssSslang Newsgroups: gmane.emacs.help Subject: set default font for new frame Date: Wed, 28 Mar 2007 18:42:03 +0800 Message-ID: <87hcs5bqf8.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175078545 23990 80.91.229.12 (28 Mar 2007 10:42:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Mar 2007 10:42:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 28 12:42:13 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HWVbZ-0004P5-Ck for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2007 12:42:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWVe1-0003ya-Fi for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2007 05:44:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HWVdl-0003sc-7U for help-gnu-emacs@gnu.org; Wed, 28 Mar 2007 06:44:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HWVdi-0003mu-H0 for help-gnu-emacs@gnu.org; Wed, 28 Mar 2007 06:44:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWVdi-0003mb-AK for help-gnu-emacs@gnu.org; Wed, 28 Mar 2007 05:44:26 -0500 Original-Received: from m12-14.163.com ([220.181.12.14]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HWVbE-0004G3-Jc for help-gnu-emacs@gnu.org; Wed, 28 Mar 2007 06:41:53 -0400 Original-Received: from grayfox (unknown [219.140.60.12]) by smtp11 (Coremail) with SMTP id wKjADrDrn5ptRgpG5LcODg==.25037S2; Wed, 28 Mar 2007 18:41:50 +0800 (CST) Original-Received: by grayfox (Postfix, from userid 1000) id 81A3127FB2; Wed, 28 Mar 2007 18:42:03 +0800 (CST) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) X-Coremail-Antispam: 1U3Yxn0WfASr-VFAUDIcSsGvfJa_cIj6I8E87Iv67AKxVW8JV WxJwCjxxvEw4WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4l4x8a6c8ajcxJM7AC8VAFwI0_Jr0_ Gr1lb4IE77IF4wAFIxvE14AKwVWUJVWUGwAqx4xG64xvF2IEw4CE5I8CrVC2j2Wlb7Iv0x C_Kw7anT9S1TB71UUUUUUa7-sFnT9fnUUI43ZEXa7IUO1bytUUUUUFnT9fnUU== X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42232 Archived-At: Hi there, I wonder how to set the new frame's font. Now I had (set-default-font "MyFontName") written in ~/.emacs. I can see the right font when I start emacs. But the font changed after I called C-x 5 2 to make a new frame. Could someone told me a solution? Thanks. -- ssSslang