From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#3526: 23.0.94; `list-character-sets' display Date: Wed, 17 Jun 2009 15:42:57 +0900 Message-ID: References: <8385521F908145EE8D60682CEAB9D7D1@us.oracle.com> <3057BD2C673B48079D31AC58DBF72C08@us.oracle.com> Reply-To: Kenichi Handa , 3526@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1245221859 5559 80.91.229.12 (17 Jun 2009 06:57:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jun 2009 06:57:39 +0000 (UTC) Cc: 3526@emacsbugs.donarmstrong.com To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 17 08:57:36 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MGp5T-0001jD-JS for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jun 2009 08:57:36 +0200 Original-Received: from localhost ([127.0.0.1]:33824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGp5T-0004i4-5P for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jun 2009 02:57:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGp5O-0004hz-HB for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2009 02:57:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGp5I-0004gY-HL for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2009 02:57:28 -0400 Original-Received: from [199.232.76.173] (port=58156 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGp5I-0004gB-8w for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2009 02:57:24 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:15300) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MGp5H-0005ZP-M9 for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2009 02:57:23 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGp5G-00014q-Lm for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2009 02:57:22 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5H6vK9Y012329; Tue, 16 Jun 2009 23:57:21 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5H6o5Q5010916; Tue, 16 Jun 2009 23:50:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Jun 2009 06:50:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3526 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3526-submit@emacsbugs.donarmstrong.com id=B3526.12452209859935 (code B ref 3526); Wed, 17 Jun 2009 06:50:05 +0000 Original-Received: (at 3526) by emacsbugs.donarmstrong.com; 17 Jun 2009 06:43:05 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5H6gxof009921 for <3526@emacsbugs.donarmstrong.com>; Tue, 16 Jun 2009 23:43:01 -0700 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n5H6gv8D025798; Wed, 17 Jun 2009 15:42:57 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n5H6gvTO008478; Wed, 17 Jun 2009 15:42:57 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id n5H6gvKu010355; Wed, 17 Jun 2009 15:42:57 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MGorJ-0004Hk-52; Wed, 17 Jun 2009 15:42:57 +0900 In-reply-to: <3057BD2C673B48079D31AC58DBF72C08@us.oracle.com> (drew.adams@oracle.com) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Wed, 17 Jun 2009 02:57:28 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28760 Archived-At: In article <3057BD2C673B48079D31AC58DBF72C08@us.oracle.com>, "Drew Adams" writes: > > I updated the Info node (emacs)Charsets for the new way of > > charsets handling and added @findex for list-character-sets > > (in doc/emacs/mule.texi), and modified list-character-sets-1 > > to do above (in lisp/international/mule-diag.el). Please > > check the English wording of the new text and fix/improve > > it. > Thanks for the fix. > If you can send me the new text or point me to a URL that has it, I'll take a > look at the English. If not, someone else can perhaps help with this. Thx. This is the one-line help in *Character Set List* buffer, ------------------------------------------------------------ Character sets for defining another charset or obsolete now ------------------------------------------------------------ and this is the "Charsets" node of mule.texi. ------------------------------------------------------------ @node Charsets @section Charsets @cindex charsets Emacs defines most of popular character sets (e.g. ascii, iso-8859-1, cp1250, big5, unicode) as @dfn{charsets} and a few of its own charsets (e.g. emacs, unicode-bmp, eight-bit). All supported characters belong to one or more charsets. Usually you don't have to take care of ``charset'', but knowing about it may help understanding the behavior of Emacs in some cases. One example is a font selection. In each language environment, charsets have different priorities. Emacs, at first, tries to use a font that matches with charsets of higher priority. For instance, in Japanese language environment, the charset @code{japanese-jisx0208} has the highest priority (@xref{describe-language-environment}). So, Emacs tries to use a font whose @code{registry} property is ``JISX0208.1983-0'' for characters belonging to that charset. Another example is a use of @code{charset} text property. When Emacs reads a file encoded in a coding systems that uses escape sequences to switch charsets (e.g. iso-2022-int-1), the buffer text keep the information of the original charset by @code{charset} text property. By using this information, Emacs can write the file with the same byte sequence as the original. @findex list-charset-chars @cindex characters in a certain charset @findex describe-character-set There are two commands for obtaining information about Emacs charsets. The command @kbd{M-x list-charset-chars} prompts for a charset name, and displays all the characters in that character set. The command @kbd{M-x describe-character-set} prompts for a charset name and displays information about that charset, including its internal representation within Emacs. @findex list-character-sets To display a list of all the supported charsets, type @kbd{M-x list-character-sets}. The list gives the names of charsets and additional information to identity each charset (see ISO/IEC's this page for the detail). In the list, charsets are categorized into two; the normal charsets are listed first, and the supplementary charsets are listed last. A charset in the latter category is used for defining another charset (as a parent or a subset), or was used only in Emacs of the older versions. To find out which charset a character in the buffer belongs to, put point before it and type @kbd{C-u C-x =}. ------------------------------------------------------------ --- Kenichi Handa handa@m17n.org