emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Peter Danenberg <pcd@roxygen.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: #+BEGIN_... blocks in lists
Date: Wed, 25 Nov 2009 07:19:54 +0100	[thread overview]
Message-ID: <3C5647B5-50B8-44BE-AEE7-84106445CC79@gmail.com> (raw)
In-Reply-To: <20091125020706.GA15529@klutometis.wikitex.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

  reply	other threads:[~2009-11-25  6:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-25  2:07 #+BEGIN_... blocks in lists Peter Danenberg
2009-11-25  6:19 ` Carsten Dominik [this message]
2009-11-25  7:03   ` Peter Danenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C5647B5-50B8-44BE-AEE7-84106445CC79@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pcd@roxygen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).