On Wed, 11 Mar 2015, Roger Mason wrote:
Hello,This code: #+BEGIN_SRC makefile :tangle Makefile hello: hello.f90 gfortran hello.f90 execute: hello ./a.out clean: rm -f a.out *.o #+END_SRC (stolen from John Kitchin) produces a Makefile with spaces instead of tabs. I created the content in makefile mode, with tabs, but emacs untabifies the output. How can I prevent this?
Use the `-i' results switch: #+BEGIN_SRC makefile -i :tangle Makefile or set `org-src-preserve-indentation' non-nil. HTH, Chuck