<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 15, 2018 at 6:24 AM, Ben McGinnes <span dir="ltr"><<a href="mailto:ben@adversary.org" target="_blank">ben@adversary.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
So I've discovered an annoying bug (as if there's any other<br>
kind) in org-mode's babel output.<br>
<br>
Specifically that babel appears to break Python code examples in which<br>
there are nested indent blocks. It's fine with the first level of<br>
indentation, but does not honour subsequent levels of indentation.<br></blockquote><div><br></div><div>I checked it out of curiosity, and it seems that there is a mix of tabs</div><div>and white-spaces on the source code.</div><div><a href="https://dev.gnupg.org/source/gpgme/browse/master/lang/python/docs/GPGMEpythonHOWTOen.org;e54b110aec3165a32ff9551d0c5227b88aa3dd4f$617">https://dev.gnupg.org/source/gpgme/browse/master/lang/python/docs/GPGMEpythonHOWTOen.org;e54b110aec3165a32ff9551d0c5227b88aa3dd4f$617</a><br></div><div><br></div><div>I am not sure whether this is the cause of the problem, but usually</div><div>it is not recommended to have such a mix on source code.</div><div>I think that Emacs can be configured to convert automatically</div><div>tabs to white-spaces, but I don't know how this is done.</div><div><br></div></div></div></div>