From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Maihofer Subject: Re: Lists made stronger: lists within lists Date: Mon, 13 Dec 2010 15:49:01 +0100 Message-ID: <20101213154901.202552lfdwhpmogs@webmail.df.eu> References: <87bp4qc2sc.wl%n.goaziou@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=43460 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PS9i7-0000kl-7t for emacs-orgmode@gnu.org; Mon, 13 Dec 2010 09:49:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PS9i4-0007lW-AY for emacs-orgmode@gnu.org; Mon, 13 Dec 2010 09:49:07 -0500 Received: from smtprelay03.ispgateway.de ([80.67.31.37]:51327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PS9i3-0007kk-W5 for emacs-orgmode@gnu.org; Mon, 13 Dec 2010 09:49:04 -0500 Received: from [80.67.16.114] (helo=webmailfront03.ispgateway.de) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1PS9i1-00086z-Mm for emacs-orgmode@gnu.org; Mon, 13 Dec 2010 15:49:01 +0100 In-Reply-To: <87bp4qc2sc.wl%n.goaziou@gmail.com> Content-Disposition: inline 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: emacs-orgmode@gnu.org Nicolas, 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! Karl Zitat von Nicolas Goaziou : > 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: > > > ----- > * Let's stress-test lists > > - a list > > 1. Sub-item with both example and quote blocks > #+begin_example > + here is a false list > #+end_example > > #+begin_quote > 1. followed by a real list > 2. of two items > 1. and a sub-item > > > And some other text afterwards. > #+end_quote > > 2. Sub-item with src block > #+begin_src emacs-lisp > (message "Am I appearing?") > #+end_src > > 3. Sub-item with a drawer > :LOGBOOK: > * One > * One dot one > * One dot two > :END: > > - and now some centering > > #+begin_center > 1. One > 2. Two > #+end_center > > > 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. > > 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 >