From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: w32-pass-lwindow-to-system does not work as expected Date: Tue, 05 Jul 2005 21:14:34 +0200 Message-ID: <42CADC1A.4060106@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120591954 21520 80.91.229.2 (5 Jul 2005 19:32:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2005 19:32:34 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 05 21:32:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dpst9-0004Tr-9j for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2005 21:15:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpsuP-0007nX-Vr for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2005 15:16:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dpsu5-0007lQ-9q for emacs-devel@gnu.org; Tue, 05 Jul 2005 15:16:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dpsu2-0007jE-Cy for emacs-devel@gnu.org; Tue, 05 Jul 2005 15:16:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dpsu2-0007jB-5W for emacs-devel@gnu.org; Tue, 05 Jul 2005 15:16:18 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpsyX-0006fA-QZ for emacs-devel@gnu.org; Tue, 05 Jul 2005 15:20:58 -0400 Original-Received: from [192.168.123.121] (83.249.205.6) by pne-smtpout1-sn1.fre.skanova.net (7.2.060.1) id 42B813B0002AA1B1 for emacs-devel@gnu.org; Tue, 5 Jul 2005 21:14:39 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: Emacs Devel X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40444 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40444 When discussing AltGr I noticed that w32-pass-lwindow-to-system probably does not due what the author intended. The documentation is correct, no Start Menu is opened if the variable is nil. However I would believe that the author wanted to use this key in Emacs. It is however still not possible, the key is tighed to Explorer still. To overcome this a low level keyboard hook must be used. A good starting point summary is found at http://www.codeproject.com/win32/AntonioWinLock.asp. Look under subtitle "Hooks". This is of course applicable to the rwindow counterpart too. This also applies to the function w32-register-hot-key which is not able to register hot keys for those keys because they are already registered by Explorer. I think the variables and the function should be either removed or the behavior corrected.