From: Bastien <bzg@altern.org>
To: Rick Moynihan <rick@calicojack.co.uk>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Moving paragraphs instead of lines
Date: Tue, 19 Feb 2008 04:33:39 +0000 [thread overview]
Message-ID: <87k5l1wonw.fsf@bzg.ath.cx> (raw)
In-Reply-To: <47B4237E.9060007@calicojack.co.uk> (Rick Moynihan's message of "Thu, 14 Feb 2008 11:18:22 +0000")
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 <rick@calicojack.co.uk> 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
next prev parent reply other threads:[~2008-02-19 4:33 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
2008-02-19 4:33 ` Bastien [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k5l1wonw.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=rick@calicojack.co.uk \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.