emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rick Moynihan <rick@calicojack.co.uk>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Moving paragraphs instead of lines
Date: Thu, 14 Feb 2008 11:18:22 +0000	[thread overview]
Message-ID: <47B4237E.9060007@calicojack.co.uk> (raw)

When the cursor is positioned within a paragraph would M-<up> and 
M-<down> not be better set to move the current paragraph above or below 
it's surrounding paragraphs respectively?

e.g.  When the point is positioned in the following outline, would a 
M-<up> not be better moving the foo paragraph above the bar one, rather 
than just repositioning the 6-foo line?

* Outline

bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar
bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar
bar bar bar bar bar

foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo
foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo
foo foo foo foo foo foo | <-- point

I could see such operations being restricted to only operate with the 
current outline level.  I realise the M-<up>/<down> behaviour when on an 
outline is correct, but I see little need in repositioning lines within 
a paragraph if the user is using M-q to wrap paragraphs, as I do. 
Moving the paragraph here would surely make more sense.


R.

             reply	other threads:[~2008-02-14 11:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-14 11:18 Rick Moynihan [this message]
2008-02-17 17:16 ` Moving paragraphs instead of lines Adam Spiers
2008-02-19  4:33 ` Bastien
2008-02-22 11:09 ` Carsten Dominik

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=47B4237E.9060007@calicojack.co.uk \
    --to=rick@calicojack.co.uk \
    --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).