emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Question on nested-blocks syntax
@ 2016-05-06  9:20 Albert Krewinkel
  2016-05-06 10:06 ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Albert Krewinkel @ 2016-05-06  9:20 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-05-08 21:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-06  9:20 Question on nested-blocks syntax Albert Krewinkel
2016-05-06 10:06 ` Nicolas Goaziou
2016-05-06 10:27   ` Albert Krewinkel
2016-05-06 12:01     ` Nicolas Goaziou
2016-05-07 18:09       ` Rasmus
2016-05-08 13:52         ` Nicolas Goaziou
2016-05-08 21:22           ` Rasmus

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).