all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Corey Foote <coreyfoote@hotmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Adding a keybinding for a major mode
Date: Mon, 13 Oct 2008 16:47:46 +0200	[thread overview]
Message-ID: <48F35F92.4070601@gmail.com> (raw)
In-Reply-To: <BLU105-W10DA728F0E778EA0C4EC5BDA360@phx.gbl>

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	other threads:[~2008-10-13 14:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-13 13:40 Adding a keybinding for a major mode Corey Foote
2008-10-13 14:47 ` Lennart Borgman (gmail) [this message]
     [not found] <mailman.929.1223905211.25473.help-gnu-emacs@gnu.org>
2008-10-16 21:27 ` Xah
2008-10-16 22:32   ` 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=48F35F92.4070601@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=coreyfoote@hotmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.