From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Xah <xahlee@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Adding a keybinding for a major mode
Date: Fri, 17 Oct 2008 00:32:41 +0200 [thread overview]
Message-ID: <48F7C109.3040505@gmail.com> (raw)
In-Reply-To: <9927493c-c6ba-4298-8a31-fc2b11d8cc59@q26g2000prq.googlegroups.com>
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 ...
next prev parent reply other threads:[~2008-10-16 22:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.929.1223905211.25473.help-gnu-emacs@gnu.org>
2008-10-16 21:27 ` Adding a keybinding for a major mode Xah
2008-10-16 22:32 ` Lennart Borgman (gmail) [this message]
2008-10-13 13:40 Corey Foote
2008-10-13 14:47 ` Lennart Borgman (gmail)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48F7C109.3040505@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=xahlee@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.