I have org-src-preserve-indentation set to t. Charles C. Berry writes:
> 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 -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu