On Sun, Mar 9, 2025 at 11:03 AM G. Branden Robinson <g.branden.robin...@gmail.com> wrote: > it appears that "removing" characters may have never really worked, > because the act of looking one up created it.
Do you have sample input that demonstrates this? Two simple tests--using the "c" conditional, and attempting to use the character--seem to show .rchar working fine. $ cat character_removal .nf .char \[unhappy] :-( .if c \[unhappy] .tm Unhappiness defined. I feel \[unhappy] .rchar \[unhappy] .if c \[unhappy] .tm Unhappiness still defined. I still feel \[unhappy] $ groff -Tascii character_removal | cat -s Unhappiness defined. troff:character_removal:7: warning: special character 'unhappy' not defined I feel :-( I still feel This output is the same (other than changes to the wording of the warning) from groff 1.19.2 to 1.23. (It fails in git HEAD because of #66675, but changing the name of the character to not start with lowercase "u" makes it produce the same results as well.)