unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Angelina Carlton <brat@magma.ca>
Subject: Re: key binding with windows and menu keys
Date: Tue, 16 Aug 2005 09:21:13 -0400	[thread overview]
Message-ID: <87slxanhkm.fsf@magma.ca> (raw)
In-Reply-To: <196ed564d8f1aee33cd06d584009eabf@Web.DE> (Peter Dyballa's message of "Mon, 15 Aug 2005 17:12:04 +0200")

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> 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.

> If not, you could by hand 'M-x global-set-key <the combination> RET
> scroll-other-window RET C-x ESC ESC C-a C-k C-g' -- bind the key and
> start to repeat-previous-command. The cursor goes into the minibuffer,
> where you put it at the beginning and then kill the whole line. Now an
> interrupt, and you're ready to yank/paste the valid ELisp expression
> into .emacs ... it wouldn't look pretty with a number instead of
> symbols (that's what I am used from X11 or Apple's Aqua), but it would
> work.

So trying by hand, M-x global-set-key NET <virology> NET
puts this in my mini buffer:

Set key ESC [ 2 5 to command: ~ 

I deleted the ~ and typed other-window and then did the 
ESC ESC stuff you mentioned. to get:

Redo: (global-set-key "^[[25" (quote other-window))

So i have tried in my .mics:
(global-set-key "^[[25" (quote other-window))
and
(global-set-key "^[[25" 'other-window)

And now it does switch windows but prints the tilde also :-\

How can get rid of the tilde? 

Thanks for the help!

-- 
-----Angelina Carlton-----
orchid on irc.freenode.net
     brat@magma.ca
web:bzgirl.bakadigital.com
--------------------------

>  LocalWords:  ESC

  reply	other threads:[~2005-08-16 13:21 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 [this message]
2005-08-16 17:33                 ` Peter Dyballa
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=87slxanhkm.fsf@magma.ca \
    --to=brat@magma.ca \
    /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).