From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#14794: 24.3.50; `w32-register-hot-key' does not work on Windows 7 64-bit Date: Thu, 11 Jul 2013 11:47:17 -0700 (PDT) Message-ID: References: <<1bda8371-6234-45f4-a2b8-00ac282f2088@default>> <<8361whuk8c.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1373568488 9786 80.91.229.3 (11 Jul 2013 18:48:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jul 2013 18:48:08 +0000 (UTC) Cc: 14794@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 11 20:48:07 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UxLuR-0005vQ-HO for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2013 20:48:07 +0200 Original-Received: from localhost ([::1]:60856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxLuR-00058i-6t for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2013 14:48:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxLuN-00058G-OG for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 14:48:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxLuM-00065n-Mw for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 14:48:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxLuM-00065h-KU for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 14:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UxLuM-0007tG-0p for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 14:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jul 2013 18:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14794 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14794-submit@debbugs.gnu.org id=B14794.137356844930283 (code B ref 14794); Thu, 11 Jul 2013 18:48:01 +0000 Original-Received: (at 14794) by debbugs.gnu.org; 11 Jul 2013 18:47:29 +0000 Original-Received: from localhost ([127.0.0.1]:48389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxLto-0007sM-3b for submit@debbugs.gnu.org; Thu, 11 Jul 2013 14:47:28 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:50523) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxLtl-0007s9-CO for 14794@debbugs.gnu.org; Thu, 11 Jul 2013 14:47:25 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r6BIlI9s031568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 11 Jul 2013 18:47:19 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r6BIlHIb017612 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Jul 2013 18:47:18 GMT Original-Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r6BIlHQM028575; Thu, 11 Jul 2013 18:47:17 GMT In-Reply-To: <<8361whuk8c.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76239 Archived-At: > > I'm using Windows 7 64-bit, if that makes a difference. > > (And the same code worked fine on Windows XP SP3.) >=20 > Turns out it does make a difference. This documentation page: >=20 > http://msdn.microsoft.com/en- > us/library/windows/desktop/ms646309%28v=3Dvs.85%29.aspx >=20 > explicitly says that the behavior of the underlying API has changed > since XP: if the hot key is already registered, the API now fails > instead of replacing the old registration with the new. And Alt+TAB > is hooked by the Windows Explorer. And indeed, on Windows 7 I see > that the call to RegisterHotKey API consistently fails with an error > code which says "Hot key is already registered". Ouch. Awful. And hard to believe. > 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". >=20 > Does this work for you with other key combinations, btw? Dunno. Can you tell me some key combinations to try?