From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: w32-pass-lwindow-to-system (& ...rwindow) Date: Sun, 24 Sep 2006 11:59:17 +0200 Message-ID: <451656F5.5050105@student.lu.se> References: <4515D654.2000705@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 1159091982 22272 80.91.229.2 (24 Sep 2006 09:59:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2006 09:59:42 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, brakjoller@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 24 11:59:39 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GRQlq-0006cE-2I for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Sep 2006 11:59:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRQlp-00062c-PN for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Sep 2006 05:59:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GRQle-00061p-Gf for help-gnu-emacs@gnu.org; Sun, 24 Sep 2006 05:59:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GRQld-00061V-EC for help-gnu-emacs@gnu.org; Sun, 24 Sep 2006 05:59:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRQld-00061S-9r for help-gnu-emacs@gnu.org; Sun, 24 Sep 2006 05:59:21 -0400 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GRQpm-0003zc-3q; Sun, 24 Sep 2006 06:03:38 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn2.hy.skanova.net (7.2.075) id 450708BC00303C50; Sun, 24 Sep 2006 11:59:19 +0200 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Original-To: Eli Zaretskii In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37583 Archived-At: Eli Zaretskii wrote: >> Date: Sun, 24 Sep 2006 02:50:28 +0200 >> From: Lennart Borgman >> CC: help-gnu-emacs@gnu.org, Eli Zaretskii >> X-Spam-Status: No, score=0.5 required=5.0 tests=FROM_ENDS_IN_NUMS >> autolearn=no version=3.0.4 >> >> Mathias Dahl wrote: >> >>> Eli Zaretskii writes: >>> >>> >>> >>>> Looks like the trick we play around line 3005 of w32fns.c isn't >>>> working. What Windows version is that? Is there someone on this >>>> list who can make LWIN-r combo work for them in Emacs, in any >>>> version of Windows? >>>> >>>> >>> I just tested with emacs -q and it works as for the parent poster, >>> i.e. Win+s gives me `search-backward-regexp' but Win+r opens up the >>> Run dialog. The same applies for Win+e (open Explorer.exe). >>> >>> I use CVS Emacs from 2006-03-20 on Windows XP. >>> >>> >> This behaviour is consistent with MS documentation. To avoid that >> windows left and right keys open for example the run dialog with Win+r >> you have to implement a low level keyboard hook. >> > > Can you give a pointer to the Microsoft documentation which says that, > and/or documentation that explains how the LWIN-r combo works in terms > of Win32 API calls, and why it bypasses the normal keyboard reading > Emacs uses? > See the thread where we discussed this: http://lists.gnu.org/archive/html/emacs-devel/2005-07/msg00448.html > >> That is what I have done in the patched version of Emacs that you can >> download together with EmacsW32. >> > > I'm well aware of your patched version. The fact is, however, that we > do seem to have code in w32fns.c that tries to work around the Run > dialog being popped. I asked my question (above) to try to understand > whether that code works at all, on any Windows system. Presumably, it > worked for someone at some point in the past, or else it would not > have been added to Emacs. > I think the documentation I pointed to in the beginning of the thread answers this questions too.