emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to move up/down a headline but not the subtree?
@ 2018-07-05  9:40 Alain.Cochard
  2018-07-05  9:44 ` Eric S Fraga
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Alain.Cochard @ 2018-07-05  9:40 UTC (permalink / raw)
  To: emacs-orgmode


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.

Does anyone know how to do that?  

I am also interested in knowing if there are specific (deep?) 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.

-- 
EOST (École et Observatoire des Sciences de la Terre) 
IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr
5 rue René Descartes   [bureau 106] | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France    | Fax:   +33 (0)3 68 85 01 25     

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-07-10 17:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-05  9:40 How to move up/down a headline but not the subtree? Alain.Cochard
2018-07-05  9:44 ` Eric S Fraga
2018-07-05 10:38   ` Alain.Cochard
2018-07-05 10:46     ` Eric S Fraga
2018-07-05 12:07       ` Alain.Cochard
2018-07-05 13:39         ` Eric S Fraga
2018-07-05 10:46 ` Neil Jerram
2018-07-05 11:28   ` Alain.Cochard
2018-07-05 12:53     ` Neil Jerram
2018-07-06 12:45       ` Alain.Cochard
2018-07-10 17:51     ` Bernt Hansen
2018-07-05 10:50 ` Nicolas Goaziou
2018-07-06 11:59   ` Alain.Cochard
2018-07-07  8:20     ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).