Follow-up Comment #12, bug #66392 (group groff):

[comment #9 comment #9:]
> I had no way to know if an
> environment had already been created.  That makes it harder for a
> package (or, less likely, document) author to manage environment
> initialization.  I'm pondering a new `E` conditional operator for this.

I ran into a more specific instance of this roadblock.  Trying to
conditionally invoke .hla is complicated by the fact that if the hyphenation
language is currently undefined, the built-in register \n[.hla] is still
defined, even though its value is the empty string.  So ".if r .hla" doesn't
do what one would hope.

One can, of course, string-compare \n[.hla] to the empty string, but the
purist in me prefers a clearer distinction between the concepts "empty" and
"undefined" (though that's possibly a distinction the software itself doesn't
make).


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66392>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to