How to set tab-width to 4 spaces in emacs ??
unknown at lee-morgan.net
Thu Oct 11 05:15:10 CEST 2001
"Thomas Weholt" <t-weh at online.no> writes:
> Trying to set the tab-width in emacs to 4 spaces without luck. Using
> Mandrake 8.1 ( great distro btw, python 2.1.1, postgresql 7.1.3 etc. try it
> now !)
> tried :
> # tab-width: 4
> etc. but no go.
> Any hints ???
I think (setq tab-width 4) is correct, although isnt it both a global and buffer
variable(or is it a mode var?) - so you may need to add it on to your mode
hook. (Although I've never had reason to change python-mode)
More information about the Python-list