Subject: bug#24453: Hyper and super keys don't work in some branches

From: Eli Zaretskii <[email-masked]>
Date: Wed, 21 Sep 2016 17:38:04 +0300

> From: Robert Cochran <[email-masked]>
> Cc: Robert Cochran <[email-masked]>,  Eli Zaretskii <[email-masked]>,  "24453\@debbugs.gnu.org" <[email-masked]>
> Date: Tue, 20 Sep 2016 16:22:56 -0700
> 
> (when (eq system-type 'windows-nt)
>   (setq w32-pass-lwindow-to-system nil)
>   (setq w32-pass-apps-to-system nil)
>   (setq w32-lwindow-modifier 'super)
>   ;; My laptop does not have a right super, so I used the
>   ;; 'apps'/'menu' key instead.
>   (setq w32-apps-modifier 'hyper))
> 
> Also note that even still, Windows still ate a lot of the attempted
> super key combos, even those that didn't look like they did anything
> (s-z, for example). I know that `s-w` was passed to Emacs, as well as
> most of the symbol characters ('[', ';', etc...).

This is expected, as some combinations are eaten by Windows.  It is
documented in the manual.  The code on the master branch should be
able to overcome those problems.