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 11:46:22 +0100 Message-ID: <87bmbmj6yp.fsf@gmail.com> References: <23357.59250.52090.498378@frac.u-strasbg.fr> <87muv6j9tr.fsf@gmail.com> <23357.62744.719557.989359@frac.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fb1mP-0003Jg-8n for emacs-orgmode@gnu.org; Thu, 05 Jul 2018 06:46:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fb1mL-0002Ew-Cb for emacs-orgmode@gnu.org; Thu, 05 Jul 2018 06:46:29 -0400 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:50425) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fb1mL-0002Br-46 for emacs-orgmode@gnu.org; Thu, 05 Jul 2018 06:46:25 -0400 Received: by mail-wm0-x229.google.com with SMTP id v25-v6so10356323wmc.0 for ; Thu, 05 Jul 2018 03:46:24 -0700 (PDT) In-Reply-To: <23357.62744.719557.989359@frac.u-strasbg.fr> (Alain Cochard's message of "Thu, 5 Jul 2018 12:38:16 +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 12:38, Alain.Cochard@unistra.fr wrote: > Eric S Fraga writes on Thu 5 Jul 2018 10:44: > > > 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...? > > This is what I do so far... and qualify as tedious :-) Well, it's a deterministic set of steps so you could record a macro to do the selection and kill? Then all you have to do is move and yank? What was not clear in your OP was what happens to the first subheading? Should it be promoted or does it suddenly become a child of another main heading? -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-783-g97fac4