I think you mean (setq org-src-tab-acts-natively t) right? It looks like the function I made basically does the same thing, by another mechanism! I still wonder why it doesn't work with RET though. John ----------------------------------- 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 On Sat, Mar 19, 2016 at 8:15 PM, Ken Mankoff wrote: > > On 2016-03-19 at 19:27, John Kitchin wrote: > > Thanks! That is a nice function. > > > > I adapted it to make Tab work in python mode blocks. > > This might already do that: > > (setq org-src-tab-acts-natively nil) > > -k. >