From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#14794: 24.3.50; `w32-register-hot-key' does not work on Windows 7 64-bit Date: Fri, 12 Jul 2013 10:20:53 +0200 Message-ID: <51DFBC65.3040303@gmx.at> 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=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1373617330 19514 80.91.229.3 (12 Jul 2013 08:22:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jul 2013 08:22:10 +0000 (UTC) Cc: 14794@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 12 10:22:10 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 1UxYcC-0008Nd-C1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jul 2013 10:22:08 +0200 Original-Received: from localhost ([::1]:50966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxYcB-0002MH-VU for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jul 2013 04:22:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxYc8-0002M2-1f for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 04:22:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxYc6-0007TV-Tq for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 04:22:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxYc6-0007TQ-Px for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 04:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UxYc6-00046M-F8 for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 04:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jul 2013 08:22:02 +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.137361727115610 (code B ref 14794); Fri, 12 Jul 2013 08:22:02 +0000 Original-Received: (at 14794) by debbugs.gnu.org; 12 Jul 2013 08:21:11 +0000 Original-Received: from localhost ([127.0.0.1]:49487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxYbG-00043g-HG for submit@debbugs.gnu.org; Fri, 12 Jul 2013 04:21:11 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:56799) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxYbE-00042f-20 for 14794@debbugs.gnu.org; Fri, 12 Jul 2013 04:21:08 -0400 Original-Received: from [62.47.40.146] ([62.47.40.146]) by mail.gmx.com (mrgmx102) with ESMTPA (Nemesis) id 0LswqM-1UChUo2rbm-012Yt4; Fri, 12 Jul 2013 10:20:57 +0200 In-Reply-To: <8361whuk8c.fsf@gnu.org> X-Provags-ID: V03:K0:gyUW4jnNdJ/owzGiZ1fXm6AEIAhSv2BL7MCMTPVs87ULu1yqLus rQzYvoojFKwN1Acd3lnv/ZfK1jQEr8fTMo1mThtSjopAxnUMK/MoCaqKT0OHDPIK5RCUfQv xidt35Mf3wu8Bcjs9VQb/EKqOQ3Rrl7FlCXynDuXGX1ZnEA6hLXNKtbEgbLy130TAx0gS01 hZxAUDOo9FikexAEgw8eg== 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:76265 Archived-At: > Turns out it does make a difference. This documentation page: > > http://msdn.microsoft.com/en-us/library/windows/desktop/ms646309%28v=vs.85%29.aspx > > 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". > > 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". From what I read on such systems an application that does not have registered a key itself is allowed to unregister it only if it is certified in some way and resides in Program Files. martin