From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Can one define global-set-key to override mode-based keymap?
Date: Mon, 13 Nov 2006 10:59:46 -0700 [thread overview]
Message-ID: <ejabs3$ln$1@sea.gmane.org> (raw)
In-Reply-To: <1163437300.821357.248580@f16g2000cwb.googlegroups.com>
rgb wrote:
>> Hmmm, maybe you could bind `C-n' etc. to some other character not likely
>> to be bound to a command (e.g. an ISO-8859/Unicode C1 control character
>> or a Unicode private use character) via keyboard-translate, then bind
>> the key sequence (vector) of that unused character to `other-window'.
>
> I've wanted to do this but can't figure out how. Perhaps it's not
> possible? I want to use keyboard-translate on named events such as
> <down> <apps> <end> etc.
> Can this be done?
> If so, I must be using the wrong syntax. Could you give an example?
keyboard-translate only works on characters, not arbitrary events.
Maybe you can use function-key-map or key-translation-map to map such
events (more precisely, a sequence) to a different event sequence.
--
Kevin
next prev parent reply other threads:[~2006-11-13 17:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-13 2:19 Can one define global-set-key to override mode-based keymap? Liu Fung Sin
2006-11-13 16:25 ` Kevin Rodgers
2006-11-13 16:52 ` rgb
[not found] ` <mailman.501.1163435231.2155.help-gnu-emacs@gnu.org>
2006-11-13 17:01 ` rgb
2006-11-13 17:59 ` Kevin Rodgers [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-11-14 6:46 martin rudalics
[not found] <mailman.551.1163488292.2155.help-gnu-emacs@gnu.org>
2006-12-18 7:31 ` Daniel Engeler
2006-12-21 13:17 martin rudalics
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ejabs3$ln$1@sea.gmane.org' \
--to=ihs_4664@yahoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).