[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62036] [PATCH] Document how environments are initialized
From: |
G. Branden Robinson |
Subject: |
[bug #62036] [PATCH] Document how environments are initialized |
Date: |
Tue, 15 Mar 2022 08:24:18 -0400 (EDT) |
Follow-up Comment #8, bug #62036 (project groff):
> And the footnote as written in this attachment isn't entirely accurate,
saying "switching to an environment with an existing name moves it from its
place in the stack to the top." The word "moves" indicates that it's removed
from its position in the stack, which is not the case. An environment can be
in the stack multiple times, even adjacently.
This does not appear to be true.
$ cat EXPERIMENTS/stack-pusher.groff
.ev 1
.ev 2
.ev 3
.ev 2
.ev 4
.tm 4=\n[.ev]
.ev
.tm 2=\n[.ev]
.ev
.tm 3=\n[.ev]
.ev
.tm 2=\n[.ev]
.ev
.tm 1=\n[.ev]
.ev
.tm 0=\n[.ev]
.ev
$ ./build/test-groff -b -ww -Tutf8 EXPERIMENTS/stack-pusher.groff
4=4
2=3
3=2
2=1
1=0
0=0
troff: backtrace: file 'EXPERIMENTS/stack-pusher.groff':17
troff:EXPERIMENTS/stack-pusher.groff:17: error: environment stack underflow
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62036>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62036] [PATCH] Document how environments are initialized, G. Branden Robinson, 2022/03/15
- [bug #62036] [PATCH] Document how environments are initialized, G. Branden Robinson, 2022/03/15
- [bug #62036] [PATCH] Document how environments are initialized,
G. Branden Robinson <=
- [bug #62036] [PATCH] Document how environments are initialized, G. Branden Robinson, 2022/03/15
- [bug #62036] [PATCH] Document how environments are initialized, G. Branden Robinson, 2022/03/15
- [bug #62036] [PATCH] Document how environments are initialized, G. Branden Robinson, 2022/03/15
- [bug #62036] [PATCH] Document how environments are initialized, G. Branden Robinson, 2022/03/15
- [bug #62036] [PATCH] Document how environments are initialized, Dave, 2022/03/15
- [bug #62036] [PATCH] Document how environments are initialized, G. Branden Robinson, 2022/03/15
- [bug #62036] [PATCH] Document how environments are initialized, G. Branden Robinson, 2022/03/18