From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YE Qianchuan Newsgroups: gmane.emacs.help Subject: How to get the script name symbols of a specific character? Date: Sun, 10 Feb 2013 23:59:56 +0800 Message-ID: <5117C3FC.5020608@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360527346 623 80.91.229.3 (10 Feb 2013 20:15:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Feb 2013 20:15:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 10 21:16:07 2013 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 1U4dJm-0002VM-M7 for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Feb 2013 21:16:06 +0100 Original-Received: from localhost ([::1]:47920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4dJT-0006u4-Dw for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Feb 2013 15:15:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4ZLX-0008U3-Ln for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 11:01:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4ZLV-0005Xj-Jm for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 11:01:39 -0500 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:36751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4ZLV-0005Xb-DU for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 11:01:37 -0500 Original-Received: by mail-pb0-f44.google.com with SMTP id wz12so381039pbc.17 for ; Sun, 10 Feb 2013 08:01:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=cXtt+n4FtP40NkFk09+iiK5//jrbYOX4ZDmargxtro0=; b=ZYV2DSy5tUw2IxiFYQ9HNZn/fGJHpwwrhpcV5kwriK+bQPV0oSPw4eoI/foZikvecw t5DFxO30VJbwi65yA0hzg9oPaXUMz0CnKKWCiLNZ2cIjsFcGg0hJzKj1b6GJhbkGVUTw H3xfGjWUTBJtm1HKCOz4+eo9n+Cv53udA825GI5f+C+Fe7MFwZ99VBbbKWA6YU3p39rF bOCQOjZQBtCkpNyDSDPU8Qo4NutgiVRr8U18sIg4bhTE1Q/2Au3UbkLgfXO+r7m8p4A/ cm+r3LQBY1W2xk+9TDlD/nLxwxkcOCCJD1x+EfUnFOq6Ey9j0whHn6HmihoQhCsdGvRr XOVw== X-Received: by 10.68.216.232 with SMTP id ot8mr11979258pbc.9.1360512096043; Sun, 10 Feb 2013 08:01:36 -0800 (PST) Original-Received: from [192.168.1.101] ([218.107.8.251]) by mx.google.com with ESMTPS id sf2sm4806410pbb.8.2013.02.10.08.01.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 10 Feb 2013 08:01:33 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130109 Thunderbird/17.0.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.44 X-Mailman-Approved-At: Sun, 10 Feb 2013 15:15:39 -0500 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:89044 Archived-At: Hi, all. According to the document of `set-fontset-font', its argument TARGET can be a charset or a script name symbol. But I failed to find any documents about script name symbols. What I found that seem relevant are variables `charset-script-alist', `script-representative-chars' and `char-script-table'. However none of them tells me the details of those scripts, I can only guess by their names. My case is, for example, a set of unicode characters are displayed as hex boxes. I want to assign a proper font to display them. Specifying TARGET to unicode is not a good idea IMHO. I'd better find their script name symbol as TARGET, like `Han' for CJK characters. In practice, by calling `describe-char', I get which charset is corresponding to this character. So I can specify it to modify its font. However, I can't find a method to get a character's script name symbols. How can I achieve this? Do I miss something? Thanks for your help.