From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14794: 24.3.50; `w32-register-hot-key' does not work on Windows 7 64-bit Date: Sun, 20 Feb 2022 15:39:28 +0200 Message-ID: <83v8x9wtbj.fsf@gnu.org> References: <1bda8371-6234-45f4-a2b8-00ac282f2088@default> <8361whuk8c.fsf@gnu.org> <87ley5sm3n.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7946"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 14794@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 20 14:40:42 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nLmSA-0001wJ-Bl for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Feb 2022 14:40:42 +0100 Original-Received: from localhost ([::1]:59358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLmS9-0007Zk-42 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Feb 2022 08:40:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLmRc-0007XP-6G for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2022 08:40:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37490) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLmRW-00048s-9C for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2022 08:40:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nLmRV-0005sp-U9 for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2022 08:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Feb 2022 13:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14794 X-GNU-PR-Package: emacs Original-Received: via spool by 14794-submit@debbugs.gnu.org id=B14794.164536437822576 (code B ref 14794); Sun, 20 Feb 2022 13:40:01 +0000 Original-Received: (at 14794) by debbugs.gnu.org; 20 Feb 2022 13:39:38 +0000 Original-Received: from localhost ([127.0.0.1]:59620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLmR8-0005s3-3R for submit@debbugs.gnu.org; Sun, 20 Feb 2022 08:39:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLmR6-0005rs-ID for 14794@debbugs.gnu.org; Sun, 20 Feb 2022 08:39:36 -0500 Original-Received: from [2001:470:142:3::e] (port=56302 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLmR0-00046B-TK; Sun, 20 Feb 2022 08:39:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=dj9NjgnOwfykaHMgW3VsSedQKr4Y3pXz7stX5y6H9fc=; b=Ihicxm4tFai1 Kxe//HwnnNxyQlQX4fAbzsoqlMkfqzxUDnoMUQ8v/xD+Ed6GhzaY6ciP+thLGQDmvYgoIg9+40MwV J4BmvlR7DiWPcXndw9YMDONtP0o27oSM41GaJgoXf/v5x2dXlUorNuW+8y55ViNdxZdbH4VUc5qz9 1jb6RddA+N8le7BQnp5rnX65cSxG92+7r2b94jEYuXra5zPhVJga9mpSK1UNZkSLV9XPhI6TmaGKk ajxL1XpU1YlI+5ccnLoWtfahDwLMHIraHwWlEvxbJ1B92zb7L/0nxxz8MNEbr6UbGUZaMWy+07d9a v2uSag8so7G5ZoziFouvRA==; Original-Received: from [87.69.77.57] (port=3112 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLmQw-0003og-Mp; Sun, 20 Feb 2022 08:39:30 -0500 In-Reply-To: <87ley5sm3n.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 20 Feb 2022 14:29:00 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:227232 Archived-At: > From: Lars Ingebrigtsen > Cc: Drew Adams , 14794@debbugs.gnu.org > Date: Sun, 20 Feb 2022 14:29:00 +0100 > > Eli Zaretskii writes: > > > Unless someone knows a way around this (I searched for it, but didn't > > find any solutions, only complaints), I guess this will remain a > > "known bug". > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > Skimming this bug report, there doesn't seem to be anything to be done > on the Emacs side -- or at least there wasn't eight years ago. > > Is this still the case today? I think we have a solution for this since Emacs 26.1. From NEWS.26: ** Intercepting hotkeys on Windows 7 and later now works better. The new keyboard hooking code properly grabs system hotkeys such as 'Win-*' and 'Alt-TAB', in a way that Emacs can get at them before the system. This makes the 'w32-register-hot-key' functionality work again on all versions of MS-Windows starting with Windows 7. On Windows NT and later you can now register any hotkey combination. (On Windows 9X, the previous limitations, spelled out in the Emacs manual, still apply.)