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: Tim Johnson
Subject: Re: Python Mode, managing and converting TABS
Date: Tue, 3 Jun 2014 07:20:41 -0800
User-agent: Mutt/1.5.21 (2010-09-15)

* Damien Wyart <address@hidden> [140602 11:43]:
> * 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)
  :) Done. Thanks.
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com



reply via email to

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