From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Font setting for runemacs and frame Date: Wed, 13 Feb 2019 05:40:53 +0200 Message-ID: <838sykpd8a.fsf@gnu.org> References: <83lg2louan.fsf@gnu.org> +D8BA3B461DEFB8D5 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="75637"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 13 04:41:21 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtlQG-000Ja2-6r for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Feb 2019 04:41:20 +0100 Original-Received: from localhost ([127.0.0.1]:50020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtlQF-0005HY-69 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Feb 2019 22:41:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtlQ2-0005HM-Uj for help-gnu-emacs@gnu.org; Tue, 12 Feb 2019 22:41:07 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtlQ1-0005wv-Mg for help-gnu-emacs@gnu.org; Tue, 12 Feb 2019 22:41:06 -0500 Original-Received: from [176.228.60.248] (port=2299 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gtlPz-0004Pl-Sq for help-gnu-emacs@gnu.org; Tue, 12 Feb 2019 22:41:04 -0500 In-reply-to: +D8BA3B461DEFB8D5 (message from Shuguang Sun on Wed, 13 Feb 2019 11:27:23 +0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:119387 Archived-At: > From: Shuguang Sun > Cc: help-gnu-emacs@gnu.org > Date: Wed, 13 Feb 2019 11:27:23 +0800 > > Eli Zaretskii writes: > > > For runemacs, why don't you just use default-frame-alist? > > I use window-system-default-frame-alist trying to manage one dot.emacs > for both windows box and linux. It seems both default-frame-alist and > window-system-default-frame-alist will flush the font setting. Sorry, I don't think I follow: what do you mean by "flush"? Can you show what you tried with default-frame-alist, and describe the effects? > I need set different font according to the fontset, and it seems neither > default-frame-alist nor window-system-default-frame-alist is able to > make it. Fontsets are the way to customize fonts more flexibly, so I don't think I understand what you mean by "different font according to the fontset". Again, showing what you do or tried but didn't work, will help remove any misunderstanding. I'm asking all these questions because it sounds like you unnecessarily use very complicated means, where much simpler means exist that should allow you to do what you want.