From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Moving paragraphs instead of lines Date: Tue, 19 Feb 2008 04:33:39 +0000 Message-ID: <87k5l1wonw.fsf@bzg.ath.cx> References: <47B4237E.9060007@calicojack.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRKAo-0001uV-PT for emacs-orgmode@gnu.org; Mon, 18 Feb 2008 23:33:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRKAm-0001tr-R8 for emacs-orgmode@gnu.org; Mon, 18 Feb 2008 23:33:42 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRKAm-0001to-Ly for emacs-orgmode@gnu.org; Mon, 18 Feb 2008 23:33:40 -0500 Received: from ug-out-1314.google.com ([66.249.92.175]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JRKAm-0000YF-Jf for emacs-orgmode@gnu.org; Mon, 18 Feb 2008 23:33:40 -0500 Received: by ug-out-1314.google.com with SMTP id a2so495255ugf.48 for ; Mon, 18 Feb 2008 20:33:39 -0800 (PST) In-Reply-To: <47B4237E.9060007@calicojack.co.uk> (Rick Moynihan's message of "Thu, 14 Feb 2008 11:18:22 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rick Moynihan Cc: emacs-orgmode I guess the rationale behind making M- 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- inside normal paragraphs is a bit too much... but this is just a feeling. Rick Moynihan writes: > When the cursor is positioned within a paragraph would M- and > M- 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- 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-/ 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