From mboxrd@z Thu Jan 1 00:00:00 1970 From: Susan Cragin Subject: Re: One-keystroke command to move blocks of text up and down Date: Sun, 24 Feb 2013 11:48:42 -0500 (GMT-05:00) Message-ID: <1670200.1361724523080.JavaMail.root@elwamui-mouette.atl.sa.earthlink.net> Reply-To: Susan Cragin Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9ekm-0004gF-OQ for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 11:48:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9ekl-00058q-MH for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 11:48:44 -0500 Received: from elasmtp-scoter.atl.sa.earthlink.net ([209.86.89.67]:37245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9ekl-00058e-Gf for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 11:48:43 -0500 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 list -----Original Message----- >From: Carsten Dominik >Sent: Feb 24, 2013 11:16 AM >To: Susan Cragin >Cc: emacs-orgmode@gnu.org >Subject: Re: [O] One-keystroke command to move blocks of text up and down > > >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. > >- Carsten No. I have the following example. Each of these sentences is a paragraph because it has a carriage return after it. I need to re-order the sentence/paragraphs into correct order. ** Journal This is paragraph three. This is paragraph two. This is paragraph one. ** Other Heading