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: Fri, 17 Oct 2008 00:32:41 +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

Xah wrote:
> On Oct 13, 6:40 am, Corey Foote <coreyfo...@hotmail.com> 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 comment-region and uncomment-region are probably
> replaced by comment-dwim (Ctrl+;).

Yes.

> Lennart Borgman wrote:
> «Maybe because they break the conventions?
>  (info "(elisp) Key Binding Conventions")
> »
> 
> emacs lisp mode is a old, basic mode... i doubt it breaks emacs
> keybinding conventions.


You are right, I should learn to read a bit better before I answer:

C-c C-c is reserved for major modes ...




reply via email to

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