From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org, Paul Sexton <psexton@xnet.co.nz>
Subject: Re: Make M-up and M-down transpose paragraphs in org buffers
Date: Tue, 28 Jun 2011 20:44:42 +0200 [thread overview]
Message-ID: <87sjqtpzhh.fsf@gmail.com> (raw)
In-Reply-To: <8762np7ua7.fsf@gnu.org> (Bastien's message of "Tue, 28 Jun 2011 19:14:24 +0200")
Hello,
Bastien <bzg@altern.org> 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
prev parent reply other threads:[~2011-06-28 18:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-21 23:08 Make M-up and M-down transpose paragraphs in org buffers Paul Sexton
2011-06-28 17:14 ` Bastien
2011-06-28 18:44 ` Nicolas Goaziou [this message]
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=87sjqtpzhh.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=psexton@xnet.co.nz \
/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).