>>>>> "Peter" == Peter Van Eynde <pvaneynd@...> writes:
Peter> On Mon, Jul 08, 2002 at 12:26:38PM -0400, Raymond Toy wrote:
>> I've run the ansi test suite for the first time and have a few
>> questions about the various tests.
Peter> Good. Notice that I don't claim the test is perfect. Far from it.
>> o What is the purpose of the character name tests
>> (CHARACTERS-WITHOUT-GOOD-NAMES)? Are names required for all of the
>> possible characters? I couldn't find anything that says so.
Peter> See (on a debian machine):
Peter> (go to 13.1.7 in the hyperspec and click on names)
Peter> 5. n. (of a character) a string that names the character and that has
Peter> length greater than one. (All non-graphic characters are required to
Peter> have names unless they have some implementation-defined attribute
Peter> which is not null. Whether or not other characters have names is
Peter> as (code-char 65) doesn't have a name I fear we break the standard, not?
After looking around some more, I think if graphic-char-p is T, then
we aren't required to have a name. So I think this test should really
(let ((wrong-codes nil))
(let ((c (code-char code)))
(unless (or (graphic-char-p c)
(eql c (name-char (char-name c))))
(push code wrong-codes))))
But perhaps the intent here is that you really WANT names for all
characters, in which case, the original is ok.