From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Wang Yin Newsgroups: gmane.emacs.help Subject: Fontset and customize-face Date: 08 May 2003 09:59:55 +0800 Organization: Bentium Ltd. (CN99) Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052358756 3977 80.91.224.249 (8 May 2003 01:52:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 8 May 2003 01:52:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 08 03:52:34 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19DaaI-00011t-00 for ; Thu, 08 May 2003 03:52:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19DaZ7-0007bs-09 for gnu-help-gnu-emacs@m.gmane.org; Wed, 07 May 2003 21:51:21 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsgate.cuhk.edu.hk!news.cn99.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: tu140066.tsinghua.edu.cn Original-X-Trace: mail.cn99.com 1052358536 15267 166.111.140.66 (8 May 2003 01:48:56 GMT) Original-X-Complaints-To: usenet@news.cn99.com Original-NNTP-Posting-Date: Thu, 8 May 2003 01:48:56 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:112926 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9421 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9421 Hi, I've setup some fontsets for use in my .Xdefaults file. Because I must use different fonts for different charsets. For example, I must use iso10646 fonts for the IPA characters in the dictionary package, use GBK fonts for Chinese characters: Emacs.Fontset-0:-adobe-courier-medium-r-*-*-14-*-*-*-*-*-fontset-song,\ chinese-gb2312:-*-simsun-medium-r-*--16-*-*-*-*-*-gbk-0,\ mule-unicode-0100-24ff:-misc-fixed-medium-r-normal--16-*-*-*-*-*-iso10646-1 But I really want to use different fonts for different syntax elements, so I use customize-face to set different font, colors, ... for them. But once I customized my fonts and colors, I can't use fontsets. It seems I can't use both. But I must use both mechanisms. How can I do that? Thanks. -- Wang Yin DA Lab, Tsinghua University, 100084 Beijing China