Hi sorry I forgot this conversation

On Mon, Jan 5, 2009 at 8:19 PM, Kazutoshi Satoda <k_satoda@f2.dion.ne.jp> wrote:
Matthieu Casanova wrote:
Maybe we could add an attribute to the electric char to forbid indentation
after an electric char ?
Or you have a better idea ?

I'm not a heavy user of the python mode, but, how about just
dropping ":" from electric char in python mode.

It seems that the electric char ":" is meant to dedent "else:" for
matching "if ...:". But that will be incorrect easily.

if something:
 if anotherthing:
  else: # HERE, jEdit can't know which level is correct.

For now, same problems will happen with "try" or "def ..." instead
of "if anotherthing".

That's right jEdit don't know what level is correct for this else: but for sure it should at least unindent one tab, and in a lot of case it is ok.
I do python and it helps even if it is not perfect