Ar an triochadú lá de mí Iúil, scríobh Aidan Kehoe:
> + /* Control 0; treat as punctuation */
> + SET_RANGE_SYNTAX(0, 32, Spunct);
> + /* DEL plus Control 1 */
> + SET_RANGE_SYNTAX(127, 159, Spunct);
>
> There really oughtta be a better way, don't you think? We really
> ought to have an Scntrl class. (Not seriously suggesting doing
> something about it now, that's obviously a can of worms.)
>
> By the way, what's the logic for Spunct? Something like, these are
> clearly word boundaries, but they can't be whitespace because we don't
> want them "catenating up" with "real" whitespace?
More like, they’re not whitespace, and GNU have gone for punctuation. Weak,
I know.
Ach, sorry, GNU haven’t gone for punctuation for the second range of control
characters, just the first. Their logic for moving to punctuation
syntax--David Kastrup says ‘I think “punctuation” would make more sense.
This designates stuff that is neither a component of words nor of symbols,
and not whitespace.’--holds just as well for the second range of control
characters as for the first, and that control-1 wasn’t included was an
artefact of Stallman doing the commit.
--
Santa Maradona, priez pour moi!