all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bill Clementson <bc19191@attbi.com>
Subject: Creating a "shortcut" key for "C-c C-"
Date: Tue, 22 Apr 2003 01:55:16 GMT	[thread overview]
Message-ID: <wk4r4re1pi.fsf@attbi.com> (raw)

Does anyone know how to map a key to a specific portion of a pre-defined
mapping? For example, if a standard major mode binding is "C-c C-n", how
would you define a particular key to represent the "C-c C-" portion of
the binding so that it is possible to substitute <key>-n for the "C-c
C-n" command? I can't see how this would be possible with either
Super/Hyper keys or other keymap alternatives, but it would be useful to
be able to do this. 

I don't want to create a new keybinding for a command, I just want to be
able to indicate that a specific key will "globally" replace the "C-c
C-" portion of already defined major mode commands.

--
Bill Clementson

             reply	other threads:[~2003-04-22  1:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-22  1:55 Bill Clementson [this message]
2003-04-22  6:15 ` Creating a "shortcut" key for "C-c C-" Kai Großjohann
2003-04-22 14:38   ` Stefan Monnier
2003-04-23  3:45     ` Bill Clementson
2003-04-23 13:27       ` Stefan Monnier
2003-04-23 15:37         ` Reiner Steib

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=wk4r4re1pi.fsf@attbi.com \
    --to=bc19191@attbi.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.