Hi, 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 inside. 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 customizable. Also + (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. Andreas Röhler -- http://bazaar.launchpad.net/~a-roehler/python-mode/python-mode.el/files https://code.launchpad.net/s-x-emacs-werkstatt/ _______________________________________________ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode