Hello, James Harkins <jamshar...@qq.com> writes:
> In plain lists, if there is indented text underneath a list item, is > it considered to "belong to" the list item, or is it just freestanding > text? The former. > I'm asking because M-S-up/down doesn't take indented text into > account. These commands only move the line marked with a list-item > indicator ("-" etc.). > > * Heading > - List item 1 > - List item 2 > Indented text > - List item 3 > > Position the point on "List item 2" and hit M-S-down. You'll get this, > which seems wrong to me: > > * Heading > - List item 1 > Indented text > - List item 2 > - List item 3 > > I expected: > > * Heading > - List item 1 > - List item 3 > - List item 2 > Indented text > > My opinion is that this is a bug Actually, it isn't. This is a feature. Both `M-S-up' and `M-S-down' work line wise and ignore any structure around point. OTOH, `M-up' and `M-down' should do what you want. Regards, -- Nicolas Goaziou