[Python-mode] Don't bind C-c C-h

Reinout van Rees reinout at vanrees.org
Fri Mar 19 11:07:29 CET 2010


On 03/19/2010 10:57 AM, Deniz Dogan wrote:
> 2010/3/19 Reinout van Rees<reinout at vanrees.org>:
>>
>> (What I don't know is where in python mode he found a ctrl-h binding, btw).
>>
>
> In python-mode.el with py-version "5.1.0+" whatever that means:
>
> Line 692:
>    (define-key py-mode-map "\C-c\C-h"  'py-help-at-point)

Ouch.  Yes, that's evil.  It breaks a major emacs convention.

ctrl-h *is* sadly the logical key for some help-related function.  Would 
"ctrl-c h" be an alternative?


Reinout

-- 
Reinout van Rees - reinout at vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"



More information about the Python-mode mailing list