From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Lists made stronger: lists within lists Date: Mon, 13 Dec 2010 08:49:17 +0100 Message-ID: References: <87bp4qc2sc.wl%n.goaziou@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=40263 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PS3AB-0004sr-FO for emacs-orgmode@gnu.org; Mon, 13 Dec 2010 02:49:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PS3AA-0006t6-4K for emacs-orgmode@gnu.org; Mon, 13 Dec 2010 02:49:39 -0500 Received: from mail-yw0-f41.google.com ([209.85.213.41]:57967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PS3A9-0006t1-S1 for emacs-orgmode@gnu.org; Mon, 13 Dec 2010 02:49:38 -0500 Received: by ywj3 with SMTP id 3so3786913ywj.0 for ; Sun, 12 Dec 2010 23:49:37 -0800 (PST) In-Reply-To: <87bp4qc2sc.wl%n.goaziou@gmail.com> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hi Nicolas, On Sun, Dec 12, 2010 at 6:35 PM, Nicolas Goaziou wrot= e: > Hello, > > 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: > I have started trying it. So far looks pretty good (with src and example blocks). I do use inline tasks, I'll try with them in the next few days. > > ----- > * Let's stress-test lists > > =A0- a list > > =A0 =A01. Sub-item with both example and quote blocks > =A0 =A0 =A0 #+begin_example > =A0 =A0 =A0 + here is a false list > =A0 =A0 =A0 #+end_example > > =A0 =A0 =A0 #+begin_quote > =A0 =A0 =A0 1. followed by a real list > =A0 =A0 =A0 2. of two items > =A0 =A0 =A0 =A0 =A01. and a sub-item > > > =A0 =A0 =A0 And some other text afterwards. > =A0 =A0 =A0 #+end_quote > > =A0 =A02. Sub-item with src block > =A0 =A0 =A0 #+begin_src emacs-lisp > =A0 =A0 =A0 (message "Am I appearing?") > =A0 =A0 =A0 #+end_src > > =A0 =A03. Sub-item with a drawer > =A0 =A0 =A0 :LOGBOOK: > =A0 =A0 =A0 * One > =A0 =A0 =A0 =A0 * One dot one > =A0 =A0 =A0 =A0 * One dot two > =A0 =A0 =A0 :END: > > =A0- and now some centering > > =A0 =A0#+begin_center > =A0 =A01. One > =A0 =A02. Two > =A0 =A0#+end_center > > > =A0The end. > ----- > > This is not a trivial patch, so it needs careful testing (and maybe > some re-factoring). The branch can be found at: > > =A0git://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. > > Regards, > > -- Nicolas > > _______________________________________________ > 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 > --=20 Suvayu Open source is the future. It sets us free.