From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: text to plain list Date: Fri, 22 Jun 2012 10:06:52 -0600 Message-ID: <87ehp7e3fn.fsf@gmx.com> References: <5024.1340398939@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiBKW-0007Pr-1h for emacs-orgmode@gnu.org; Fri, 22 Jun 2012 17:23:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SiBKU-00087Z-8p for emacs-orgmode@gnu.org; Fri, 22 Jun 2012 17:23:47 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:43326 helo=mailout-us.mail.com) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SiBKU-00087R-0z for emacs-orgmode@gnu.org; Fri, 22 Jun 2012 17:23:46 -0400 In-Reply-To: <5024.1340398939@alphaville> (Nick Dokos's message of "Fri, 22 Jun 2012 17:02:19 -0400") 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: nicholas.dokos@hp.com Cc: Marvin Doyley , emacs-orgmode@gnu.org Nick Dokos writes: > Marvin Doyley wrote: > >> Hi there, >>=20 >> Is there quick method for converting a bunch of text to plain list ?=C2= =A0 >>=20 > > Something like > > sed 's/^/- /' in.txt > out.txt > > perhaps? If that's not what you mean, what do you mean? > I find Emacs Macros work very well for this. 1) position the cursor at the front of the first line 2) C-x ( to start recording a macro 3) manually turn this item into a list 4) position the cursor at the front of the next line 5) C-x ) to finish recording a macro 6) X-e to run the macro on the second item after that you may continue pressing "e" to re-run the macro, or run the macro any number of times with a numeric prefix argument. This does however require some regularity in your list items. Best, --=20 Eric Schulte http://cs.unm.edu/~eschulte