Sybren Stuvel ha scritto: >>If using Vim it would be something like "set softtabstop=4". > > > This gives you a mixture of tabs and spaces, which I don't like. I'd > rather use real tabs for indenting. If you then use another tab width, > you only see a wider indent, but the rest of the code is okay.
Why not use just spaces? Vim simplifies this immensely: set tabstop=4 set shiftwidth=4 set expandtab set smarttab set autoindent AFAICT this gives me all spaces, 4 spaces indent, tab inserts spaces and backspace over a block of 4 spaces deletes all of them (just like deleting a tab). -- Renato -------------------------------- Usi Fedora? Fai un salto da noi: http://www.fedoraitalia.org -- http://mail.python.org/mailman/listinfo/python-list