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 12:19:38 +0200 Message-ID: <45165BBA.1070408@student.lu.se> References: 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 1159093212 25403 80.91.229.2 (24 Sep 2006 10:20:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2006 10:20:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 24 12:20:09 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 1GRR5g-0001m6-UI for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Sep 2006 12:20:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRR5g-0004mS-9z for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Sep 2006 06:20:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GRR5P-0004lv-E6 for help-gnu-emacs@gnu.org; Sun, 24 Sep 2006 06:19:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GRR5O-0004lf-9k for help-gnu-emacs@gnu.org; Sun, 24 Sep 2006 06:19:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRR5O-0004lc-7p for help-gnu-emacs@gnu.org; Sun, 24 Sep 2006 06:19:46 -0400 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GRR9Y-00066p-99 for help-gnu-emacs@gnu.org; Sun, 24 Sep 2006 06:24:04 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn1.fre.skanova.net (7.2.075) id 44FEC7CA004B7229; Sun, 24 Sep 2006 12:19:40 +0200 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Original-To: "B. T. Raven" 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:37584 Archived-At: B. T. Raven wrote: > "Lennart Borgman" wrote in message > news:mailman.7293.1159059034.9609.help-gnu-emacs@gnu.org... > >> 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. >> >> That is what I have done in the patched version of Emacs that you can >> download together with EmacsW32. I think we made a decision that this >> part of my patches should not go into Emacs 22. Actually my own opinion >> is however that it should. >> >> >> >> > > >From the EmacsW32 page: > > "The design of Emacs makes it very hungry for keyboard keys. Normally on > MS Windows Emacs grabs the Alt key for its own use as the Meta key. > However the standard use of Alt in MS Windows is thereby impeded. If Emacs > grabs Alt you can not switch window with Alt-Tab and you can not reach the > menus with Alt. This is very annoying to many MS Windows users. " > > But this does not describe Emacs behavior on my ver. 21.3 w32 > installation. With w32-alt-is-meta set t, I can switch between msw > processes with Alt-. Thanks, you are right. I should change that part of the documentation now. As you can see from other parts of this thread this behaviour has changed in MS Windows with the emergence of Windows 2000 and Wiindows XP. The behaviour above for Alt-Tab was how this worked in previous MS Windows. However this instead now mean that you can not use Alt-Tab in Emacs on MS Windows. (You can however with the patched version.) > I would prefer that w32 Emacs work as much as possible like the real one > in case, some day, I am able to escape from all those legacy apps. > No problem. You can either use the unpatched version or the patched version without turning on the feature that you can use the windows keys as meta. Both will work as you want.