[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [Babel] Preserving tabs in code blocks
From: |
Bernt Hansen |
Subject: |
Re: [O] [Babel] Preserving tabs in code blocks |
Date: |
Fri, 26 Aug 2011 06:14:44 -0400 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) |
Nick Dokos <address@hidden> writes:
> Bernt Hansen <address@hidden> wrote:
>
>> 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?
> Try setting org-src-preserve-indentation to t. If you change the default
> value of indent-tabs-mode to nil (as I do), then you might have problems
> in any case: inserted tabs will be changed to spaces. But if you have it
> left at the default t, then I think this works.
Thanks Nick!
That works great :)
Regards,
Bernt