emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: section continuation


From: Marcin Borkowski
Subject: Re: section continuation
Date: Sun, 01 Jan 2023 22:19:37 +0100
User-agent: mu4e 1.1.0; emacs 29.0.50

On 2022-12-29, at 11:30, tomas@tuxteam.de wrote:

> On Thu, Dec 29, 2022 at 10:21:52AM +0000, Ihor Radchenko wrote:
>> <tomas@tuxteam.de> 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 ;-)

This.  Also, I guess "normal" people are perfectly fine with attaching
the "closing" to the last subsection or putting it into a dedicated
subsection.

Best,

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]