From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: How to get the script name symbols of a specific character? Date: Mon, 11 Feb 2013 16:30:22 +0530 Message-ID: <87fw1315fd.fsf@gmail.com> References: <5117C3FC.5020608@gmail.com> <87wqufef0b.fsf@gmail.com> <5118CC6C.3060007@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360580463 25736 80.91.229.3 (11 Feb 2013 11:01:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2013 11:01:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: YE Qianchuan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 11 12:01:25 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 1U4r8W-0007dB-7S for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2013 12:01:24 +0100 Original-Received: from localhost ([::1]:49788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4r8C-0006jX-Kr for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2013 06:01:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4r85-0006jE-Cq for help-gnu-emacs@gnu.org; Mon, 11 Feb 2013 06:00:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4r7y-0004Fd-5k for help-gnu-emacs@gnu.org; Mon, 11 Feb 2013 06:00:57 -0500 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:57065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4r7x-0004F7-Ru for help-gnu-emacs@gnu.org; Mon, 11 Feb 2013 06:00:50 -0500 Original-Received: by mail-pb0-f41.google.com with SMTP id um15so634753pbc.14 for ; Mon, 11 Feb 2013 03:00:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=maSaTRRFWF80HA6QSdjmrSaDyOShRPVGok69VjxlYVk=; b=x2H9QPigTkdMaQP8fCdLsNb/izH+URm4xEiTggjYz/xZmOL/z6jRBl00Q7DQrwzhp0 FhFxiy/1E5ISjHG200LMXbYrsICWkk7MDN+Lyk+P5O/9SGwfX5sI7w90TqN9qbiyL1Qa D7A3WfK0rZiIFxt69U6uMjo0EK12RRJOAb683DrEvM12FI644NqYQbnJWPwbDriPu17K 7AyJeOCMsxVNy1mEQioLMMaY/2bwm5mW7SzHD7VRdJ30cBL7KdvPGjmTwL/uiMSpef77 FBlNTaNLVUnmftaGxuFeNm++i74X8RbEN4GmHLcSDaKsBEbi+mcY6zx/RDdG0x2SMFLn AWaA== X-Received: by 10.68.233.138 with SMTP id tw10mr17446424pbc.83.1360580448779; Mon, 11 Feb 2013 03:00:48 -0800 (PST) Original-Received: from debian-6.05 ([101.63.220.123]) by mx.google.com with ESMTPS id ge5sm7315462pbc.45.2013.02.11.03.00.45 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 11 Feb 2013 03:00:47 -0800 (PST) In-Reply-To: <5118CC6C.3060007@gmail.com> (YE Qianchuan's message of "Mon, 11 Feb 2013 18:48:12 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.41 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:89069 Archived-At: YE Qianchuan writes: > On 02/11/2013 10:55 AM, Jambunathan K wrote: >> These two suggestions or from stackoverflow thread >> (http://stackoverflow.com/questions/7176276/what-is-script-name-symbol-means-for-emacs-set-fontset-font-function) >> >> M-: (char-table-extra-slot char-script-table 0) >> M-x list-character-sets >> >> Long time ago, I was trying to assign font to tamil/indic scripts. I >> was hoping that there would be a command like `describe-scripts' or some >> such thing. I was disappointed. >> >> May be there should be one. >> > Thanks. I had read this thread. It does say something but not > enough. Maybe I should look at the source. You were looking for symbols for scripts and I have included a dump of what the above sexp returns. I see hangul, hanunoo and han. As for Tamil script (which I use) I have the following in my .emacs. "Lohit Tamil" is the font to use for 'tamil script. ,---- | ;; Use the predefined fontset "fontset-standard" | (set-face-font 'default "fontset-default") | (set-fontset-font "fontset-default" 'tamil "Lohit Tamil") `---- ,---- (char-table-extra-slot char-script-table 0) | (latin phonetic greek coptic cyrillic armenian hebrew arabic | syriac thaana nko samaritan mandaic devanagari bengali gurmukhi | gujarati oriya tamil telugu kannada malayalam sinhala thai lao | tibetan burmese georgian hangul ethiopic cherokee | canadian-aboriginal ogham runic tagalog hanunoo buhid tagbanwa | khmer mongolian limbu tai-le tai-lue buginese tai-tham balinese | sundanese batak lepcha ol-chiki vedic symbol braille glagolitic | tifinagh han ideographic-description cjk-misc kana bopomofo | kanbun yi lisu vai bamum syloti-nagri north-indic-number phags-pa | saurashtra kayah-li rejang javanese cham tai-viet meetei-mayek | linear-b aegean-number ancient-greek-number ancient-symbol | phaistos-disc lycian carian olt-italic gothic ugaritic | old-persian deseret shavian osmanya cypriot-syllabary aramaic | phoenician lydian meroitic kharoshthi old-south-arabian avestan | inscriptional-parthian inscriptional-pahlavi old-turkic | rumi-number brahmi kaithi sora-sompeng chakma sharada takri | cuneiform cuneiform-numbers-and-punctuation egyptian miao | byzantine-musical-symbol musical-symbol | ancient-greek-musical-notation tai-xuan-jing-symbol | counting-rod-numeral mathematical mahjong-tile domino-tile | playing-cards) | `----