From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Danenberg Subject: #+BEGIN_... blocks in lists Date: Tue, 24 Nov 2009 20:07:06 -0600 Message-ID: <20091125020706.GA15529@klutometis.wikitex.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ND7Hk-0006Qu-Dd for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 21:07:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ND7Hh-0006Q6-TT for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 21:07:11 -0500 Received: from [199.232.76.173] (port=45259 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ND7Hh-0006Q3-Oi for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 21:07:09 -0500 Received: from klutometis.wikitex.org ([72.51.35.14]:37772) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ND7Hh-0002fA-4c for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 21:07:09 -0500 Received: from klutometis.wikitex.org (localhost.localdomain [127.0.0.1]) by klutometis.wikitex.org (8.13.1/8.13.1) with ESMTP id nAP277Aj015834 for ; Tue, 24 Nov 2009 20:07:07 -0600 Received: (from pcdanenb@localhost) by klutometis.wikitex.org (8.13.1/8.13.1/Submit) id nAP2771w015833 for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 20:07:07 -0600 Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I'd like to be able to do something like the following: - item 1 - item 1.1 #+BEGIN_SRC lang code #+END_SRC - item 1.2 ... but the source blocks are interpreted as text despite section 2.7 of the manual, which says: Since indentation is what governs the structure of these lists, many structural constructs like #+BEGIN_... blocks can be indented to signal that they should be part of a list item. I'm therefore forced to do something like the following: - item 1 - item 1.1 #+BEGIN_SRC lang code #+END_SRC - item 1 ... which effectively terminates the list in the middle. Is it possible to embed #+BEGIN_... blocks in a list?