found some bug in python-mode the code folding is activated for any text with pattern "*def*" followed by any non alphabetic character followed . . .