From: YE Qianchuan <stool.ye@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to get the script name symbols of a specific character?
Date: Tue, 12 Feb 2013 23:12:04 +0800 [thread overview]
Message-ID: <511A5BC4.1020702@gmail.com> (raw)
In-Reply-To: <5117C3FC.5020608@gmail.com>
Hi, all. I make it.
After reading the char-table part of manual and re-checking those
relevant variables, eventually I've found the solution, which is quite
simpler than I thought.
When you have a character c and want to get its script name symbol,
just simply call `char-table-range', like
(char-table-range char-script-table c).
For examples, (char-table-range char-script-table ?a) will return
symbol 'latin. (char-table-range char-script-table #x1f600) return
symbol 'symbol, which indicates the script name symbol of #x1f600 is
'symbol.
See the document of char-table-range to find more details.
prev parent reply other threads:[~2013-02-12 15:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-10 15:59 How to get the script name symbols of a specific character? YE Qianchuan
2013-02-11 2:55 ` Jambunathan K
2013-02-11 10:48 ` YE Qianchuan
2013-02-11 11:00 ` Jambunathan K
2013-02-11 14:50 ` YE Qianchuan
2013-02-11 11:34 ` Jambunathan K
2013-02-11 15:07 ` YE Qianchuan
2013-02-11 15:17 ` YE Qianchuan
2013-02-11 19:57 ` Jambunathan K
2013-02-11 20:08 ` Eli Zaretskii
2013-02-11 21:46 ` Jambunathan K
2013-02-11 15:57 ` Stefan Monnier
2013-02-12 15:22 ` YE Qianchuan
2013-02-11 20:11 ` T.F. Torrey
2013-02-12 15:12 ` YE Qianchuan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=511A5BC4.1020702@gmail.com \
--to=stool.ye@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.