emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Tim Braun <TBraun@aphysci.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Request for addition to "structure editing" manual section
Date: Sun, 01 Sep 2024 16:45:58 +0000	[thread overview]
Message-ID: <87mskrpbjt.fsf@localhost> (raw)
In-Reply-To: <b78755baf33d4f768c0d486df6bb6880@aphysci.com>

Tim Braun <TBraun@aphysci.com> writes:

> There is a useful but undocumented feature in org-mode related to
> structure editing. Occasionally one may need to move a sub-item within
> a file but outside its current parent heading. There is an existing
> function and native keybinding for this: M-S <up> and M-S <down>. This
> isn't listed, however, on the
> https://orgmode.org/manual/Structure-Editing.html page or the packaged
> info with org.el. ...at least so far as I can tell. Could this be
> added to one or both? I think the html manual is more used, but I
> don't know...

M-S-up/down does not look into headings. It simply moves current line
up/down, except when on a clock line or on a table line where it
performs other actions (documented in other sections in the manual)

So, the way you use it just happens to work for your Org
files. Presumably because your headings happen to have no contents.

I see no reason to put it into "structure editing" section of the
manual. Maybe somewhere else, but, as you see, the command does not do
what you use it for (or rather do it just for your specific
scenarios). So, I am not sure if we need to add this specific line
moving behavior into the manual at all.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


      reply	other threads:[~2024-09-01 16:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-29 14:42 Request for addition to "structure editing" manual section Tim Braun
2024-09-01 16:45 ` Ihor Radchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mskrpbjt.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=TBraun@aphysci.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).