unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: michipili@gmail.com, 30513@debbugs.gnu.org
Subject: bug#30513: Unicode Character Name is misspelled (MATHEMATICAL ITALIC SMALL LAMDA)
Date: Sun, 18 Feb 2018 13:29:28 -0500	[thread overview]
Message-ID: <87inau5eyf.fsf@gmail.com> (raw)
In-Reply-To: <83woza9q0s.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 18 Feb 2018 19:16:51 +0200")

Eli Zaretskii <eliz@gnu.org> 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





  parent reply	other threads:[~2018-02-18 18:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-18 14:58 bug#30513: Unicode Character Name is misspelled (MATHEMATICAL ITALIC SMALL LAMDA) Michael Grünewald
2018-02-18 15:04 ` Noam Postavsky
2018-02-18 15:23   ` Michael Grünewald
2018-02-18 15:54     ` Noam Postavsky
     [not found]       ` <83woza9q0s.fsf@gnu.org>
2018-02-18 18:29         ` Noam Postavsky [this message]
2018-02-18 19:49           ` Drew Adams
2018-02-23 19:50             ` Marcin Borkowski
2018-02-23 20:15               ` Drew Adams
2018-02-24 20:41                 ` Marcin Borkowski
2020-09-04  4:45       ` Lars Ingebrigtsen
2018-02-18 16:31     ` Eli Zaretskii
2018-02-18 16:31   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87inau5eyf.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=30513@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=michipili@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).