From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: X11 Compound Text vs ISO 2022 Date: Wed, 07 Jul 2010 02:15:03 +0100 Message-ID: <4C33D517.2060501@harpegolden.net> References: <4C33BE6A.2090707@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278465326 30716 80.91.229.12 (7 Jul 2010 01:15:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Jul 2010 01:15:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: James Cloos Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 07 03:15:24 2010 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.69) (envelope-from ) id 1OWJEO-0005DS-2l for ged-emacs-devel@m.gmane.org; Wed, 07 Jul 2010 03:15:23 +0200 Original-Received: from localhost ([127.0.0.1]:43342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWJEG-0004jd-T6 for ged-emacs-devel@m.gmane.org; Tue, 06 Jul 2010 21:15:12 -0400 Original-Received: from [140.186.70.92] (port=45679 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWJEB-0004gm-Kh for emacs-devel@gnu.org; Tue, 06 Jul 2010 21:15:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWJEA-0006oi-8V for emacs-devel@gnu.org; Tue, 06 Jul 2010 21:15:07 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:48849) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWJEA-0006oa-5d for emacs-devel@gnu.org; Tue, 06 Jul 2010 21:15:06 -0400 Original-Received: from [87.198.54.8] (87-198-54-8.ptr.magnet.ie [87.198.54.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 004E0684B7; Wed, 7 Jul 2010 02:15:03 +0100 (IST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 In-Reply-To: <4C33BE6A.2090707@harpegolden.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:126854 Archived-At: On 07/07/10 00:38, David De La Harpe Golden wrote: > > A number of characters are output in '^[$-1'; such as: > > (encode-coding-string "=E2=84=9C" 'compound-text) ; U+211C BLACK-LET= TER > CAPITAL R > > "^[$-1\365\334^[-A" > > (encode-coding-string "=CA=BB" 'compound-text) ; U+02BB MODIFIER LET= TER > TURNED COMMA > > "^[$-1\244\333^[-A" > > > That is encoded in mule-unicode-0100-24ff, essentially unknown outsi= de > > Emacs. > > But actually I think emacs should be using using coding system > compound-text-with-extensions by default, not coding system > compound-text? At least if you haven't customized > selection-coding-system. Well, that probably "solves" one thing, but what about the use of JIS X 0= 213 The definition of coding systems compound-text and=20 compound-text-with-extensions say (around line 1445 of=20 lisp/international/mule-conf.el): :charset-list 'iso-2022 Which accoding to define-coding-system doc means it thinks compound-text=20 supports "all iso-2022 charsets"... So maybe it could/should be trimmed to only those iso-2022 charsets in=20 the compound text spec, though I'm not sure that naively adjusting=20 :charset-list will work right, especially for=20 compound-text-with-extensions (I just managed to segfault emacs playing=20 with it).