From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: One-keystroke command to move blocks of text up and down Date: Sun, 24 Feb 2013 17:21:25 +0100 Message-ID: <87zjyty96i.fsf@gmail.com> References: <29798528.1361721216310.JavaMail.root@elwamui-muscovy.atl.sa.earthlink.net> <0955390C-1431-4D94-8E0B-83515A46666F@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9epA-0005v1-OF for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 11:53:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9ep6-0006Nn-Ng for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 11:53:16 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:58447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9ep6-0006Nh-H8 for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 11:53:12 -0500 Received: by mail-wg0-f47.google.com with SMTP id dr13so1825337wgb.14 for ; Sun, 24 Feb 2013 08:53:11 -0800 (PST) In-Reply-To: <0955390C-1431-4D94-8E0B-83515A46666F@gmail.com> (Carsten Dominik's message of "Sun, 24 Feb 2013 17:16:42 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org, Susan Cragin Hello, Carsten Dominik writes: > On 24.2.2013, at 16:53, Susan Cragin wrote: > >> I use Meta-up-arrow and Meta-down-arrow to move headings in org and entries in spreadsheets. >> Would like to be able to use the same or similar command to move blocks of text up or down. >> The current solution--highlight then kill/yank--is just too slow. >> Suggestions? > > Hi Susan, > > what do you mean by "blocks". A paragraph? Does the command > > M-x mark-paragraph > > select the right amount of text? If so, you could try the command > transpose-paragraphs. M-up and M-down also move paragraphs and most blocks (in Org 7.9). Unfortunately, binding is shadowed when trying to move a src block. Regards, -- Nicolas Goaziou