From: David De La Harpe Golden <david@harpegolden.net>
To: James Cloos <cloos@jhcloos.com>
Cc: emacs-devel@gnu.org
Subject: Re: X11 Compound Text vs ISO 2022
Date: Wed, 07 Jul 2010 02:15:03 +0100 [thread overview]
Message-ID: <4C33D517.2060501@harpegolden.net> (raw)
In-Reply-To: <4C33BE6A.2090707@harpegolden.net>
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 "ℜ" 'compound-text) ; U+211C BLACK-LETTER
> CAPITAL R
> > "^[$-1\365\334^[-A"
> > (encode-coding-string "ʻ" 'compound-text) ; U+02BB MODIFIER LETTER
> TURNED COMMA
> > "^[$-1\244\333^[-A"
>
> > That is encoded in mule-unicode-0100-24ff, essentially unknown outside
> > 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 0213
The definition of coding systems compound-text and
compound-text-with-extensions say (around line 1445 of
lisp/international/mule-conf.el):
:charset-list 'iso-2022
Which accoding to define-coding-system doc means it thinks compound-text
supports "all iso-2022 charsets"...
So maybe it could/should be trimmed to only those iso-2022 charsets in
the compound text spec, though I'm not sure that naively adjusting
:charset-list will work right, especially for
compound-text-with-extensions (I just managed to segfault emacs playing
with it).
next prev parent reply other threads:[~2010-07-07 1:15 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-06 16:21 X11 Compound Text vs ISO 2022 James Cloos
2010-07-06 20:18 ` David De La Harpe Golden
2010-07-06 22:30 ` James Cloos
2010-07-07 0:36 ` Stephen J. Turnbull
2010-07-07 5:19 ` James Cloos
2010-07-07 19:51 ` James Cloos
2010-07-08 0:24 ` David De La Harpe Golden
2010-07-14 21:07 ` James Cloos
2010-07-06 23:38 ` David De La Harpe Golden
2010-07-07 1:15 ` David De La Harpe Golden [this message]
2010-07-07 4:55 ` James Cloos
2010-07-29 12:36 ` Kenichi Handa
2010-07-29 15:51 ` James Cloos
2010-07-30 1:27 ` Kenichi Handa
2010-07-30 18:46 ` James Cloos
2010-08-01 9:35 ` Stephen J. Turnbull
2010-08-01 11:06 ` James Cloos
2010-08-02 8:14 ` Stephen J. Turnbull
2010-08-06 12:50 ` Kenichi Handa
2010-08-08 9:47 ` James Cloos
2010-08-09 1:49 ` Kenichi Handa
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C33D517.2060501@harpegolden.net \
--to=david@harpegolden.net \
--cc=cloos@jhcloos.com \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).