emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Moving paragraphs instead of lines


From: Adam Spiers
Subject: Re: [Orgmode] Moving paragraphs instead of lines
Date: Sun, 17 Feb 2008 17:16:53 +0000
User-agent: Mutt/1.5.14 (2007-02-12)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]