unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Some problems with key bindings on windows
@ 2017-03-21 12:25 germano carella
  2017-03-22 15:56 ` Eli Zaretskii
  2017-03-23  8:01 ` martin rudalics
  0 siblings, 2 replies; 5+ messages in thread
From: germano carella @ 2017-03-21 12:25 UTC (permalink / raw)
  To: emacs-devel

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!




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-24  9:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-21 12:25 Some problems with key bindings on windows germano carella
2017-03-22 15:56 ` Eli Zaretskii
2017-03-23  8:01 ` martin rudalics
2017-03-23 15:26   ` Eli Zaretskii
2017-03-24  9:02     ` martin rudalics

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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