Identify a mistake in the plain list drawer test.
This commit is contained in:
parent
f1880fdb7d
commit
49be5ae7b1
@ -62,4 +62,27 @@ This test interleaves the opening and closing of each element container to see w
|
|||||||
| Drawer | Section | First | First | First | First | First |
|
| Drawer | Section | First | First | First | First | First |
|
||||||
| Dynamic Block | Section | First | First | First | First | First |
|
| Dynamic Block | Section | First | First | First | First | First |
|
||||||
| Footnote Definition | Section | First | First | First | - | - |
|
| Footnote Definition | Section | First | First | First | - | - |
|
||||||
| Plain List | Section | Second | First | Second | - | First |
|
| Plain List | Section | Second | Second | Second | - | First |
|
||||||
|
* Possible solutions
|
||||||
|
** Create tiers of exit matchers
|
||||||
|
- Document level (sections/headlines)
|
||||||
|
- Greater Block / Dynamic Block
|
||||||
|
- Remaining element containers
|
||||||
|
- Object containers
|
||||||
|
*** What if we ignore exit matchers of lower tiers
|
||||||
|
**** Test Case 1
|
||||||
|
#+begin_src org
|
||||||
|
# A plain list containing a greater block that contains a drawer
|
||||||
|
1. foo
|
||||||
|
,#+begin_center
|
||||||
|
:drawername:
|
||||||
|
|
||||||
|
|
||||||
|
:end:
|
||||||
|
,#+end_center
|
||||||
|
2. bar
|
||||||
|
:drawername:
|
||||||
|
|
||||||
|
|
||||||
|
:end:
|
||||||
|
#+end_src
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
1. foo
|
1. foo
|
||||||
:drawername:
|
:drawername:
|
||||||
|
|
||||||
|
|
||||||
:end:
|
:end:
|
||||||
2. bar
|
2. bar
|
||||||
|
13
org_mode_samples/element_container_priority/test_case_1.org
Normal file
13
org_mode_samples/element_container_priority/test_case_1.org
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# A plain list containing a greater block that contains a drawer
|
||||||
|
1. foo
|
||||||
|
#+begin_center
|
||||||
|
:drawername:
|
||||||
|
|
||||||
|
|
||||||
|
:end:
|
||||||
|
#+end_center
|
||||||
|
2. bar
|
||||||
|
:drawername:
|
||||||
|
|
||||||
|
|
||||||
|
:end:
|
Loading…
Reference in New Issue
Block a user