From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#9653: 24.0.50; `ucs-names' - Why all of the ("" . XXX) entries? Date: Wed, 5 Oct 2011 06:20:21 -0700 Message-ID: <304320641E4542E3AF5DAF795CFD12E9@us.oracle.com> References: <83sjn8r553.fsf@gnu.org> <15EC7D84019545E980B6E4C35CEC84EC@us.oracle.com> <8339f8hybp.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1317820880 12261 80.91.229.12 (5 Oct 2011 13:21:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2011 13:21:20 +0000 (UTC) Cc: 9653@debbugs.gnu.org To: "'Eli Zaretskii'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 05 15:21:12 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RBRPF-0001cZ-5U for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Oct 2011 15:21:05 +0200 Original-Received: from localhost ([::1]:45372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBRPE-0002xs-IP for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Oct 2011 09:21:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBRPB-0002xg-Hc for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 09:21:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBRP9-0001W0-7z for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 09:21:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBRP9-0001Vs-6A for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 09:20:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RBRPB-0003YH-LZ for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 09:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Oct 2011 13:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9653 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9653-submit@debbugs.gnu.org id=B9653.131782083913626 (code B ref 9653); Wed, 05 Oct 2011 13:21:01 +0000 Original-Received: (at 9653) by debbugs.gnu.org; 5 Oct 2011 13:20:39 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBROo-0003Xi-9e for submit@debbugs.gnu.org; Wed, 05 Oct 2011 09:20:39 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBROm-0003XX-14 for 9653@debbugs.gnu.org; Wed, 05 Oct 2011 09:20:37 -0400 Original-Received: from ucsinet23.oracle.com (ucsinet23.oracle.com [156.151.31.71]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p95DKPaB009185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 5 Oct 2011 13:20:26 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet23.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p95DKO0P001923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Oct 2011 13:20:24 GMT Original-Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p95DKIGd030505; Wed, 5 Oct 2011 08:20:18 -0500 Original-Received: from dradamslap1 (/10.159.33.40) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 05 Oct 2011 06:20:18 -0700 X-Mailer: Microsoft Office Outlook 11 In-reply-to: <8339f8hybp.fsf@gnu.org> Thread-Index: AcyDFOYaRYudf7nISSuBNAUbs8DWKQASx4LA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: ucsinet23.oracle.com [156.151.31.71] X-CT-RefId: str=0001.0A090208.4E8C599B.005A,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 05 Oct 2011 09:21:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52213 Archived-At: > > I supposed, however, that each empty-name alist entry has > > an alter-ego entry that has the same code point but also > > has a non-empty name: e.g. ("" . 32) & ("SPACE" . 32). > > Yes, each character code is entered into the alist twice: once with > its name, and another time with its "old name", which is empty for > most of the characters. I thought the code fragment I posted made > that clear. Yes, it did make it (abundantly, redundantly) clear. As it was already clear from Stefan's earlier code-fragment post. And as it was clear to me from the beginning, after looking at the code. Not the question. What I was incorrectly supposing was that every character code corresponded to either a non-empty name or a non-empty old-name. I did not realize that both names might be empty. > > I see in fact that there are some `ucs-names' entries that, > > yes, constitute a pair with the same character code, yet > > _both_ are empty. E.g., ("" . 11565) & ("" . 11565). > > These are undefined characters. 11565 is hex 2d2d; you will not find > such a codepoint in the Unicode database. Great. If they are all such, then I suppose we can in fact filter out all empty entries.