How to set tab-width to 4 spaces in emacs ??
Lee Morgan
unknown at lee-morgan.net
Wed Oct 10 23:15:10 EDT 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)
> Thomas
>
>
--
Lee Morgan
More information about the Python-list
mailing list