unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Best practice for overriding keybinding of a minor mode?
@ 2009-09-25  7:57 Stefan Kamphausen
  2009-09-25  8:08 ` Pascal J. Bourguignon
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Stefan Kamphausen @ 2009-09-25  7:57 UTC (permalink / raw)
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-10-01 15:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-25  7:57 Best practice for overriding keybinding of a minor mode? Stefan Kamphausen
2009-09-25  8:08 ` Pascal J. Bourguignon
2009-09-25 19:30   ` Tassilo Horn
2009-09-28 21:54 ` Samuel Wales
     [not found] ` <mailman.7668.1254174883.2239.help-gnu-emacs@gnu.org>
2009-09-30 19:09   ` jpkotta
2009-09-30 21:42     ` Andreas Politz
     [not found]     ` <mailman.7802.1254346989.2239.help-gnu-emacs@gnu.org>
2009-10-01 15:45       ` jpkotta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).