compound-statement-skeletons

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

compound-statement-skeletons

Andreas Röhler-2

Hi Barry, hi all,

transferred `compound-statement-skeletons' from python.el in order to work with python-mode.el.

It defines "if", "for" etc. as abbrevs, whose expansions are functions inserting the skeleton.

Remains a strange bug: abbrev-expansion only works after a RET inside the buffer or a manual call "M-x python-expand-skeleton" first.

If that is called one time, expanding abbrevs/skeletons works fine.

Any idea whats wrong? The bug doesn't exist when called from python.el

Thanks


Andreas

--
https://code.launchpad.net/~a-roehler/python-mode
https://code.launchpad.net/s-x-emacs-werkstatt/



_______________________________________________
Python-mode mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/python-mode