diff --git a/org_mode_samples/greater_element/property_drawer/headline/comment.org b/org_mode_samples/greater_element/property_drawer/headline/comment.org new file mode 100644 index 0000000..f6b9691 --- /dev/null +++ b/org_mode_samples/greater_element/property_drawer/headline/comment.org @@ -0,0 +1,5 @@ +* baz +# lorem +:PROPERTIES: +:FOO: bar +:END: diff --git a/org_mode_samples/greater_element/property_drawer/headline/comment_space.org b/org_mode_samples/greater_element/property_drawer/headline/comment_space.org new file mode 100644 index 0000000..e36d8e3 --- /dev/null +++ b/org_mode_samples/greater_element/property_drawer/headline/comment_space.org @@ -0,0 +1,6 @@ +* baz +# lorem + +:PROPERTIES: +:FOO: bar +:END: diff --git a/org_mode_samples/greater_element/property_drawer/headline/immediate.org b/org_mode_samples/greater_element/property_drawer/headline/immediate.org new file mode 100644 index 0000000..64f4f03 --- /dev/null +++ b/org_mode_samples/greater_element/property_drawer/headline/immediate.org @@ -0,0 +1,4 @@ +* baz +:PROPERTIES: +:FOO: bar +:END: diff --git a/org_mode_samples/greater_element/property_drawer/headline/space.org b/org_mode_samples/greater_element/property_drawer/headline/space.org new file mode 100644 index 0000000..50f97bd --- /dev/null +++ b/org_mode_samples/greater_element/property_drawer/headline/space.org @@ -0,0 +1,5 @@ +* baz + +:PROPERTIES: +:FOO: bar +:END: diff --git a/org_mode_samples/greater_element/property_drawer/headline/space_comment_space.org b/org_mode_samples/greater_element/property_drawer/headline/space_comment_space.org new file mode 100644 index 0000000..8396730 --- /dev/null +++ b/org_mode_samples/greater_element/property_drawer/headline/space_comment_space.org @@ -0,0 +1,13 @@ +* baz + + + + +# lorem + + + + +:PROPERTIES: +:FOO: bar +:END: diff --git a/org_mode_samples/greater_element/property_drawer/inheritance.org b/org_mode_samples/greater_element/property_drawer/inheritance.org new file mode 100644 index 0000000..873c00d --- /dev/null +++ b/org_mode_samples/greater_element/property_drawer/inheritance.org @@ -0,0 +1,19 @@ +:PROPERTIES: +:foo: bar +:foo+: baz +:cat: dog +:END: + +# Even though these are inheriting the properties and overwriting and/or appending to them, this is not represented in the parser AST so Organic does not do any special handling of this. + +* Overwrite +:PROPERTIES: +:foo: lorem +:bat: car +:END: + +* Append +:PROPERTIES: +:foo+: ipsum +:cake: lie +:END: diff --git a/org_mode_samples/greater_element/property_drawer/zeroth_section.org b/org_mode_samples/greater_element/property_drawer/zeroth_section.org deleted file mode 100644 index 2538054..0000000 --- a/org_mode_samples/greater_element/property_drawer/zeroth_section.org +++ /dev/null @@ -1,25 +0,0 @@ - - - - -# Blank lines and comments can come before property drawers in the zeroth section -:PROPERTIES: -:FOO: bar -:END: - - - -* Spaces turn property drawers into regular drawers - -:PROPERTIES: -:FOO: bar -:END: -* Comments turn property drawers into regular drawers -# Comment -:PROPERTIES: -:FOO: bar -:END: -* Baseline -:PROPERTIES: -:FOO: bar -:END: diff --git a/org_mode_samples/greater_element/property_drawer/zeroth_section/comment.org b/org_mode_samples/greater_element/property_drawer/zeroth_section/comment.org new file mode 100644 index 0000000..6edce5b --- /dev/null +++ b/org_mode_samples/greater_element/property_drawer/zeroth_section/comment.org @@ -0,0 +1,4 @@ +# lorem +:PROPERTIES: +:FOO: bar +:END: diff --git a/org_mode_samples/greater_element/property_drawer/zeroth_section/comment_space.org b/org_mode_samples/greater_element/property_drawer/zeroth_section/comment_space.org new file mode 100644 index 0000000..cdc3436 --- /dev/null +++ b/org_mode_samples/greater_element/property_drawer/zeroth_section/comment_space.org @@ -0,0 +1,5 @@ +# lorem + +:PROPERTIES: +:FOO: bar +:END: diff --git a/org_mode_samples/greater_element/property_drawer/zeroth_section/immediate.org b/org_mode_samples/greater_element/property_drawer/zeroth_section/immediate.org new file mode 100644 index 0000000..bb43b87 --- /dev/null +++ b/org_mode_samples/greater_element/property_drawer/zeroth_section/immediate.org @@ -0,0 +1,3 @@ +:PROPERTIES: +:FOO: bar +:END: diff --git a/org_mode_samples/greater_element/property_drawer/zeroth_section/space.org b/org_mode_samples/greater_element/property_drawer/zeroth_section/space.org new file mode 100644 index 0000000..e03bfe0 --- /dev/null +++ b/org_mode_samples/greater_element/property_drawer/zeroth_section/space.org @@ -0,0 +1,4 @@ + +:PROPERTIES: +:FOO: bar +:END: diff --git a/org_mode_samples/greater_element/property_drawer/zeroth_section/space_comment_space.org b/org_mode_samples/greater_element/property_drawer/zeroth_section/space_comment_space.org new file mode 100644 index 0000000..e87aa0c --- /dev/null +++ b/org_mode_samples/greater_element/property_drawer/zeroth_section/space_comment_space.org @@ -0,0 +1,12 @@ + + + + +# lorem + + + + +:PROPERTIES: +:FOO: bar +:END: diff --git a/org_mode_samples/greater_element/property_drawer/zeroth_section_spaces_after_comment.org b/org_mode_samples/greater_element/property_drawer/zeroth_section_spaces_after_comment.org deleted file mode 100644 index e432ad0..0000000 --- a/org_mode_samples/greater_element/property_drawer/zeroth_section_spaces_after_comment.org +++ /dev/null @@ -1,12 +0,0 @@ - - - - -# Blank lines and comments can come before property drawers in the zeroth section - - - - -:PROPERTIES: -:FOO: bar -:END: