emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: [Babel] now understands org-mode lists
Date: Wed, 17 Nov 2010 16:57:04 -0700	[thread overview]
Message-ID: <87r5ejwlkf.fsf@gmail.com> (raw)

Hi,

I've just pushed up a small commit (including minimal documentation)
which teaches code blocks how to read and write Org-mode lists.  The
following example should demonstrate the new behavior.


#+results: a-list
- org-mode
- and
- babel


#+source: a-list
#+begin_src emacs-lisp :var lst=a-list :results list
  (reverse lst)
#+end_src


This is just a quick first pass at this functionality, there are still
some unanswered questions, such as if and how code blocks should
differentiate between ordered and unordered lists (ordered get an index
for each item?), how nested lists should be represented etc...

Best -- Eric

             reply	other threads:[~2010-11-17 23:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17 23:57 Eric Schulte [this message]
2010-11-18  0:42 ` [Babel] now understands org-mode lists Jambunathan K
2010-11-18  0:53   ` Jambunathan K
2010-11-18  1:20     ` Eric Schulte
2010-11-18 12:43       ` Nicolas Goaziou
2010-11-18  1:48     ` Jambunathan K
2010-11-18 15:27       ` Eric Schulte
2010-11-18  1:14   ` Eric Schulte
2010-11-18  2:17     ` Jambunathan K
2010-11-18 15:30       ` Eric Schulte
2010-11-18 15:55 ` Nicolas Goaziou
2010-11-18 16:34   ` Eric Schulte

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=87r5ejwlkf.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.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).