help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python Mode, managing and converting TABS


From: Damien Wyart
Subject: Re: Python Mode, managing and converting TABS
Date: Mon, 02 Jun 2014 21:33:05 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50

* Tim Johnson <address@hidden> in gnu.emacs.help:
> I currently have this in my .emacs [code]
> (add-hook 'python-mode-hook
>             '(lambda ()
>                (turn-on-font-lock)
>                (setq default-tab-width 4)
>                (setq tab-width 4)
>                (imenu-add-menubar-index)
>                (setq imenu-sort-function 'imenu--sort-by-name)))
>

You might also want: (setq indent-tabs-mode nil)

-- 
DW


reply via email to

[Prev in Thread] Current Thread [Next in Thread]