From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: key binding with windows and menu keys
Date: Tue, 16 Aug 2005 19:33:08 +0200 [thread overview]
Message-ID: <704081cb6e06281e5d837a13f8f72793@Web.DE> (raw)
In-Reply-To: <87slxanhkm.fsf@magma.ca>
Am 16.08.2005 um 15:21 schrieb Angelina Carlton:
>> Is C-h k <Windows key+another key> returns just <another key>?
>
> For me it returns: ~
> That is, if I press win-logo in a writable buffer, it prints a ~ and
> beeps my terminal. If the buffer is not writable it simply beeps.
>
For me it's not clear whether you really press two keys ...
The Windows key is presumed to be some modifier key, like Shift, Meta,
Control, super, or hyper. (It does not work alone, only when pressed
with one another non-modifier key.) What this key is doing is easy to
find out: in *scratch* buffer C-q <Windows key>. It there is nothing
coming, i.e. you see in minibuffer C-q- constantly, then it *is* a
modifier key (press <any key> to finish input). You can now go to check
what input is produced when you press C-q <Windows key+another key> ...
If you see something like ESC [ 2 5 ~ then your keyboard is in some
ANSI/vt keyboard mode. lisp/term/lk201.el already contains a definition
for that key:
(define-key function-key-map "\e[25~" [f13])
So you should try to load/require that ELisp file in .emacs (if it does
not get loaded automatically; check the *Messages* buffer for that).
Then you have that key defined as f13. Now you can bind f13 to some
function ...
--
Greetings
Pete
It's not the valleys in life I dread so much as the dips.
-- Garfield
next prev parent reply other threads:[~2005-08-16 17:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3675.1123988380.20277.help-gnu-emacs@gnu.org>
2005-08-14 4:44 ` key binding with windows and menu keys Tyler
2005-08-14 8:58 ` Friedrich Laher
2005-08-14 17:48 ` Peter Dyballa
[not found] ` <mailman.3737.1124042549.20277.help-gnu-emacs@gnu.org>
2005-08-15 1:45 ` Tyler
2005-08-15 5:41 ` Angelina Carlton
[not found] ` <mailman.3777.1124085510.20277.help-gnu-emacs@gnu.org>
2005-08-15 13:09 ` Tyler
2005-08-15 14:35 ` Angelina Carlton
2005-08-15 15:12 ` Peter Dyballa
2005-08-16 13:21 ` Angelina Carlton
2005-08-16 17:33 ` Peter Dyballa [this message]
2005-08-16 18:41 ` Angelina Carlton
2005-08-17 11:09 ` Peter Dyballa
[not found] ` <mailman.4032.1124278522.20277.help-gnu-emacs@gnu.org>
2005-08-17 13:13 ` Tyler
[not found] ` <mailman.3819.1124119132.20277.help-gnu-emacs@gnu.org>
2005-08-15 22:59 ` Tyler
2005-08-16 8:49 ` Peter Dyballa
2005-08-14 2:35 Sean Sieger
-- strict thread matches above, loose matches on Subject: below --
2005-08-14 2:23 Sean Sieger
2005-08-14 1:18 Tyler
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=704081cb6e06281e5d837a13f8f72793@Web.DE \
--to=peter_dyballa@web.de \
--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.
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).