Re: Python and Emacs
On Tue, May 21, 2002 at 11:21:44PM +0200, J?r?me Marant wrote:
> > Of course, we all know that using tabs in Python code is Evil. :-)
>
> Sure. Now, you make me think that sharing code with Vimers is
> Evil too. I wouldn't need such a trick ;-)
If the problem is that `Vimers' do not use spaces for indentation, suggests
the them to add the following to their ~/.vimrc :
--- cut ---
augroup Python
au!
autocmd BufRead *.py set expandtab softtabstop=4 shiftwidth=4 tabstop=4
augroup END
--- /cut ---
Tell them to type :help to understand what this configuration will do.
I'm not a vim wizard, but this should work.
ciao,
--
Luca - De Whiskey's - De Vitis | Elegant or ugly code as well
aliases: Luca ^De [A-Z][A-Za-z\-]*[iy]'\?s$ | as fine or rude sentences have
Luca, a wannabe ``Good guy''. | something in common: they
local LANG="it_IT@euro" | don't depend on the language.
--
To UNSUBSCRIBE, email to debian-python-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: