On Tue, Jul 04, 2006 at 01:24:45PM +0200, Georg Baum wrote: > Jose' Matos wrote: > > > On Tuesday 04 July 2006 11:34, Enrico Forestieri wrote: > >> Ops, forgot to ":set expandtab" in vim. Why not put a > >> "# vim: set et ts=4 sw=4:" line at the end of python scripts? > > > > I am not against such a change. :-) > > The same applies for emacs settings although we are using the emacs > > default > > settings. OTHO other text editors are able to follow vim and emacs hints > > so this could be more general than emacs and vi. > > > > Georg and Bo what do you think? > > Leave it out. Letting vim read settings from files of unknown source is a > security risk, so it is disabled by default, and we should not encourage > people to switch this on. I guess it is similar with emacs. > I cannot resist to point out that you would not have these problems with the > indentation scheme that André and I want ;-)
I solved the issue using the following line au BufRead *.py set et ts=4 sw=4 in ~/.vimrc :) -- Enrico