2010/10/12 Dan Davison <davi...@stats.ox.ac.uk>: > Thanks for the report and patches. I've just pushed a modification of > your patch, along the lines of > > - "\n" (org-babel-trim body) "\n")) > + "\n" (org-babel-trim body (if org-src-preserve-indentation "[\f\n\r\v]")) > "\n")) > > Thus spaces and tabs should no longer be trimmed when > `org-src-preserve-indentation' is non-nil. Hopefully this fixes things.
Yes, your patch along with Eric's fix seems to do the job. Python code is now tangled correctly. Great! _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode