From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Newman Subject: Re: Feature in org-move-item-down Date: Sun, 18 Mar 2007 23:26:22 -0400 Message-ID: <20070318232622.76f83afb@newmanfamily.me.uk> References: <20070316231503.1ad23ec5@newmanfamily.me.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HT4lp-0006oJ-Lu for emacs-orgmode@gnu.org; Sun, 18 Mar 2007 19:26:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HT4ln-0006nU-VV for emacs-orgmode@gnu.org; Sun, 18 Mar 2007 19:26:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HT4ln-0006nM-Q0 for emacs-orgmode@gnu.org; Sun, 18 Mar 2007 18:26:35 -0500 Received: from smtp2.enta.net ([62.249.192.218]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HT4kP-0002rO-7T for emacs-orgmode@gnu.org; Sun, 18 Mar 2007 19:25:09 -0400 In-Reply-To: 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: Carsten Dominik Cc: emacs-orgmode@gnu.org The manual (section 2.8) says "Indentation also determines the end of a list item. It ends before the next line that is indented like the bullet/number, or less." I think that a blank line has 0 indentation, therefore (by this logic) it should end a list item. Clearly a blank line cannot start a list item, so it must end a list. I think the question is whether list items can contain blank lines. This may be established practice, but it was not what I was expecting. Thanks Mike On Sun, 18 Mar 2007 08:11:08 +0100 Carsten Dominik wrote: > > On Mar 17, 2007, at 4:15, Mike Newman wrote: > > > It appears org-move-item-down treats blank lines as part of the > > preceding list item (whereas I use them to separate a list from > > subsequent text). > > > > So given > > > > - a test > > - b test > > - c test > > > > test > > > > with point on line b, M-x org-move-item-down gives > > - a test > > - c test > > > > - b test > > test > > > The problem with is this is following. Suppose I made the item end > before the > empty line, as you suggest. Then consider the following case: > > - a test > > - b test > > - c test > > If I now move "b" up, I get > > - b test > - a test > > > - c test > > I don't think there is a good solution to this problem - if you > know one, I would be interested. > > - Carsten > -- Mike