I am going to weigh in here. Denis is absolutely correct. It is an official binding and convention in emacs, and I believe xemacs.
C-h is sacred. It has a bunch of functionality behind it tied in with prefix keys. This means that in creating a map, and binding it to a prefix key, when you hit: <prefix-key>, C-h it will list all the bindings for that key's map. As a very practical example, I use F5 for various org-mode functionality. This is accomplished by defining F5 as a prefix key, and binding a keymap I populated with various bindings to that key. Now whenever I forget (frequently) what I had bound to what I just hit F5,C-h and all the bindings are displayed. And this holds for C-c. If I hit C-c,C-h it is because I want to see what the bindings are for the current mode. I and many other emacs users would be seriously thrown, not to say upset, if this functionality was changed. The C-h binding is very important for discoverability, and I think it is a very, very bad idea to bind it to anything. Just my 2 cents worth. Thanks, Rohan On Fri, Mar 19, 2010 at 7:27 AM, Andreas Roehler <andreas.roeh...@online.de> wrote: > Deniz Dogan wrote: >> 2010/3/18 Andreas Roehler <andreas.roeh...@online.de>: >>> Deniz Dogan wrote: >>>> Please, don't bind C-c C-h to anything. This prevents people from >>>> viewing all the bindings that start with C-c, which C-c C-h would >>>> normally display. >>>> >>> Hi Deniz, >>> >>> it may help, if you write your suggestion into the bug-tracker. So it doesn't get lost. >>> >>> https://bugs.launchpad.net/python-mode >>> >>> When reporting, please explain a little bit more the reasons. What's there as mentioned normally for you? >>> Exists some coding convention which contradicts? >>> >>> Thanks taking part >>> >> >> Would someone mind reporting the issue there for me? I don't plan on >> using Launchpad any time soon other than for this. If anyone gets >> around to doing that, you can use the following description of the >> problem: >> >> I'm not sure there is an actual convention that says one shouldn't use >> C-h in a key sequence. However, I often use C-h as a "suffix" key to >> find out more about key sequences that start out a certain way. You >> can try this by hitting e.g. "C-x n C-h", which should give you: >> >> C-x n d narrow-to-defun >> C-x n n narrow-to-region >> C-x n p narrow-to-page >> C-x n w widen >> >> I use this feature quite often in Emacs and I'm sure some other people >> do it to. Of course, one can use "C-h m" to find out more about the >> mode-specific key bindings, but there is still use for C-h as a >> suffix, as it shows you _all_ of the bindings that start with a >> particular key sequence. >> > > You mentioned a binding starting with C-c, not with C-x as your example shows now. > So the matter is done? > > > > _______________________________________________ > Python-mode mailing list > Python-mode@python.org > http://mail.python.org/mailman/listinfo/python-mode > _______________________________________________ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode