From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: Creating a "shortcut" key for "C-c C-"
Date: Tue, 22 Apr 2003 08:15:45 +0200 [thread overview]
Message-ID: <8465p7oy5q.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: wk4r4re1pi.fsf@attbi.com
Bill Clementson <bc19191@attbi.com> writes:
> 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.
Whee. It's easy to replace the "C-c" portion, but there is no easy
way to replace the "C-c C-" portion. A modifier is quite closely
connected with the corresponding key.
Maybe it works to do
(global-set-key (kbd "<f4>") (kbd "C-c C-x @ c"))
The C-x @ c portion is event-apply-control-modifier. But I've never
tried this. I wonder if this approach does anything at all.
It would, however, be kinda cool. When I use viper mode, I use
bindings starting with z that are similar to the standard C-x
bindings. Now, many C-x bindings are of the form C-x a through C-x z
rather than C-x C-a through C-x C-z. But if I wanted to do the same
for C-c bindings (for a major mode), then I'm in trouble -- most C-c
bindings are of the form C-c C-a through C-c C-z rather than C-c a
through C-c z.
--
file-error; Data: (Opening input file no such file or directory ~/.signature)
next prev parent reply other threads:[~2003-04-22 6:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-22 1:55 Creating a "shortcut" key for "C-c C-" Bill Clementson
2003-04-22 6:15 ` Kai Großjohann [this message]
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=8465p7oy5q.fsf@lucy.is.informatik.uni-duisburg.de \
--to=kai.grossjohann@gmx.net \
/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.