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: Re: w32-pass-lwindow-to-system does not work as expected Date: Wed, 06 Jul 2005 08:54:39 +0200 Message-ID: <42CB802F.8040809@student.lu.se> References: <42CADC1A.4060106@student.lu.se> <42CAF37E.2060307@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 1120633571 13064 80.91.229.2 (6 Jul 2005 07:06:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2005 07:06:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 06 09:06:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dq3ye-0007te-MD for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2005 09:05:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dq3zx-00011K-6I for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2005 03:07:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dq3y6-0000er-LN for emacs-devel@gnu.org; Wed, 06 Jul 2005 03:05:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dq3xu-0000cK-2x for emacs-devel@gnu.org; Wed, 06 Jul 2005 03:05:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dq3xs-0000Tl-3b for emacs-devel@gnu.org; Wed, 06 Jul 2005 03:05:00 -0400 Original-Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dq3u4-0000Hs-3u; Wed, 06 Jul 2005 03:01:04 -0400 Original-Received: from [192.168.123.121] (83.249.205.6) by pne-smtpout2-sn2.hy.skanova.net (7.2.060.1) id 42B94E290027B3E5; Wed, 6 Jul 2005 08:54:40 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: Eli Zaretskii In-Reply-To: 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:40492 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40492 Eli Zaretskii wrote: >I cannot do anything about your beliefs. I wrote about the caveats >because my experience taught me that low-level keyboard hooks bring >maintenance headaches in the long run. > > Of course you have more experience with this. >For example, even the simple hook you posted could conceivably raise >some issues, if the user did some tweaking of her keyboard operation >wrt the lwindow key (e.g., the scan code map can be modified via the >registry). > > I never seen this possibility to enter the scan code before. From the documentation I read that this is new inW2k and XP. I also read that "the mappings stored in the registry work at system level and apply to all users. These mappings cannot be set to work differently depending on the current user". As far as understand this is not something you then can use for problems specific to Emacs. And - or do I misunderstand this - more important: what you refer to are remapping the *scan codes* and my code used the *virtual keycodes*. That is what is used in Emacs today. >On more general grounds, when Emacs users on other systems complain >about trouble with key assignments, they are told to use system tools >to reassign keys; we never try to solve such problems in Emacs. Why >do that for MS-Windows? Shouldn't we simply advise users to use some >key remapping tool if they want this feature so badly? > Perhaps, but is not that on another level? Are we not adressing issues within Emacs and how Emacs interacts with the system?