From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: How to move up/down a headline but not the subtree? Date: Thu, 05 Jul 2018 10:44:32 +0100 Message-ID: <87muv6j9tr.fsf@gmail.com> References: <23357.59250.52090.498378@frac.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fb0oa-0000kK-1r for emacs-orgmode@gnu.org; Thu, 05 Jul 2018 05:44:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fb0oV-0005Lp-5P for emacs-orgmode@gnu.org; Thu, 05 Jul 2018 05:44:40 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:51383) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fb0oU-0005IM-VC for emacs-orgmode@gnu.org; Thu, 05 Jul 2018 05:44:35 -0400 Received: by mail-wm0-x22d.google.com with SMTP id s12-v6so10039390wmc.1 for ; Thu, 05 Jul 2018 02:44:34 -0700 (PDT) In-Reply-To: <23357.59250.52090.498378@frac.u-strasbg.fr> (Alain Cochard's message of "Thu, 5 Jul 2018 11:40:02 +0200") 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: Alain.Cochard@unistra.fr Cc: emacs-orgmode@gnu.org On Thursday, 5 Jul 2018 at 11:40, Alain.Cochard@unistra.fr wrote: > Hello. > > I am aware of org-move-subtree-up/down, which moves the entire > subtree. > > I am also aware of org-shiftmetaup/down which moves the line[fn:1] (also > works for a headline). > > What I would like to do is to be able to move a headline with > everything up to (but not including) its first subheading. Promote the first subheading, move the original heading, and then demote that first subheading? Or, remembering that this *is* in fact a text editor, select heading and content, kill it, go where you want it placed, and yank it...? -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-783-g97fac4