Erik Iverson <er...@ccbr.umn.edu> writes: > Hello, > > I'm using org source blocks to write a Makefile. > > #+begin_src makefile :tangle Makefile > target: dependencies > command > #+end_src > > At least in GNU make, commands must start with a TAB. > > However, after I close the code edit buffer with C-c ', > the resulting whitespace in the org-mode buffer, and thus > the tangled Makefile, is spaces and not a tab. > > I haven't looked into what's causing this yet, wondering > if anyone else has come across this already and found > a solution?
Hi Erik, (setq org-src-preserve-indentation t) should do it. It does have some other effects so let us know if you have difficulty separating wanted and unwanted effects. Dan > > Thanks, > Erik > > _______________________________________________ > 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 _______________________________________________ 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