Subject: bug#17702: 24.3; insert-char no longer inserts "bell" control character

From: Eli Zaretskii <[email-masked]>
Date: Thu, 05 Jun 2014 20:35:05 +0300

> From: Stefan Monnier <[email-masked]>
> Cc: Ulrich Mueller <[email-masked]>,  [email-masked]
> Date: Thu, 05 Jun 2014 13:05:55 -0400
> 
> > That's because U+1F541 has "BELL" as its 'name' property, whereas
> > u+0007 has "BELL" as its 'old-name' property.  Emacs completion picks
> > only one from these 2 duplicate candidates.
> 
> It's not just a question of completion: u+0007 does not seem to have
> a "name", and U+1F541 does not seem to have an "old-name", so the only
> thing we don't have much to disambiguate the two, and given the "old-"
> prefix, we prefer the char whose "name" matches.

Where in the code do we prefer 'name' to 'old-name'?  Perhaps we
shouldn't.  (I thought we treated them equally.)