Currently, <tab> indents to the deepest valid level.
This is not always desirable.
The haskell functional programming language also uses
indentation to mean stuff. The emacs haskell mode
deals with this by having the <tab> key cycle through
the various possible indentations.
I think this would be a really groovy feature :-)
def foo(x, y):
if x > y:
The cursor is now at the position indicated by |. What
I'd like is for <tab> to move the cursor back 4 chars,
to the next-innermost valid indentation. A second
<tab> would move the cursor back again, to the
outermost valid indentation. A third <tab> would start
the cycle again, moving the cursor to the innermost level.
This is an improvement which would definitely enhance
my python-programming experience.