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

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

bug#30513: Unicode Character Name is misspelled (MATHEMATICAL ITALIC SMA


From: Noam Postavsky
Subject: bug#30513: Unicode Character Name is misspelled (MATHEMATICAL ITALIC SMALL LAMDA)
Date: Sun, 18 Feb 2018 13:29:28 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> +                (if (and (not old-name) new-name (string-match "LAMDA" 
>> new-name))
>> +                    (puthash (replace-match "LAMBDA" t t new-name) c names))
>
> Won't this make ucs-names even larger and more redundant?

It will make ucs-names slightly larger and more redundant.  I think the
trade-off is worth it.  To give precise numbers, it adds 12 entries for
a total of 42857, which is 0.029%.

    (length
     ;; Entries satisfying (and (not old-name) new-name (string-match "LAMDA" 
new-name))
     '("MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL LAMDA"
       "MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL LAMDA"
       "MATHEMATICAL SANS-SERIF BOLD SMALL LAMDA"
       "MATHEMATICAL SANS-SERIF BOLD CAPITAL LAMDA"
       "MATHEMATICAL BOLD ITALIC SMALL LAMDA"
       "MATHEMATICAL BOLD ITALIC CAPITAL LAMDA"
       "MATHEMATICAL ITALIC SMALL LAMDA"
       "MATHEMATICAL ITALIC CAPITAL LAMDA"
       "MATHEMATICAL BOLD SMALL LAMDA"
       "MATHEMATICAL BOLD CAPITAL LAMDA"
       "UGARITIC LETTER LAMDA"
       "GREEK LETTER SMALL CAPITAL LAMDA")) ;=> 12

    (hash-table-count ucs-names) ;=> 42857





reply via email to

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