help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best practice for overriding keybinding of a minor mode?


From: Stefan Kamphausen
Subject: Best practice for overriding keybinding of a minor mode?
Date: Fri, 25 Sep 2009 09:57:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Dear all,

whenever you use a minor mode it may come with its own set of
keybinding.  Just as an example take the keymap of the fine
flyspell-mode.  It binds C-. and C-, which I find particularly annoying
since I got those bound to some personal functions globally for years.  

Now, my question is: what is the best/most effective/easiest/suggested
way to remove those bindings?  Shall I re-create that keymap after
loading flyspell?  Or override those binding explicitly in all hooks
where I enable flyspell (mainly nxml and message-mode, that is)?

How would you do this?

Kind regards,
Stefan
-- 
Stefan Kamphausen --- http://www.skamphausen.de
a blessed +42 regexp of confusion (weapon in hand)
You hit. The format string crumbles and turns to dust.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]