From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: shiftmeta[left|right] on multi line items [9.1.2 (release_9.1.2-40-g6ca906 @ /usr/local/share/emacs/27.0.50/lisp/org/)] Date: Fri, 01 Dec 2017 18:28:16 +0100 Message-ID: <87r2seuzm7.fsf@nicolasgoaziou.fr> References: <87a7zezz4e.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKp6t-0002qO-Jt for emacs-orgmode@gnu.org; Fri, 01 Dec 2017 12:28:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKp6s-0006Ai-QD for emacs-orgmode@gnu.org; Fri, 01 Dec 2017 12:28:23 -0500 Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:60291) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eKp6s-00069e-K0 for emacs-orgmode@gnu.org; Fri, 01 Dec 2017 12:28:22 -0500 In-Reply-To: <87a7zezz4e.fsf@gmail.com> (Nathan Aclander's message of "Tue, 21 Nov 2017 21:00:33 -0800") 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" To: Nathan Aclander Cc: emacs-orgmode@gnu.org Hello, Nathan Aclander writes: > When using lists in org like the following: > > - Item 1 > - Sub-item 1 > - Sub-item 1 > - Item 2 > - Item 3 > > I can shift them left and right using ~org-shiftmetaright~ or > ~org-shiftmetaleft~. > > This also works on the following list: > > - Item 1 > - This is a very long sub-item that is definitely going to be longer > than 80 characters. > - Sub-item 2 > - Item 2 > - Item 3 > > When my cursor is on the second line ( the line that begins with "This > is a very..." I can move the sub-item left and right as expected. > > When my cursor is on the third line ( the line that begins with "than > 80..." I get a message saying: > > "user-error: This command is active in special context like tables, > headlines or items" > > Because this *does* work when my cursor is on the above line, I know org > knows how to handle multi line items. Therefore I think it's a bug that > org doesn't recognize the cursor being inside a list when it is on the second > line of a multi item list. I don't qualify this as a bug. These commands explicitly work when point is at the beginning of an item. Indeed, the sub-item may be arbitrarily large, contain tables... it would be confusing to move the whole sub-list when its structure is out of sight. Regards, -- Nicolas Goaziou