From: Jerry Seutter Date: Wed, 13 Jul 2005 21:09:56 GMT Subject: Re: [PATCH] stgit: allow spaces in filenames Message-ID: <42D58324.6080303@pason.com> In-Reply-To: <42D55AC9.4000506@gmail.com> Bryan Larsen wrote: > Catalin Marinas wrote: > >> An additional thing, can you please convert all the tabs to spaces? >> That's a better convention for a language like Python where you >> delimit blocks by indentation. > > > I would have hoped that emacs py-mode would "do the right thing". > Anybody know how to make it do what Catalin wants? Yeah, the default emacs mode seems to be to Do The Wrong Thing. I have this in my .emacs, YMMV. (setq-default indent-tabs-mode nil) ; Don't insert tab characters. (setq-default tab-width 4) ; If there are tabs, display ; as 4 spaces. You can set the tab-width to something much larger to make existing tabs obvious. Jerry