emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mike Newman <mike@newmanfamily.me.uk>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: Feature in org-move-item-down
Date: Sun, 18 Mar 2007 23:26:22 -0400	[thread overview]
Message-ID: <20070318232622.76f83afb@newmanfamily.me.uk> (raw)
In-Reply-To: <c79c06375cd2f7111c9a748522b49669@science.uva.nl>

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 <dominik@science.uva.nl> 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

  reply	other threads:[~2007-03-18 23:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-17  3:15 Feature in org-move-item-down Mike Newman
2007-03-18  7:11 ` Carsten Dominik
2007-03-19  3:26   ` Mike Newman [this message]
     [not found]     ` <b71b18520703182004s36dc1102ibef10f215b135fb0@mail.gmail.com>
2007-03-19  3:22       ` Fwd: " Eddward DeVilla
2007-03-19 12:13         ` Carsten Dominik
2007-03-19  5:20     ` Carsten Dominik
2007-03-19  7:37       ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070318232622.76f83afb@newmanfamily.me.uk \
    --to=mike@newmanfamily.me.uk \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).