Update of bug #65702 (group groff):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

This situation dates back to primordial groff.

The current .cp line was introduced in the 2001 rewrite of doc.tmac in
[http://git.savannah.gnu.org/cgit/groff.git/commit/?id=058f72af8 commit
058f72af8].  That rewritten version did not save/restore the previous mode,
and no one seems to have added such logic subsequently.

The pre-2001 doc.tmac file was imported (from a Berkeley version) in 1992 in
groff 1.05 ([http://git.savannah.gnu.org/cgit/groff.git/commit/?id=a48ab7b6d
commit a48ab7b6d]), when it lived at macros/tmac.doc.  This version of the
file also blindly did a ".cp 0" without saving or restoring the previous mode
(presumably a James Clark customization of the Berkeley file).

So it seems intentional, or at least hasn't caused any reported misbehavior in
over 30 years.  Do you see any properly formed mdoc document misbehaving
because of the hard-coded mode?

[comment #0 original submission:]
> previous state of compatibility (register '.cp') is not restored 

The request to change the mode is ".cp".  The corresponding register is ".C".


    _______________________________________________________

Reply to this item at:

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

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


Reply via email to