Tom Alexander
6ce25c8a3b
Update property drawer empty test to include a variety of whitespace.
2023-12-15 14:25:01 -05:00
Tom Alexander
3eff85059a
Add support for planning before property drawer when calculating additional properties for headlines.
2023-10-16 13:35:03 -04:00
Tom Alexander
68f8e04ee8
Add tests for affiliated keywords before elements that cannot have affiliated keywords.
2023-10-12 17:46:25 -04:00
Tom Alexander
42dcd41e48
Add tests for document properties.
2023-10-11 16:02:44 -04:00
Tom Alexander
a9f067e25a
Update name tests to use all the affiliated keywords.
2023-10-11 15:25:09 -04:00
Tom Alexander
e767892dd5
Add capitalization.
2023-10-11 12:42:42 -04:00
Tom Alexander
0d1ab0e75a
Add a debug assert for org entities being sorted.
2023-10-11 12:16:35 -04:00
Tom Alexander
d550966516
Add a test with all the affiliated keyword types.
2023-10-10 18:02:23 -04:00
Tom Alexander
f543caee00
compare_properties plain list item.
2023-10-09 21:55:29 -04:00
Tom Alexander
5cd34ba3a2
Create a new context tree when calling into confine_context.
...
The parent exit matchers were causing an issue.
2023-10-09 18:02:36 -04:00
Tom Alexander
da2d7535e8
Add synonyms for name.
2023-10-05 00:30:33 -04:00
Tom Alexander
93fe46e4e7
Populate the name field on elements.
2023-10-04 21:27:55 -04:00
Tom Alexander
d8102b7bc2
Move the affiliated keywords parser inside the specific element parsers.
...
We need access to the affiliated keywords to do things like set the name of the element, and only half the element parsers are allowed to have affiliated keywords, so it makes sense to move it inside the specific parsers.
2023-10-04 20:55:48 -04:00
Tom Alexander
36217f5704
Do not capture trailing whitespace in parameters.
2023-10-02 21:14:07 -04:00
Tom Alexander
0c363c8dd6
Add tests for tab width.
2023-09-29 16:03:55 -04:00
Tom Alexander
6670f8c768
Add tests for alphabetic counter sets.
2023-09-29 14:26:39 -04:00
Tom Alexander
f0a7493a89
Support blank lines for descriptive list with empty value before final list item.
2023-09-21 22:03:21 -04:00
Tom Alexander
dc5695ec9f
Update description list test to ensure we match blank values properly for both final and non-final items.
2023-09-21 21:47:42 -04:00
Tom Alexander
c892d406c3
Do not parse the tag for a plain list item if it is an ordered plain list item.
2023-09-21 20:58:03 -04:00
Tom Alexander
1a41cfc6c7
Support detecting line indentation when checking for contentless plain list items.
2023-09-21 20:08:04 -04:00
Tom Alexander
a7e130838d
Add a test showing that table formulas with no value do not get associated with the table.
2023-09-21 14:10:20 -04:00
Tom Alexander
4c8d9a3063
Do not require a colon to close dynamic blocks.
2023-09-20 02:37:26 -04:00
Tom Alexander
6c7203410e
Add a test showing we're not handling leading blank lines in greater blocks.
2023-09-15 17:02:41 -04:00
Tom Alexander
ac0db64081
Add cargo directive to rebuild the auto-generated tests when files under org_mode_samples get updated.
rust-test Build rust-test has failed
rust-build Build rust-build has succeeded
rust-foreign-document-test Build rust-foreign-document-test has failed
2023-09-13 21:28:44 -04:00
Tom Alexander
925c42c8fb
Add test showing we currently are letting emacs align tables at startup.
2023-09-13 21:02:38 -04:00
Tom Alexander
8440a3b256
Update test to show that we are not parsing description lists with double colon inside the tag correctly.
2023-09-11 10:01:50 -04:00
Tom Alexander
cc56b79683
Add a test showing we're not handling table formulas.
2023-09-08 22:42:24 -04:00
Tom Alexander
6a1bdd5fee
Support blank lines before content in footnote definitions.
2023-09-08 21:11:47 -04:00
Tom Alexander
5d20d3e99b
Add a test showing we are not handling empty space for footnote definitions correctly.
2023-09-08 20:28:21 -04:00
Tom Alexander
344ef04453
Add tests showing we are not handling tabs appropriately for description list tags.
2023-09-08 19:53:58 -04:00
Tom Alexander
b04341882c
Add test showing that we are not handling trailing spaces in description list tags correctly.
2023-09-08 19:24:03 -04:00
Tom Alexander
0110d23387
Update empty list test to show that we're not handling trailing whitespace for empty list items properly.
2023-09-08 18:41:57 -04:00
Tom Alexander
0056657b65
Add a test showing the plain text parser is not handling subsets of objects like inside a table cell.
2023-09-08 17:27:02 -04:00
Tom Alexander
57c2922e4a
Add test showing problem is description list parser.
2023-09-08 12:50:51 -04:00
Tom Alexander
f8b99ed235
Support counter set in plain list items.
2023-09-06 19:09:20 -04:00
Tom Alexander
49afcf0db6
Support property nodes with colons in their key.
2023-09-06 18:54:01 -04:00
Tom Alexander
949d0989f4
Add a test showing the current parser is broken with deeply nested greater blocks.
2023-08-31 19:15:28 -04:00
Tom Alexander
2a4d22bdd4
Add test for nesting of greater blocks.
...
This shows that greater blocks of different types can be directly nested even if they are both special blocks (as long as they are different special blocks).
2023-08-31 19:09:38 -04:00
Tom Alexander
5171326d63
Create a test for special blocks.
2023-08-31 19:02:18 -04:00
Tom Alexander
bfc9e7f58d
When re-parsing last item in list, only disable white space consumption for last element in item.
2023-08-31 17:08:21 -04:00
Tom Alexander
466716881e
Fix macros consuming whitespace even when the exit matcher is calling for an exit.
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
2023-08-31 15:11:29 -04:00
Tom Alexander
6f2d90162b
Do not use the plain text parser for property drawers.
...
This additional exit condition was causing property drawers to parse incorrectly.
2023-08-29 22:03:20 -04:00
Tom Alexander
a6d742a536
Fix handling line breaks after divider in description lists.
2023-08-29 21:27:54 -04:00
Tom Alexander
f6c895319f
Add support for diffing description lists.
2023-08-29 19:35:54 -04:00
Tom Alexander
2682779534
Add support for parsing description lists.
2023-08-29 18:13:55 -04:00
Tom Alexander
ea6faf728c
Add test for description list.
2023-08-29 18:07:35 -04:00
Tom Alexander
2d4e54845b
Add support for parsing tags in headlines.
2023-08-25 06:13:29 -04:00
Tom Alexander
d5ea650b96
Add a test for dynamic blocks.
2023-08-25 05:36:57 -04:00
Tom Alexander
efa372a9e9
Add a test case that breaks the current parser.
2023-08-25 04:39:58 -04:00
Tom Alexander
69ecfd2646
Move all the specific-token tests into subfolders.
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
2023-08-20 23:38:47 -04:00