all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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




  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

* 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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.