From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert Krewinkel Subject: Question on nested-blocks syntax Date: Fri, 06 May 2016 11:20:16 +0200 Message-ID: <87bn4j8rvz.fsf@espresso.zeitkraut.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aybwO-0003OB-93 for emacs-orgmode@gnu.org; Fri, 06 May 2016 05:21:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aybw3-0006RP-3D for emacs-orgmode@gnu.org; Fri, 06 May 2016 05:20:50 -0400 Received: from reynholm.zeitkraut.de ([89.238.65.123]:38614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aybw1-0006LY-Ns for emacs-orgmode@gnu.org; Fri, 06 May 2016 05:20:35 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by reynholm.zeitkraut.de (Postfix) with ESMTPSA id 6F5445EA0151 for ; Fri, 6 May 2016 09:21:27 +0000 (UTC) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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 =C3=A6sthetical 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 --=20 Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124