emacs-orgmode
[Top][All Lists]
Advanced

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

Fwd: [Orgmode] Feature in org-move-item-down


From: Eddward DeVilla
Subject: Fwd: [Orgmode] Feature in org-move-item-down
Date: Sun, 18 Mar 2007 22:22:15 -0500

Once again, it hit reply instead of reply-all.

Edd

---------- Forwarded message ----------
From: Eddward DeVilla <address@hidden>
Date: Mar 18, 2007 10:04 PM
Subject: Re: [Orgmode] Feature in org-move-item-down
To: Mike Newman <address@hidden>


   I sometimes have blank lines in list items.  I have lists do
visibility cycling like headings and use them as light weight
headings.  One thing I've found is that empty lines seem to be after
an item and not a part.  Blank lines, with whitespace characters in
them seem to be a part of the item.  I use it and tend to like it.  I
need to turn on a setting to make such blank but not empty lines a
little easier to spot.  If the behavior would change, I'd probably
need to change how I do thing and maybe use heading more.

Edd

On 3/18/07, Mike Newman <address@hidden> wrote:
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 <address@hidden> 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


_______________________________________________
Emacs-orgmode mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

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