emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [Babel] now understands org-mode lists


From: Jambunathan K
Subject: [Orgmode] Re: [Babel] now understands org-mode lists
Date: Thu, 18 Nov 2010 06:12:19 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (windows-nt)

"Eric Schulte" <address@hidden> writes:

> 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
>

Why not call the underlying type an 'orglist'. One can for example think
of orgpropeties etc etc.

Btw, for the sake of illustration, how would one convert a numbered list
to an alphabetical list or an unordered list. Convert some thing like

1. One
   1. OneOne
3. Two
4. Three

to 

- One
  - One
- Two
- Three

or 

1. One
   1.1 OneOne
2. Two
3. Three

C-c C-c on a list currently renumbers the list which I find quite
useful. May be there is a way to 'rebind' it so that it not only
renumbers but renumbers with a different style (that the user is
comfortable with). Think 'replace-region' for example.

Jambunathan K.

>
> 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
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode



reply via email to

[Prev in Thread] Current Thread [Next in Thread]