From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alain.Cochard@unistra.fr Subject: How to move up/down a headline but not the subtree? Date: Thu, 5 Jul 2018 11:40:02 +0200 Message-ID: <23357.59250.52090.498378@frac.u-strasbg.fr> Reply-To: alain.cochard@unistra.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fb0jn-00082B-NU for emacs-orgmode@gnu.org; Thu, 05 Jul 2018 05:39:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fb0ji-0007KU-Pg for emacs-orgmode@gnu.org; Thu, 05 Jul 2018 05:39:43 -0400 Received: from smr2.u-strasbg.fr ([130.79.222.218]:39968 helo=mailhost.u-strasbg.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fb0ji-0007AW-Ii for emacs-orgmode@gnu.org; Thu, 05 Jul 2018 05:39:38 -0400 Received: from local-mr.u-strasbg.fr (lmr4.u-strasbg.fr [172.30.21.4]) by smr2.u-strasbg.fr (Postfix) with ESMTP id 2B17E1E070C for ; Thu, 5 Jul 2018 11:39:34 +0200 (CEST) Received: from local-mr.u-strasbg.fr (localhost [127.0.0.1]) by antivirus (Postfix) with ESMTP id 0E6C7229 for ; Thu, 5 Jul 2018 11:39:34 +0200 (CEST) Received: from frac.u-strasbg.fr (frac.u-strasbg.fr [130.79.10.22]) (Authenticated sender: alain.cochard) by lmr4.u-strasbg.fr (Postfix) with ESMTPSA id EE29C227 for ; Thu, 5 Jul 2018 11:39:32 +0200 (CEST) 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: emacs-orgmode@gnu.org Hello. =20 I am aware of org-move-subtree-up/down, which moves the entire subtree.=20 I am also aware of org-shiftmetaup/down which moves the line[fn:1] (als= o 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. Does anyone know how to do that=3F =20 I am also interested in knowing if there are specific (deep=3F) reasons= why this seemingly basic operation, which I see as the analogous of org-do-promote/demote and perform very often with standard (but tedious) emacs editing commands, is not already implemented. Thanks, Regards PS: I know that worg is not org, but I take the opportunity to mention that the Org-mode reference card seems to me to be outdated in this respect (orgmode.org/worg/orgcard.html): M-S-UP/DOWN move subtree/list item up/down [fn:1] I am surprised I can't find it in the manual -- I find it extremely useful. --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44=20 F-67084 Strasbourg Cedex, France | Fax: +33 (0)3 68 85 01 25 =20=