On Mar 05, 2010, at 07:00 PM, Andreas Roehler wrote:

>question is: how to edit small units in python-code?
>
>Let's consider piece below from Dive Into Python:
>
>  result = roman71.fromRoman(numeral)
>
>Beside of operators three python-words are here:
>
>result / roman71 / fromRoman(numeral)
>
>which should possible be picked with one command/key.
>Resp. copied, deleted, maybe transposed etc.

Aren't there already key bindings for these.  E.g.

M-f == py-forward-into-nomenclature
M-C-f == forward-sexp

Well you need two keystrokes to get all of 'fromRoman(numeral)' or of course
you could just use

C-e == move-end-of-line

At least, it's never seemed there was anything lacking to me.

-Barry

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to