Benji York enlightened us with: > Your editor probably supports a "backspace unindents" option.
Yes, it does. I'm using vim. > 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. When using a tab/space mixture, with eight spaces being one tab, and an indent of four spaces, things go wrong when the tab size is anything but eight spaces. My solution works for all tab sizes, the other solution only works for tabs of eight spaces. This is why in my opinion it's better to just use tabs. Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? Frank Zappa -- http://mail.python.org/mailman/listinfo/python-list