emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Spiers <orgmode@adamspiers.org>
To: emacs-orgmode@gnu.org
Subject: Re: Moving paragraphs instead of lines
Date: Sun, 17 Feb 2008 17:16:53 +0000	[thread overview]
Message-ID: <20080217171653.GA13568@atlantic.linksys.moosehall> (raw)
In-Reply-To: <47B4237E.9060007@calicojack.co.uk>

On Thu, Feb 14, 2008 at 11:18:22AM +0000, Rick Moynihan wrote:
> 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.

If anything, I would actually vote for the entire outline heading
being moved within the outline structure, since emacs already provides
plenty of functionality with regards to normal text editing
(`transpose-lines', `transpose-paragraphs', `mark-paragraph' etc.).

  reply	other threads:[~2008-02-17 17:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-14 11:18 Moving paragraphs instead of lines Rick Moynihan
2008-02-17 17:16 ` Adam Spiers [this message]
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=20080217171653.GA13568@atlantic.linksys.moosehall \
    --to=orgmode@adamspiers.org \
    --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).