Hi, Martin!
Looking at the pertinent page in the manual, it seems to me there is
little reason for not binding c-hungry-backspace and
c-hungry-delete-forward to key sequences by default.
Actually, there is a reason, namely that C-c C-d, the obvious key
sequence for c-h-d-f (which is suggested in the CC Mode manual) is
already in use as the hungry toggle function. :-(
Do CC programmers really need both the "minor mode" hungry toggle and the
separate functions bound to their own keys? Personally, I think having
<BS> and <delete> always deleting hungrily would drive me crazy, but
other people presumably like this and use it. (Yourself, perhaps?).
I think that had c-h-backspace and c-h-delete-forward come into existence
before the minor mode, the latter would never have been seen as needed.
However, the minor mode DOES exist and surely needs to continue existing.
However, C-c C-k is currently unused, and would seem to be an ideal
binding for c-h-delete-forward, being analogous to C-k, M-k and C-M-k.
I would like to put C-c <backspace> and C-c C-k as bindings for these two
functions into c-mode-base-map. Is that OK?
--
Alan Mackenzie (Munich, Germany)
|