Tom Alexander
b2479e9de8
Remove Debug from the context variables.
...
Now that entities are stored in the settings struct, these variables are massive which makes them balloon trace sizes while being mostly unreadable. This removes Debug from them to serve as a static-analysis check that context is ALWAYS ignored in tracing calls.
2023-10-18 18:36:25 -04:00
Tom Alexander
ba72cc1b29
The variables for keywords are actually constants.
...
These settings do not need to exist in GlobalSettings because they are actually constants in upstream Org-Mode.
2023-10-18 18:22:01 -04:00
Tom Alexander
e776a051ad
Continue removing MyError.
2023-10-17 10:13:00 -04:00
Tom Alexander
77e6c22ad8
Continue removing MyError.
2023-10-17 10:09:37 -04:00
Tom Alexander
c9d7251e3b
Begin removing the MyError type.
2023-10-17 09:45:18 -04:00
Tom Alexander
880b00ef3f
Apply more suggestions.
2023-10-16 18:54:41 -04:00
Tom Alexander
3069711447
Apply more suggestions.
2023-10-16 18:29:21 -04:00
Tom Alexander
1d329cc310
Apply more suggestions.
2023-10-16 17:28:28 -04:00
Tom Alexander
728f79b86c
Apply more suggestions.
2023-10-16 17:03:39 -04:00
Tom Alexander
ad5efc4b0f
Only require sync on FileAccessInterface when compiling for compare utilities.
...
rust-test Build rust-test has failed
rust-build Build rust-build has failed
rust-foreign-document-test Build rust-foreign-document-test has failed
Otherwise async compatibility would impact sync users of the plain library.
2023-10-14 18:09:50 -04:00
Tom Alexander
123da9cca3
Make the compare functions async.
2023-10-14 17:51:12 -04:00
Tom Alexander
0d579263cb
Remove affiliated keyword non-exit for paragraph.
2023-10-12 14:07:57 -04:00
Tom Alexander
bd620ccd0d
Format.
2023-10-11 16:32:08 -04:00
Tom Alexander
c4cc40f5e1
Parsing the affiliated keywords.
2023-10-11 12:16:35 -04:00
Tom Alexander
bc4c09c546
Add constants for affiliated keyword settings.
2023-10-11 12:16:35 -04:00
Tom Alexander
0d1ab0e75a
Add a debug assert for org entities being sorted.
2023-10-11 12:16:35 -04:00
Tom Alexander
ee1d8ca321
Text markup uses confine context.
2023-10-09 20:36:38 -04:00
Tom Alexander
df4daa0e16
Do not include context in tracing.
2023-10-09 18:02:36 -04:00
Tom Alexander
13b95cd0a1
Fix handling of text markup at the start/end of regular link descriptions and radio targets.
2023-10-09 18:02:36 -04:00
Tom Alexander
840dc0a750
Support text markup at the start of a regular link description.
rust-build Build rust-build has succeeded
rust-test Build rust-test has succeeded
rust-foreign-document-test Build rust-foreign-document-test has failed
2023-10-09 14:02:27 -04:00
Tom Alexander
adc5a383c3
Allow text markup at the start of a radio target.
2023-10-09 13:47:36 -04:00
Tom Alexander
c679a85e77
Fix sorting of entity names.
2023-10-09 10:33:07 -04:00
Tom Alexander
fc17fc224c
Update definitions to the version of entities used in the org-mode in the docker container.
2023-10-09 10:33:07 -04:00
Tom Alexander
ef591556fe
Populate entity fields.
2023-10-08 18:06:56 -04:00
Tom Alexander
c150aa4dea
Add support for an org-entities global setting.
2023-10-08 18:01:42 -04:00
Tom Alexander
4c8828b91b
Apply the link templates.
2023-10-06 23:33:09 -04:00
Tom Alexander
2ba5156ee1
Add a global setting for link templates.
2023-10-06 20:34:13 -04:00
Tom Alexander
89fcf6cb54
Restrict protocol links to org-link-parameters.
2023-10-06 19:18:58 -04:00
Tom Alexander
f220fd63e5
Add org-link-parameters to the GlobalSettings.
2023-10-06 19:14:11 -04:00
Tom Alexander
1351577c5a
Fix handling affiliated keywords before invalid paragraphs.
2023-10-04 23:40:38 -04:00
Tom Alexander
d059afef07
Add a setting for coderef_label_format.
2023-10-04 15:48:57 -04:00
Tom Alexander
178894680b
Compare footnote section.
2023-10-02 10:48:34 -04:00
Tom Alexander
07e11e359a
Add tests for odd headline levels.
2023-09-29 16:37:22 -04:00
Tom Alexander
f1261ddce8
Remove "org_" prefix from list_allow_alphabetical.
...
These settings are exclusively for parsing org-mode so the prefix is redundant.
2023-09-29 14:33:52 -04:00
Tom Alexander
f180412ff3
Introduce a StandardProperties trait.
2023-09-23 17:33:46 -04:00
Tom Alexander
a74ea730f4
Read the odd startup option from org-mode files.
2023-09-15 22:31:15 -04:00
Tom Alexander
d443dbd468
Introduce the tab_width setting and give tabs a greater value when counting indentation level.
2023-09-15 21:59:48 -04:00
Tom Alexander
33372429dd
Add a config option for org-list-allow-alphabetical.
...
This fixes an issue where lines in a paragraph were incorrectly getting identified as lists because I had defaulted to assuming alphabetical bullets were allowed.
2023-09-14 00:27:54 -04:00
Tom Alexander
cf383fa394
Only include sexp module if compare feature is enabled.
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
rust-foreign-document-test Build rust-foreign-document-test has succeeded
2023-09-11 14:59:24 -04:00
Tom Alexander
84953c1669
Put back in needed pubs.
2023-09-11 14:59:23 -04:00
Tom Alexander
7650a9edff
Remove all pub.
2023-09-11 13:11:08 -04:00
Tom Alexander
1f11bfa2ec
Join the plain list item tag end matchers again.
2023-09-11 10:13:22 -04:00
Tom Alexander
40f22034da
Make the item tag exit matcher a lower class than all all others.
...
This is to allow for " :: " inside a description list item's tag if it is nested inside another object.
2023-09-08 14:37:30 -04:00
Tom Alexander
6b82b46e09
Prevent nesting of text markup of the same type.
...
This greatly reduces the amount of detect element calls that are occurring.
2023-09-07 04:15:59 -04:00
Tom Alexander
400f53e440
Cleanup.
2023-09-06 11:53:21 -04:00
Tom Alexander
70fafd801e
Apply the TODO keyword settings.
2023-09-06 11:07:57 -04:00
Tom Alexander
d3c733c5ad
Take into account the source directory when parsing org-mode in Organic.
...
Previously only the emacs code was doing this.
2023-09-04 21:46:40 -04:00
Tom Alexander
ee02e07717
Read the setup file into memory.
2023-09-04 16:53:02 -04:00
Tom Alexander
a7330e38e4
Enable dynamic access to the file access interface.
2023-09-04 16:29:41 -04:00
Tom Alexander
08eb59acd3
Rename parser_context to context.
2023-09-04 13:26:11 -04:00