On Tue, Feb 22, 2011 at 8:48 PM, Stefan Monnier <address@hidden>
> I really like the hungry-delete minor mode that cc-mode provides, so IFor DEL at least, you can
> would like to have it in other modes, specifically Python mode.
(global-set-key [?\^?] 'backward-delete-char-untabify)
and even control it via buffer-local settings of
Because the CC-mode author wanted to provide the feature to all CC-mode
> Is there any reason why hungry-delete mode (or subword mode or
> auto-newline mode for that matter) is so tightly coupled with cc-mode?
users and/or did not make the effort to try and submit this feature for
separate inclusion in Emacs.
Of course it's possible. As a matter of fact we do have subword-mode,
> Would it be possible to decouple them and make the functionality
> available to other modes as a minor mode instead of them being just
> "minor-mode-like features" in cc-mode?
as well as electric-layout-mode.