From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9653: 24.0.50; `ucs-names' - Why all of the ("" . XXX) entries? Date: Tue, 04 Oct 2011 20:19:36 +0200 Message-ID: <83sjn8r553.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1317752451 2825 80.91.229.12 (4 Oct 2011 18:20:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2011 18:20:51 +0000 (UTC) Cc: 9653@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 04 20:20:43 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 1RB9be-0005nx-Eq for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 20:20:42 +0200 Original-Received: from localhost ([::1]:53686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB9bd-0003UP-Ti for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 14:20:41 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB9bW-000361-EG for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 14:20:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RB9bV-000735-2O for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 14:20:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB9bU-000730-TK for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 14:20:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RB9cw-0005Z9-90 for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 14:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2011 18:22:02 +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.131775247521321 (code B ref 9653); Tue, 04 Oct 2011 18:22:02 +0000 Original-Received: (at 9653) by debbugs.gnu.org; 4 Oct 2011 18:21:15 +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 1RB9cB-0005Xq-AT for submit@debbugs.gnu.org; Tue, 04 Oct 2011 14:21:15 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RB9c8-0005Xf-Vo for 9653@debbugs.gnu.org; Tue, 04 Oct 2011 14:21:14 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LSJ00200ZZ6T200@a-mtaout21.012.net.il> for 9653@debbugs.gnu.org; Tue, 04 Oct 2011 20:19:39 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.91.138]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LSK002GZ08MPQ80@a-mtaout21.012.net.il>; Tue, 04 Oct 2011 20:19:36 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 04 Oct 2011 14:22:02 -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:52174 Archived-At: > From: "Drew Adams" > Date: Tue, 4 Oct 2011 10:34:08 -0700 > Cc: 9653@debbugs.gnu.org > > BTW, almost _half_ of the entries in `ucs-names' have "" as the name. It should be clear from looking at the code of the function that this is expected: (if (setq name (get-char-code-property c 'name)) (push (cons name c) names)) (if (setq name (get-char-code-property c 'old-name)) (push (cons name c) names)) Now look at the "Old Name" fields of the characters in the Unicode database and tell me what you see there. And if this is not enough, then this excerpt from the full output of the function should explain the rest: ("" . 44) ("COMMA" . 44) ("" . 43) ("PLUS SIGN" . 43) ("" . 42) ("ASTERISK" . 42) ("CLOSING PARENTHESIS" . 41) ("RIGHT PARENTHESIS" . 41) ("OPENING PARENTHESIS" . 40) ("LEFT PARENTHESIS" . 40) ("APOSTROPHE-QUOTE" . 39) ("APOSTROPHE" . 39) ("" . 38) ("AMPERSAND" . 38) ("" . 37) ("PERCENT SIGN" . 37) ("" . 36) ("DOLLAR SIGN" . 36) ("" . 35) ("NUMBER SIGN" . 35) ("" . 34) ("QUOTATION MARK" . 34) ("" . 33) ("EXCLAMATION MARK" . 33) ("" . 32) ("SPACE" . 32) Any questions?