all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
Cc: bug-cc-mode@gnu.org
Subject: Is it permissible to bind C-<backspace> and/or C-<delete> in a major mode?
Date: Sat, 18 Sep 2004 19:39:20 +0000 (GMT)	[thread overview]
Message-ID: <Pine.LNX.3.96.1040918192728.245A-100000@acm.acm> (raw)

Hi, Emacs!

I'm thinking about binding these key sequences in CC Mode.  In
particular, to c-hungry-backspace and c-hungry-delete-forward.  There is
an obvious mnemonic and systematic reason for this.

However.....  Will this offend any Emacs conventions?

The page "Emacs Lisp Coding Convention" in the Elisp manual gives no help
on such key sequences.  C-c C-<letter> and C-c C-[{}<>;:] are for major
modes,  C-c <letter> is for individual users, C-c <other punctuation> is
for minor modes.

But what of other C-c combinations?  There are no rules about them in
this Elisp manual page, and no uses of them in the Emacs manual "Key
Index".

Are they in a free-fire zone?

-- 
Alan Mackenzie (Munich, Germany)

             reply	other threads:[~2004-09-18 19:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-18 19:39 Alan Mackenzie [this message]
2004-09-20  0:05 ` Is it permissible to bind C-<backspace> and/or C-<delete> in a major mode? Richard Stallman
2004-09-20 11:03   ` Kai Grossjohann
2004-09-21 18:30     ` Richard Stallman
2004-09-22 19:15       ` Alan Mackenzie

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=Pine.LNX.3.96.1040918192728.245A-100000@acm.acm \
    --to=acm@muc.de \
    --cc=bug-cc-mode@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.