Syntax of footnote-definition: can we allow double empty lines inside? (was: Suspected bug: example block in a footnote doesn't fold if starts with 2 blank lines)

2022-09-02 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > Ihor Radchenko writes on Wed 31 Aug 2022 09:57: > > > This is not a bug. Just unintuitive syntax: > > [...] > > The important part is: It ends at the next footnote definition, > > headline, or after two consecutive empty lines. > > > > So, your example is

Re: Suspected bug: example block in a footnote doesn't fold if starts with 2 blank lines

2022-08-31 Thread Alain . Cochard
Ihor Radchenko writes on Wed 31 Aug 2022 09:57: > This is not a bug. Just unintuitive syntax: > [...] > The important part is: It ends at the next footnote definition, > headline, or after two consecutive empty lines. > > So, your example is > > foo[fn:1] > > [fn:1] bar > #+begin_exa

Re: Suspected bug: example block in a footnote doesn't fold if starts with 2 blank lines

2022-08-30 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > Hello. When I visit an org buffer containing only: > > foo[fn:1] > > [fn:1] bar > #+begin_example > > > x > #+end_example > > then, hitting when the cursor is on either '#' does nothing > (i.e., no folding). This is not a bug. Just unintuitive syntax

Suspected bug: example block in a footnote doesn't fold if starts with 2 blank lines

2022-08-30 Thread Alain . Cochard
Hello. When I visit an org buffer containing only: foo[fn:1] [fn:1] bar #+begin_example x #+end_example then, hitting when the cursor is on either '#' does nothing (i.e., no folding). Tested with 'emacs -Q' and the following combinations: GNU Emacs 27.2 (build 1, x86_64-redhat-