[Top][All Lists]

[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: Stefan Monnier
Subject: bug#9653: 24.0.50; `ucs-names' - Why all of the ("" . XXX) entries?
Date: Wed, 05 Oct 2011 08:40:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

>> I'll repeat that when one want to know what Unicode says about the
>> name of a character, the answer is "", not "<Unnamed>".
> Correct.

Doesn't matter.  The point is that it's easier to turn nil into
something else (e.g. "") than to turn "" into something else (e.g. nil).

>> I'm not sure because there are multiple use-cases of
>> get-char-code-property, and nil is better only in some of them.
>> But, it's just "I'm not sure".  If you are sure, as I wrote above,
>> I'll change it back.

I'm sure.

> what-cursor-position etc., where we will now need to display an empty
> string when we get nil.

Big deal: that's just an (or ... "").

And in any case no matter what the standard says, I'm pretty sure end
users would prefer to be told explicitly that a char doesn't have a name
rather than to see an empty field and wonder what that means.


reply via email to

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