On Thu, Dec 29, 2022 at 10:21:52AM +0000, Ihor Radchenko wrote: > writes: > > > There seem to be a few folks around here which are uncomfortable > > with this limitation. My intent is rather to understand where this > > discomfort comes from and what we can do about it. > > >From my experience, there is a temptation to have a dedicated "closing" > text at the end of subtree. In particular, literal configs are often > structured as > > * Heading 1 > > #+begin_src emacs-lisp > (when condition > #+end_src > > ** Sub-heading 1 > ... > ** Sub-heading N > > ** extra > > #+begin_src emacs-lisp > ) ; closing ")" > #+end_src > > * Heading 2 Must be our deformed "computer folks" brains. Too many years of Djkstra's "goto considered harmful" or something ;-) Cheers -- t