From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: M-S-up/down on plain lists containing text (or multilevel lists) Date: Sun, 02 Nov 2014 15:43:06 +0800 Message-ID: <878ujuxd2t.wl-jamshark70@qq.com> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkppH-0005Z1-6h for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 02:43:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkppB-000765-No for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 02:43:51 -0500 Received: from smtpbg303.qq.com ([184.105.206.26]:35007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xkpp8-00072W-FE for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 02:43:45 -0500 Received: from hjh-e431.qq.com (unknown [113.109.22.129]) by esmtp4.qq.com (ESMTP) with SMTP id 0 for ; Sun, 02 Nov 2014 15:43:07 +0800 (CST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: orgmode 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? 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, but it's also possible that I don't fully understand how org interprets plain lists. It does seem that org has a concept of indented text "belonging to" the list item, because you can use TAB to collapse a list item containing indented text, but you can't use it on a list item followed by non-indented text. * Heading - List item 1: TAB can fold this item Indented text - List item 2: TAB displays a message in the minibuffer "EMPTY ENTRY" Non-indented text - List item 3 I also see the same bizarre behavior of M-S-up/down if a list item has a sub-list under it. My org is up-to-date as of 10/15/2014. hjh