From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Export to ascii simpler Date: Tue, 29 Sep 2009 12:44:20 -0400 Message-ID: <8003.1254242660@alphaville.usa.hp.com> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MsfpD-0000Fh-JF for emacs-orgmode@gnu.org; Tue, 29 Sep 2009 12:45:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Msfp8-0000Cb-GP for emacs-orgmode@gnu.org; Tue, 29 Sep 2009 12:45:14 -0400 Received: from [199.232.76.173] (port=41638 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Msfp7-0000CX-LX for emacs-orgmode@gnu.org; Tue, 29 Sep 2009 12:45:09 -0400 Received: from g6t0184.atlanta.hp.com ([15.193.32.61]:3072) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Msfp6-0006ec-HY for emacs-orgmode@gnu.org; Tue, 29 Sep 2009 12:45:08 -0400 In-Reply-To: Message from andrea Crotti of "Tue, 29 Sep 2009 14:46:04 -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: andrea Crotti Cc: emacs-orgmode@gnu.org andrea Crotti wrote: > Is there a very quick way to copy some text from an emacs buffer > taking away the indentation? org-export-as-ascii creates a new file, > I only need in the ring (and in osx buffer) the text copied. I can > copy to another buffer than do a *kill-rectangle* on it but it's quite > a long procedure.. > > I'm not sure I understand what you want - it's also not clear to me whether this has anything to do with org-mode, but here goes: o Forget about copying to another buffer: kill the rectangle in the original buffer and then undo. or: o Mark the region, do C-0 C-M-\ to take away the indentation, M-w to copy it to the kill ring, then undo to restore the indentation. Does this help? Nick