GNU bug report logs - #44456
Windows10 doesn't allow either windows keys as hyper?

Previous Next

Package: emacs;

Reported by: Steve Greenburg <beethoven3322 <at> hotmail.com>

Date: Wed, 4 Nov 2020 23:04:01 UTC

Severity: normal

Tags: notabug

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#44456: closed (Windows10 doesn't allow either windows keys as
 hyper?)
Date: Thu, 05 Nov 2020 17:49:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 05 Nov 2020 19:47:50 +0200
with message-id <83k0uzae61.fsf <at> gnu.org>
and subject line Re: bug#44456: Windows10 doesn't allow either windows keys as hyper?
has caused the debbugs.gnu.org bug report #44456,
regarding Windows10 doesn't allow either windows keys as hyper?
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
44456: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44456
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Steve Greenburg <beethoven3322 <at> hotmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: Windows10 doesn't allow either windows keys as hyper?
Date: Wed, 4 Nov 2020 21:44:37 +0000
[Message part 3 (text/plain, inline)]
Apparently this is a known issue for a while. I'm on 27.1 right now on windows and the following code allows me to use the menu key as hyper:

(setq w32-pass-apps-to-system nil)
(setq w32-apps-modifier 'hyper)

However neither of the lwindows or rwindows versions work.

(setq w32-pass-rwindows-to-system nil)
(setq w32-rwindows-modifier 'hyper)

I'm not sure what key to use for Hyper in general. Ideally it would be something that wouldn't interfere too much with windows or ubuntu desktop shortcut keys, and unfortunately a lot of those use the Win/Super key. Caps_Lock for that would be nice. Is there a way around this problem?


[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Steve Greenburg <beethoven3322 <at> hotmail.com>
Cc: 44456-done <at> debbugs.gnu.org
Subject: Re: bug#44456: Windows10 doesn't allow either windows keys as hyper?
Date: Thu, 05 Nov 2020 19:47:50 +0200
> From: Steve Greenburg <beethoven3322 <at> hotmail.com>
> CC: "44456 <at> debbugs.gnu.org" <44456 <at> debbugs.gnu.org>
> Date: Thu, 5 Nov 2020 17:05:10 +0000
> 
> The documentation for w32-register-hotkey says it is [h-] so I used
> that.

I fixed the documentation, thanks.

> Using [H-] does work as long as I
> change the variable before calling w32-register-hot-key like so:
> 
> (setq w32-lwindow-modifier 'hyper) 
> (w32-register-hot-key [H-])
> (setq w32-pass-lwindow-to-system nil)

That's okay, the manual and the doc string indeed say this should be
the order: first set w32-l/rwindow-modifier, then call
w32-register-hot-key.

With this, I'm closing the bug report.


This bug report was last modified 4 years and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.