From: Kenichi Handa <handa@m17n.org>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: emacs-devel@gnu.org
Subject: Re: multiple destinations in charset mapping files
Date: Thu, 25 Jun 2009 09:36:36 +0900 [thread overview]
Message-ID: <E1MJcxA-0000sT-5x@etlken> (raw)
In-Reply-To: <wlab3y9hkj.wl%mituharu@math.s.chiba-u.ac.jp> (message from YAMAMOTO Mitsuharu on Wed, 24 Jun 2009 17:11:56 +0900)
In article <wlab3y9hkj.wl%mituharu@math.s.chiba-u.ac.jp>, YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> writes:
> I noticed that some charset mapping files such as
> etc/charsets/symbol.map contain entries where the same source is
> mapped to multiple destinations, and the latter one is preferred in
> decoding in such cases.
> 0x20 0x0020
> 0x20 0x00A0
> (decode-char 'symbol #x20) -> 160
> But at least for symbol.map, it seems to be more natural to prefer the
> former entry (e.g., SPACE vs. NO-BRAKE SPACE, GREEK CAPITAL LETTER
> DELTA vs. INCREMENT). WDYT?
I agree. By this script in etc/charsets:
% for f in *.map; do awk '{print $1}' < $f | sort | uniq -c | grep '^ *[2-9] 0' && echo $f; done
I confirmed only symbol.map and stdenc.map contain such
duplications, so I regenrated those maps (simply by doing
sort -r) and committed to EMACS_23_1_RC and trunk.
Do you find any other maps that have duplications?
---
Kenichi Handa
handa@m17n.org
next prev parent reply other threads:[~2009-06-25 0:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-24 8:11 multiple destinations in charset mapping files YAMAMOTO Mitsuharu
2009-06-25 0:36 ` Kenichi Handa [this message]
2009-06-25 2:31 ` YAMAMOTO Mitsuharu
2009-06-25 3:45 ` 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=E1MJcxA-0000sT-5x@etlken \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
--cc=mituharu@math.s.chiba-u.ac.jp \
/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).