emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Question on nested-blocks syntax


From: Albert Krewinkel
Subject: [O] Question on nested-blocks syntax
Date: Fri, 06 May 2016 11:20:16 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (gnu/linux)

Hi list,

I was wondering about the current block syntax, specifically about
nested blocks.  The current way to get nested blocks requires escaping
of the nested block commands, e.g.

#+BEGIN_EXAMPLE
  ,#+BEGIN_EXAMPLE
    Meta-example
  ,#+END_EXAMPLE
#+END_EXAMPLE

My personal feeling is that it would be nicer to allow nesting blocks
simply by indenting them:

#+BEGIN_EXAMPLE
  #+BEGIN_EXAMPLE
    Indented meta-example
  #+END_EXAMPLE
#+END_EXAMPLE

I'd be very interested to learn if this (IMHO nicer) second option could
be supported or if there are æsthetical or technical reasons for not
supporting that syntax?

I'm the author of pandoc's org-mode reader and we initially supported
the latter syntax as it felt cleaner.  Since we are striving for maximum
comparability with Emacs as the reference implementation, this specific
feature has since been removed from the reader.

Is there any chance that indentation-based nesting will become legit
org-mode syntax?

Thanks,

Albert


-- 
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124



reply via email to

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