[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Moving paragraphs instead of lines
From: |
Bastien |
Subject: |
Re: [Orgmode] Moving paragraphs instead of lines |
Date: |
Tue, 19 Feb 2008 04:33:39 +0000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) |
I guess the rationale behind making M-<up/down> to move lines was to get
a similar behavior for this command whatever the context:
- inside a list
- inside a table
- inside a subtree headlines
- inside normal paragraphs
But I have the feeling that the current behavior for M-<up/down> inside
normal paragraphs is a bit too much... but this is just a feeling.
Rick Moynihan <address@hidden> writes:
> 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.
--
Bastien