From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: #+BEGIN_... blocks in lists Date: Wed, 25 Nov 2009 07:19:54 +0100 Message-ID: <3C5647B5-50B8-44BE-AEE7-84106445CC79@gmail.com> References: <20091125020706.GA15529@klutometis.wikitex.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDBER-0005Xf-NK for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 01:20:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDBEN-0005WD-OZ for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 01:20:03 -0500 Received: from [199.232.76.173] (port=54197 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDBEN-0005W8-FB for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 01:19:59 -0500 Received: from ey-out-1920.google.com ([74.125.78.149]:36275) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDBEN-0007g8-1f for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 01:19:59 -0500 Received: by ey-out-1920.google.com with SMTP id 3so2216475eyh.34 for ; Tue, 24 Nov 2009 22:19:58 -0800 (PST) In-Reply-To: <20091125020706.GA15529@klutometis.wikitex.org> 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: Peter Danenberg Cc: emacs-orgmode@gnu.org Hi Peter, looks like you are reading the manual of a recent version of Org-mode, while using an older version. What does M-x org-version say? - Carsten On Nov 25, 2009, at 3:07 AM, Peter Danenberg wrote: > 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? > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten