Xemacs Python Mode.

Gary Herron gherron at aw.sgi.com
Fri Jul 23 17:27:09 EDT 1999


Chris Barker wrote:
> 
> Hi,
> 
> Does anyone know if I can set emacs mode to indent with ONLY tabs? (and
> if so, how?) While I'm at it I'd like the tabs to show up as four spaces
> while in Python mode also.
> 

I have my emacs setup to use one tab per indent level, and to display
tabs as four spaces.  I believe that this is all controlled by the
following three settings found in the customization section of my .emacs
file.


(custom-set-variables
 '(py-indent-offset 4)
 '(tab-width 4)
 '(py-smart-indentation nil)
 ...
)

-- 
Dr. Gary Herron <gherron at aw.sgi.com>
206-287-5616
Alias | Wavefront
1218 3rd Ave, Suite 800, Seattle WA 98101




More information about the Python-list mailing list