From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs 23 character code space Date: Wed, 26 Nov 2008 06:13:48 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1227672840 15387 80.91.229.12 (26 Nov 2008 04:14:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Nov 2008 04:14:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 26 05:15:04 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L5Bnr-0002Zb-7x for ged-emacs-devel@m.gmane.org; Wed, 26 Nov 2008 05:15:03 +0100 Original-Received: from localhost ([127.0.0.1]:60159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5Bmh-0006m9-Ig for ged-emacs-devel@m.gmane.org; Tue, 25 Nov 2008 23:13:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L5Bmc-0006ls-Ds for emacs-devel@gnu.org; Tue, 25 Nov 2008 23:13:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L5Bma-0006lX-BF for emacs-devel@gnu.org; Tue, 25 Nov 2008 23:13:45 -0500 Original-Received: from [199.232.76.173] (port=59129 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5Bma-0006lU-6S for emacs-devel@gnu.org; Tue, 25 Nov 2008 23:13:44 -0500 Original-Received: from mtaout7.012.net.il ([84.95.2.19]:27398) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L5BmZ-0006CA-Rj for emacs-devel@gnu.org; Tue, 25 Nov 2008 23:13:44 -0500 Original-Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KAX00D00AFFQ300@i-mtaout7.012.net.il> for emacs-devel@gnu.org; Wed, 26 Nov 2008 06:15:46 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.208.69]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KAX005HKAIAJD50@i-mtaout7.012.net.il>; Wed, 26 Nov 2008 06:15:46 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106188 Archived-At: > From: Kenichi Handa > CC: emacs-devel@gnu.org > Date: Wed, 26 Nov 2008 10:41:01 +0900 > > In article , Eli Zaretskii writes: > > > A character set is a set of characters, and it assigns a unique code > > point to each character belonging to the set. Emacs decodes a > > specific code point of a specific character set to an Emacs character. > > > Does this mean a character set is equivalent to a coding-system, > > meaning that a coding-system is a mapping between a character set and > > the Emacs internal codepoints? > > No. A coding-system is a mapping between a sequence of > characters and a sequence of bytes. Then how to understand this sentence you wrote: Emacs decodes a specific code point of a specific character set to an Emacs character. Under what circumstances does this decoding happen? The only type of ``decoding'' I knew about until now was by decode-coding-region and friends, which use a coding-system to decode a byte sequence into Emacs characters.