Subject: 23.1.92; python-expand-template docu

From: Andreas Roehler <[email-masked]>
Date: Sat, 13 Mar 2010 12:51:12 +0100

Hi,

python.el provides templates inserting compound statements like `if', `for' etc. - a nice feature.

AFAIS it's for use in two ways -

1) as an abbrev expanded
2) by calling `python-expand-template', afterwards the user is prompted.

See only the first usage mentioned in the docu.  The
latter may be more suitable for beginners, as it's done
expressingly only - no automatic abbreviation expansion.

Suggest to extend the docstring of `python-use-skeletons' with something like

"In any case you may use skeletons, calling `python-expand-template'."

Also description of `define-derived-mode python-mode' which closes now:

"An abbrev table is set up with skeleton expansions for compound statement templates."

should mention `python-use-skeletons'.

Thanks all

Andreas

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

GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2010-02-19