unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* 23.1.92; python-expand-template docu
@ 2010-03-13 11:51 Andreas Roehler
  0 siblings, 0 replies; only message in thread
From: Andreas Roehler @ 2010-03-13 11:51 UTC (permalink / raw)
  To: bug-gnu-emacs; +Cc: python-mode


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-13 11:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-13 11:51 23.1.92; python-expand-template docu Andreas Roehler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).