Re: Extra paragraphs incorrectly spawning when ":end:" appears.

2024-02-13 Thread Ihor Radchenko
Ihor Radchenko writes: > "Tom Alexander" writes: > >> This test document should have 1 paragraph but org-mode is parsing it as 2: >> ``` >> foo >> :end: >> baz >> ``` >> >> which parses as: >> ``` >> (section >> (paragraph "foo\n") >> (paragraph ":end:\nbaz\n") >> ) >> ``` > > The

Re: Extra paragraphs incorrectly spawning when ":end:" appears.

2023-10-02 Thread Tom Alexander
Hmm thanks, that makes sense. I guess a post-processing step to merge adjacent paragraphs wouldn't work either since that wouldn't stitch together objects like the bold in this test document without re-parsing the entire paragraph: ``` foo *bar :end: baz* ``` oh well 路 -- Tom Alexander pgp:

Re: Extra paragraphs incorrectly spawning when ":end:" appears.

2023-10-01 Thread Ihor Radchenko
"Tom Alexander" writes: > This test document should have 1 paragraph but org-mode is parsing it as 2: > ``` > foo > :end: > baz > ``` > > which parses as: > ``` > (section > (paragraph "foo\n") > (paragraph ":end:\nbaz\n") > ) > ``` > > The paragraph documentation[1] states that: >> Empty

Re: Extra paragraphs incorrectly spawning when ":end:" appears.

2023-09-30 Thread Tom Alexander
Same problem occurs with this sample document: ``` foo #+BEGIN: bar baz ``` which parses as: ``` (section (paragraph "foo\n") (paragraph "#+BEGIN: bar\nbaz\n) ) ``` again, no blank lines and no non-paragraph elements but the single paragraph got split in two. -- Tom Alexander pgp:

Extra paragraphs incorrectly spawning when ":end:" appears.

2023-09-30 Thread Tom Alexander
This test document has 1 paragraph: ``` foo bar baz ``` which parses as: ``` (section (paragraph "foo\nbar\nbaz\n") ) ``` This test document should have 1 paragraph but org-mode is parsing it as 2: ``` foo :end: baz ``` which parses as: ``` (section (paragraph "foo\n") (paragraph