bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9653: 24.0.50; `ucs-names' - Why all of the ("" . XXX) entries?


From: Eli Zaretskii
Subject: bug#9653: 24.0.50; `ucs-names' - Why all of the ("" . XXX) entries?
Date: Tue, 04 Oct 2011 20:19:36 +0200

> From: "Drew Adams" <address@hidden>
> Date: Tue, 4 Oct 2011 10:34:08 -0700
> Cc: address@hidden
> 
> 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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]