[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Make M-up and M-down transpose paragraphs in org buffers
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Make M-up and M-down transpose paragraphs in org buffers |
Date: |
Tue, 28 Jun 2011 20:44:42 +0200 |
Hello,
Bastien <address@hidden> writes:
> There is one problem though: when you try to move down a paragraph when
> it is followed by a list, Emacs doesn't understand the list should be
> treated as a paragraph.
>
> Any idea on how to circumvent this? Or should we live with this and
> implement the solution?
Imo, a clean way to implement this (because it would also simplify
existing functions) would be to define a forward paragraph-function for
Org. It isn't difficult, but it raises some questions that need to be
answered. For example, should forward-paragraph move into constructs or
skip them. I.e. if point is outside a block and that block contains
paragraphs, should forward-paragraph skip the block or move inside?
Regards,
--
Nicolas Goaziou