all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: germano carella <germano.carella@gmail.com>
To: emacs-devel@gnu.org
Subject: Some problems with key bindings on windows
Date: Tue, 21 Mar 2017 13:25:53 +0100	[thread overview]
Message-ID: <d671ff12-5fe8-37d1-002d-080239024b3a@gmail.com> (raw)

Hi to all,

I’m Germano from Italy.

I’m writing a simple application in elisp, and I need to assign some key 
bindings, using left window key as key modifier.

I hope this is the correct place for my question. If not, can you point 
me in some direction?

I tried some solutions found on internet, but none seem to work.

I’ve emacs 25.1.1 on Windows 10 64 bit.

I do:

(setq w32-pass-lwindow-to-system nil)

(setq w32-lwindow-modifier ‘super)

Now, pressing left window key doesn’t open cortana. This is ok.

I tried to set, for example, win+j to a simple function that display a 
message.

(global-set-key (kbd “s-j”) ‘hello)

Doesn’t work. Win+j is not assigned on Windows, so it should work fine.

I tried “s-f9” and it works!

I read on internet someone used autohotkey but I don’t know how to use it.

Some suggestions?

An other question: can be capslock and insert key be used as modifier Keys?

Thanks!




             reply	other threads:[~2017-03-21 12:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-21 12:25 germano carella [this message]
2017-03-22 15:56 ` Some problems with key bindings on windows Eli Zaretskii
2017-03-23  8:01 ` martin rudalics
2017-03-23 15:26   ` Eli Zaretskii
2017-03-24  9:02     ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d671ff12-5fe8-37d1-002d-080239024b3a@gmail.com \
    --to=germano.carella@gmail.com \
    --cc=emacs-devel@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.
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.