all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Roehler <andreas.roehler@online.de>
To: bug-gnu-emacs@gnu.org
Cc: python-mode@python.org
Subject: 23.1.92; python-expand-template docu
Date: Sat, 13 Mar 2010 12:51:12 +0100	[thread overview]
Message-ID: <4B9B7C30.5040101@online.de> (raw)


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

                 reply	other threads:[~2010-03-13 11:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B9B7C30.5040101@online.de \
    --to=andreas.roehler@online.de \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=python-mode@python.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.