From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: [Babel] Preserving tabs in code blocks Date: Thu, 25 Aug 2011 21:13:21 -0400 Message-ID: <87mxex2cwe.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwkzE-0005Fa-7Z for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 21:13:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwkzD-0000aw-Er for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 21:13:32 -0400 Received: from mho-04-ewr.mailhop.org ([204.13.248.74]:18279 helo=mho-02-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwkzD-0000aI-D4 for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 21:13:31 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Qwkz5-00017P-TB for emacs-orgmode@gnu.org; Fri, 26 Aug 2011 01:13:24 +0000 Received: from localhost.localdomain (gollum.intra.norang.ca [192.168.1.5]) by mail.norang.ca (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p7Q1DLRt006341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 25 Aug 2011 21:13:22 -0400 Received: from localhost.localdomain (gollum [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3/Debian-9.4) with ESMTP id p7Q1DLft022183 for ; Thu, 25 Aug 2011 21:13:21 -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: emacs-orgmode@gnu.org Hi all, I want to include the contents of a file which requires TABS between fields in a #+begin_src ... #+end_src block. When I use C-c ' to edit the block the TABS are all converted back to spaces. I want to be able to tangle the file and preserve the TABS which are required as input to some tool chain. Is there some mode I can use to preserve the TABS? For example: #+begin_src fundamental :tangle testtabs.txt These words are separated by tabs. #+end_src I need to be able to create the testtabs.txt file with the TAB characters intact otherwise it fails as input to the tool chain (which I have no control over). Is there any way to do this? For now I'm keeping the input in a separate file, but I would much prefer to have it in a babel source block in my notes for future reference. Thanks, Bernt