From a5a03126d202f9938861597284d9e2e5406127c6 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sun, 19 Mar 2023 14:52:29 -0400 Subject: [PATCH] Add test for nested list end via 2 blank lines. --- org_mode_samples/plain_lists/Makefile | 2 +- org_mode_samples/plain_lists/nested_paragraphs.org | 6 ++++++ org_mode_samples/plain_lists/paragraphs.org | 6 +++++- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 org_mode_samples/plain_lists/nested_paragraphs.org diff --git a/org_mode_samples/plain_lists/Makefile b/org_mode_samples/plain_lists/Makefile index ba131d4..61a8d82 100644 --- a/org_mode_samples/plain_lists/Makefile +++ b/org_mode_samples/plain_lists/Makefile @@ -12,7 +12,7 @@ endif .RECIPEPREFIX = > .PHONY: all -all: paragraphs.tree.txt +all: paragraphs.tree.txt nested_paragraphs.tree.txt .PHONY: clean clean: diff --git a/org_mode_samples/plain_lists/nested_paragraphs.org b/org_mode_samples/plain_lists/nested_paragraphs.org new file mode 100644 index 0000000..22b1a61 --- /dev/null +++ b/org_mode_samples/plain_lists/nested_paragraphs.org @@ -0,0 +1,6 @@ +lorem +1. foo + 1. bar + + +baz diff --git a/org_mode_samples/plain_lists/paragraphs.org b/org_mode_samples/plain_lists/paragraphs.org index 71c0587..4ed7933 100644 --- a/org_mode_samples/plain_lists/paragraphs.org +++ b/org_mode_samples/plain_lists/paragraphs.org @@ -1,3 +1,7 @@ 1. foo 2. bar -(message "%s" (org-element-parse-buffer)) + baz +3. lorem + + + ipsum