[Python-mode] bugfixes, `py-match-paren' now at "%"
andreas.roehler at online.de
Wed Feb 4 22:30:49 CET 2009
luckily announce some progress in python-mode.el (branch)
`py-match-paren' now has a key: "%" as in lisp.
`M-x py-match-paren-mode', jump between beg and
end of block pressing "%". To the beginning first, if
Key "%" is not as suitable as in lisp,
as its more often needed in python.
If `py-match-paren-mode' is on with that key assigned,
to insert a "%" literally do \C-q%.
So the key is to change still probably, it's
+ (define-key py-mode-map "\C-\M-n" 'py-forward-block)
+ (define-key py-mode-map "\C-\M-p" 'py-backward-block)
+ (define-key py-mode-map "\C-ca" 'py-beginning-of-block)
+ (define-key py-mode-map "\C-ce" 'py-end-of-block)
+ (define-key py-mode-map "\C-c\C-u" 'py-goto-block-up)
That means: took the keys from forward- backward-list
in Lisp, as a list in python is a block for me.
That experimentally so far. Must I deliver live-jackets? ;)
`py-match-paren' and `py-backward-block' fixed.
More information about the Python-mode