From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Varesi 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 17:40:15 +0000 Message-ID: References: <8737yue5zp.fsf@batcave.i-did-not-set--mail-host-address--so-tickle-me> <87vbbqks00.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113a7caa12aa63051eef65c6 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXuyQ-0000f8-V4 for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 13:40:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXuyP-0004hD-ON for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 13:40:26 -0400 Received: from mail-yk0-x236.google.com ([2607:f8b0:4002:c07::236]:35169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXuyP-0004h9-L9 for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 13:40:25 -0400 Received: by ykek143 with SMTP id k143so27966540yke.2 for ; Fri, 04 Sep 2015 10:40:25 -0700 (PDT) In-Reply-To: <87vbbqks00.fsf@nicolasgoaziou.fr> 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: emacs-orgmode@gnu.org --001a113a7caa12aa63051eef65c6 Content-Type: text/plain; charset=UTF-8 Hi, Nicolas. Thanks for replying Given the documentation in http://orgmode.org/manual/Structure-editing.html#Structure-editing, I would expect it to still use org-move-subtree-down. Anyway, my desired behavior can be easily achieved with hooks so I don't mind it keeping it as is, but I thought that somehow the functionality described in the manual was lost unintentionally. Regards, Fernando Varesi. On Fri, Sep 4, 2015 at 2:33 PM Nicolas Goaziou wrote: > 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 > --001a113a7caa12aa63051eef65c6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, Nicolas. Thanks for replying
=

Given the documentation in http://orgmode.org/manual/Structure= -editing.html#Structure-editing, I would expect it to still use org-mov= e-subtree-down.

Anyway, my desired behavior can be easily achi= eved with hooks so I don't mind it keeping it=C2=A0 as is, but I though= t that somehow the functionality described in the manual was lost unintenti= onally.

Regards,

Fernando Varesi.

On Fri, Sep 4, 2015 at 2:33 PM Nicolas = Goaziou <mail@nicolasgoaziou.f= r> wrote:
Hello,

Fernando Varesi <= fvaresi@gmail.com> writes:

> Steps to reproduce:
> 1. Create an outline with 2 headlines, each of them having their own d= rawers.
> 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.<= br>
M-S-down mostly ignores structure. It moves current line down, whatever
it is. Check its docstring, in particular first and last sentences:

=C2=A0 Drag the line at point down.
=C2=A0 In a table, insert an empty row at the current line.
=C2=A0 On a clock timestamp, update the value of the timestamp like `S-<= down>'
=C2=A0 but also adjust the previous clocked item in the clock history.
=C2=A0 Everywhere else, drag the line at point down.


Regards,

--
Nicolas Goaziou
--001a113a7caa12aa63051eef65c6--