[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Override Windows default Win-* key combinations when using E

From: Eli Zaretskii
Subject: Re: [PATCH] Override Windows default Win-* key combinations when using Emacs
Date: Tue, 05 Jan 2016 19:05:02 +0200

> From: Jussi Lahdenniemi <address@hidden>
> Date: Tue, 5 Jan 2016 14:51:36 +0200
> I finally got around to submitting a patch I wrote some four years ago 
> that enables Emacs users on Windows to override the default Windows key 
> combinations reserved by the operating system. Especially the newer 
> Windowses (7, 8, 10) define quite a large number of Win+* hotkeys to a 
> variety of shell functions, restricting the available S-* keys on Emacs.
> This is accomplished by running an external process (supersuper.exe) 
> that captures keypresses, suppressing unwanted ones from the system, and 
> informing the currently active Emacs process about them as necessary. 
> All Win key combinations are thus blocked and made available for Emacs, 
> except Win+L which is handled on a lower level of the operating system 
> and cannot be intercepted.
> The feature is enabled by executing (w32-supersuper-run t). nil as the 
> argument disables the functionality.

Thank you for your contribution.  It is large enough to require legal
paperwork; I can send you the forms off-list if you agree.

As for the patch: why does this have to be an external program?  Can't
Emacs itself do this job?  Doing part of Emacs's keyboard input in a
separate process has several downsides, so I think it should be
avoided if possible.

Also, did you try this with the latest Emacs sources?  The way
keyboard input works in Emacs on Windows has changed several months

Finally, will this also work in the console (a.k.a. "TTY") session, or
just in GUI sessions?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]