How can I avoid the same line being gagged twice by #line gag and #gag?
I may not have made my question clear. Please see the following example:
#gag {hello test}
#action {hello test} {#sh HELLO TEST; #line gag}
#sh hello test; #sh LINE 2222; #sh LINE 3333; #sh LINE 4444
HELLO TEST
LINE 3333
LINE 4444
What happened was that I did a retouching of some lines in one place, replacing the initial text with an edited replacement, so I would think of using #show to output the new replacement, and #line gag to suppress the initial text.
Unfortunately, however, the initial text also triggers another #gag rule, which causes it to be gagged twice, with the actual result that the line of text after it is incorrectly gagged.
I haven't thought of any way to avoid this yet, so I'm sending this issue for help.
How can I avoid the same line being gagged twice by
#line gag
and#gag
?I may not have made my question clear. Please see the following example:
What happened was that I did a retouching of some lines in one place, replacing the initial text with an edited replacement, so I would think of using
#show
to output the new replacement, and#line gag
to suppress the initial text.Unfortunately, however, the initial text also triggers another
#gag
rule, which causes it to be gagged twice, with the actual result that the line of text after it is incorrectly gagged.I haven't thought of any way to avoid this yet, so I'm sending this issue for help.