[Python-mode] Error during indentation

Andrea Crotti andrea.crotti.0 at gmail.com
Mon Mar 14 16:38:43 CET 2011


Andreas Röhler <andreas.roehler at online.de> writes:

> Hi Andrea,
>
> thanks. Have some idea meanwhile wherefrom these bug. It's in the line
> above, resp. it's receiving function.
>
> Ironically you get this bug, because syntax setting is OK now with Emacs 24.
>
> AFAIS bug results, because the delimiting char of a
> triple-quoted-string is no longer of 7, string quote, but of 15,
> generic string.
>
> syntax-ppss and friends than don't send the delimiting char as
> integer, but `t'. The receiving functions refuses correctly to make a
> string from:
>
> wrong-type-argument integerp t)
>
> With some luck I'll send a fix next days...
>
> Andreas
>

Thanks very good I'll be glad to try the fix then :)
Actually the workaround is not so bad, it's enough to write 4 spaces by
hand, but it would be good to get fixed also for the future emacs24
(which by the way is very stable and looks faster).


More information about the Python-mode mailing list