-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jan 29, 2009, at 2:54 PM, Andreas Roehler wrote:

Goal was: commands should

- speak for themselves
- need no docu reading
- be easily to put at a key or alias.

Therefor, if we have a compound command, which with an
option changes its behaviour, IMO its better to split
it into two or more at the user level.

Old function `py-beginning-of-def-or-class' is renamed to
`py-beginning-of-def-or-class-if-arg', now adressed by either

py-beginning-of-function,
py-beginning-of-class, or
py-beginning-of-def-or-class (really "or", i.e. stops at both)


So old `py-beginning-of-def-or-class' remains the
function with the guts and is called by the new
introduced.

In the last case (really "or") that way:

(py-beginning-of-def-or-class-if-arg 'either arg)

py-beginning-of-def-or-class-if-arg still exists as command,
you may simply change the key if you want to use it as before.

That actually sounds fine to me.

BTW: opened another account at lp. Thanks for introducing me to bazaar.

Maybe have a look at http://bazaar.launchpad.net/~a-roehler/s-x-emacs-werkstatt/

Maybe this url: https://launchpad.net/s-x-emacs-werkstatt

Looks cool.  Hope you like bazaar!
Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iQCVAwUBSYcWH3EjvBPtnXfVAQIFcQP8DQ/sE5A8IBb2k1zAaSZD3urNurcTylgR
Zv2vpObfRwrmcp6clDBYOp0McHwL6sz2cerV5Q7IfDPMsxT8Be6jmNolmagazmc1
7HzdqMY9lGSGiwoi7qNFiMOSs8VVs/1Qd/R2bLKFkrF2rFNxbNps+qYiC48OopIg
XeieSzLf8Qs=
=ZsB/
-----END PGP SIGNATURE-----
_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to