Hello,

Andreas Röhler <andreas.roeh...@easy-emacs.de> writes:

> as indentation might be provided by TAB and whitespace chars likewise,
> what about following setting of `indent-tabs-mode'?

It is indeed possible to propagate `indent-tabs-mode' value to the
original buffer's copy where export happens, but it will not be enough
to guaranty that indentation related TAB characters are preserved (e.g.,
if relative indentation falls below `tab-width' value although global
one was above).

The only way to make sure TAB will be preserved is to set
`org-src-preserve-indentation' to a non-nil value (or, locally, to use
"-i" switch).


Regards,

-- 
Nicolas Goaziou

Reply via email to