[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] buffer local org-src-preserve-indentation not respected
From: |
Nicolas Goaziou |
Subject: |
Re: [O] buffer local org-src-preserve-indentation not respected |
Date: |
Sat, 10 Dec 2016 00:22:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello,
David Dynerman <address@hidden> writes:
> I just tried, and I still encounter this buf on the current git code.
> Reproduction is the same as before:
>
> #+BEGIN_SRC python :tangle preserve-indent.py
> class Foo:
> bar = 5
> #+END_SRC
>
>
> Here is some interstitial text!
>
> #+BEGIN_SRC python :tangle preserve-indent.py
> def __init__(self):
> self.bar = 7
> #+END_SRC
>
> If I globally set org-src-preserve-indentation to t, then tangle, the
> output file has the correct specified indentation with the second
> block. If I make org-src-preserve-indentation buffer local and set it
> to t, then the second block is tanlged without any leading
> indentation.
Fixed (hopefully) this time. Thank you for the feedback.
Regards,
--
Nicolas Goaziou