[Top][All Lists]

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

Re: [Orgmode] Lists made stronger: lists within lists

From: Karl Maihofer
Subject: Re: [Orgmode] Lists made stronger: lists within lists
Date: Mon, 13 Dec 2010 15:49:01 +0100
User-agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.2)


great! I just moved around some list items with inline tasks in my 800+ pages document. And it works perfect. I will do some more tests tonight.

Thanks a lot!

Zitat von Nicolas Goaziou <address@hidden>:


As I had promised it here a few days ago, I just pushed a testing
branch allowing to have lists in blocks, drawers and inline tasks.
These constructs can themselves be located in lists.

Basically, lists are allowed in every block but "src", "example" and
"verse". Inline tasks will not end lists, even though they start at
column 0. Exporters should understand quite intricate situations. Here
is an example of this:

* Let's stress-test lists

  - a list

    1. Sub-item with both example and quote blocks
       + here is a false list

       1. followed by a real list
       2. of two items
          1. and a sub-item

       And some other text afterwards.

    2. Sub-item with src block
       #+begin_src emacs-lisp
       (message "Am I appearing?")

    3. Sub-item with a drawer
       * One
         * One dot one
         * One dot two

  - and now some centering

    1. One
    2. Two

  The end.

This is not a trivial patch, so it needs careful testing (and maybe
some re-factoring). The branch can be found at:

  git://github.com/ngz/org-mode-lists.git recursive-lists

I still think inline tasks shouldn't be included in lists, but for
now, let's see it as a proof of concept. I can always remove it later
if it is "too much". The same idea applies to this whole patch: if it
is not really needed, it will not reach master branch.


-- Nicolas

Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.

reply via email to

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