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

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

Re: Adding a keybinding for a major mode


From: Lennart Borgman (gmail)
Subject: Re: Adding a keybinding for a major mode
Date: Mon, 13 Oct 2008 16:47:46 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Corey Foote wrote:
> How come the short cuts for M-x comment region (C-c C-c) and M-x (C-u
> C-c C-c) uncomment-region only work in some major modes an not others
> (for example emacs-lisp mode)? And how would I enable them for certain
> modes?


Maybe because they break the conventions?

 (info "(elisp) Key Binding Conventions")

BTW, if you want to find out where the keys are bound this way then you
might use the command `describe-key-and-map-briefly'. Ehum, which comes
with nXhtml (just because I do not have time to distribute it another way).




reply via email to

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