How to set tab-width to 4 spaces in emacs ??
Huaiyu Zhu
huaiyu at gauss.almadan.ibm.com
Thu Oct 11 17:07:45 EDT 2001
On Thu, 11 Oct 2001 03:15:10 GMT, Lee Morgan <unknown at lee-morgan.net> wrote:
>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)
To do it globally (for every buffer) you can use
(setq-default tab-width 4)
Huaiyu
More information about the Python-list
mailing list