unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Laemeur <laemeur@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: List-style Paragrah Reordering
Date: Wed, 12 Jun 2013 13:51:52 +0530	[thread overview]
Message-ID: <87a9mvlowv.fsf@gmail.com> (raw)
In-Reply-To: <673c12be-3932-4fd4-a7b6-a3e5b57ffe56@googlegroups.com> (laemeur@gmail.com's message of "Tue, 11 Jun 2013 16:27:43 -0700 (PDT)")

Laemeur <laemeur@gmail.com> writes:

> In Org-mode, reordering items in a list is a piece of cake with the
> Meta-Shift-up/down binding: the current list item swaps places with
> the item above or below, and point keeps its position relative to the
> current line. I would like to be able to do this with paragraphs/lines
> of text as well, but Meta-Shift-up/down only works this way on tables,
> lists, and headings by default.

The specific command for paragraphs is

    M-x org-drag-element-forward
    M-x org-drag-element-backward

They can be invoked with 

      M-up
      M-down

----------------------------------------------------------------

The specific command for lines is

    M-x org-drag-line-forward
    M-x org-drag-line-backward
    

This can be invoked with

   S-M-down
   S-M-up

>
> I would really appreciate any help in configuring Emacs to do
> this. Hopefully it's a relatively simple thing to do.
>
> Thanks very kindly,
> -L



  reply	other threads:[~2013-06-12  8:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-11 23:27 List-style Paragrah Reordering Laemeur
2013-06-12  8:21 ` Jambunathan K [this message]
     [not found] ` <mailman.1468.1371025273.22516.help-gnu-emacs@gnu.org>
2013-06-13  1:34   ` laemeur

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87a9mvlowv.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=laemeur@gmail.com \
    /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.
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).