~a-roehler/python-mode/XEmacs-compat-test

Viewing all changes in revision 784.

  • Committer: Andreas Roehler
  • Date: 2012-01-28 08:58:52 UTC
  • Revision ID: andreas.roehler@online.de-20120128085852-v33jd3yjrzrnpd0x
new commands `indent-tabs-mode', `toggle-indent-tabs-mode', 
  `indent-tabs-mode-on', `indent-tabs-mode-off'

`tab-width' now follows `py-indent-offset'

feature after a request at Stack Exchange asked Jul
13 '11 at 13:23 saying:

How to make Emacs Python mode generate TABs for indent?

I'm working with a bunch of Python programmers who use  
vim and they make Python using TABs for indent. I use   
Emacs with python-mode which translates the tab key to 4
spaces (like it should, but never mind). Since I don't  
want to cause trouble I want to add something to my     
.emacs file (or whatever) to make indents using real    
TABS instead of translating them to spaces. How?        

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: