all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: abq@bitrot.link, emacs-orgmode@gnu.org
Subject: Re: Is the cascading logic of outlines a feature, or a design bug?
Date: Mon, 26 Dec 2022 19:38:20 +0700	[thread overview]
Message-ID: <b4c4fa65-5d44-9fd9-0d36-3314fc070b48@gmail.com> (raw)
In-Reply-To: <fa4ebea85ed72126c753eecc7554a21d@bitrot.link>

On 26/12/2022 13:47, abq@bitrot.link wrote:
> https://orgmode.org/worg/org-faq.html#closing-outline-sections answers 
> The answer given is:
> "no. Org-mode adheres to the cascading logic of outlines, in which a 
> section is closed only by another section that occupies an equal or 
> greater level."

> Is that limitation a feature, or a design bug?

You may guess that this item appeared in FAQ after numerous discussions 
on this mailing list. Search its archive for details.

The most close feature is inline tasks, there are other structures like 
#+begin_something/#+end_something blocks and :drawer:...:end: that have 
closing marker.

Some Org syntax limitations are imposed to be able efficiently determine 
current context using regexp searches. So "** Heading" lines must be 
escaped in comments, nested identical #+begin_block structures are not 
allowed. Another point is treating Org files with syntax errors.


  parent reply	other threads:[~2022-12-26 12:39 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-26  6:47 Is the cascading logic of outlines a feature, or a design bug? abq
2022-12-26  7:51 ` tomas
2022-12-26 10:12 ` Ihor Radchenko
2022-12-26 17:23   ` abq
2022-12-26 17:32     ` tomas
2022-12-26 17:36     ` Ihor Radchenko
2022-12-26 18:37       ` tomas
2022-12-27  7:21         ` Marcin Borkowski
2022-12-27  9:00           ` tomas
2022-12-28  6:40             ` Marcin Borkowski
2022-12-28  7:28               ` Heinz Tuechler
2022-12-28  9:29                 ` tomas
2022-12-26 12:38 ` Max Nikulin [this message]
2022-12-26 17:03   ` abq
2022-12-27 16:02     ` Max Nikulin
2022-12-28  1:52       ` Samuel Wales
2022-12-28  7:14 ` Stefan Nobis
2022-12-28  7:21   ` Samuel Wales
2022-12-28  8:45   ` Greg Minshall
2022-12-28  9:13     ` Ihor Radchenko
2022-12-28  9:34       ` Greg Minshall
2022-12-28  9:34   ` tomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4c4fa65-5d44-9fd9-0d36-3314fc070b48@gmail.com \
    --to=manikulin@gmail.com \
    --cc=abq@bitrot.link \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.