From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-shitmeta(up/down) does not seem to handle subtrees and items properly [8.3.1 (8.3.1-95-g1dbb25-elpa @ /home/fvaresi/.emacs.d/elpa/org-20150831/)] Date: Fri, 04 Sep 2015 19:34:55 +0200 Message-ID: <87vbbqks00.fsf@nicolasgoaziou.fr> References: <8737yue5zp.fsf@batcave.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXurX-0005hk-RN for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 13:33:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXurX-00029E-5y for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 13:33:19 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:57808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXurX-00028u-0M for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 13:33:19 -0400 In-Reply-To: <8737yue5zp.fsf@batcave.i-did-not-set--mail-host-address--so-tickle-me> (Fernando Varesi's message of "Fri, 04 Sep 2015 09:14:34 -0300") 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: Fernando Varesi Cc: emacs-orgmode@gnu.org Hello, Fernando Varesi writes: > Steps to reproduce: > 1. Create an outline with 2 headlines, each of them having their own drawers. > 2. Move the pointer to the headline. > 3. Hit M-S-down. > > Expected Behavior: > M-S-up/down should move the subtree/item up/down when pointer is in a headline/item. > > Current Behavior: > Only the headline is moved, even inside a drawer if it's present. M-S-down mostly ignores structure. It moves current line down, whatever it is. Check its docstring, in particular first and last sentences: Drag the line at point down. In a table, insert an empty row at the current line. On a clock timestamp, update the value of the timestamp like `S-' but also adjust the previous clocked item in the clock history. Everywhere else, drag the line at point down. Regards, -- Nicolas Goaziou