From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: w32-pass-lwindow-to-system does not work as expected Date: Wed, 06 Jul 2005 20:51:53 +0200 Message-ID: References: <42CADC1A.4060106@student.lu.se> <42CAF37E.2060307@student.lu.se> <42CB802F.8040809@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1120673271 6439 80.91.229.2 (6 Jul 2005 18:07:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2005 18:07:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 06 20:07:48 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DqEIi-0001xA-9K for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2005 20:07:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqEK2-0003CU-AL for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2005 14:08:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DqEIB-0002Al-AH for emacs-devel@gnu.org; Wed, 06 Jul 2005 14:06:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DqEI5-00026J-SB for emacs-devel@gnu.org; Wed, 06 Jul 2005 14:06:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqEI5-0001ym-FP for emacs-devel@gnu.org; Wed, 06 Jul 2005 14:06:33 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqELO-0002A4-9G for emacs-devel@gnu.org; Wed, 06 Jul 2005 14:09:59 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-88-218.inter.net.il [80.230.88.218]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id BTV57232 (AUTH halo1); Wed, 6 Jul 2005 20:51:53 +0300 (IDT) Original-To: Lennart Borgman In-reply-to: <42CB802F.8040809@student.lu.se> (message from Lennart Borgman on Wed, 06 Jul 2005 08:54:39 +0200) 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:40507 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40507 > Date: Wed, 06 Jul 2005 08:54:39 +0200 > From: Lennart Borgman > CC: emacs-devel@gnu.org > > 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. The low-level hook you referred to is documented to get scan codes. See also Jason's message: if lwindow is to be used as a modifier, then we will have to process other keys in the low-level hook as well. > >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? Unfortunately, in this case, this particular system doesn't want Emacs to get at that key and some other special key combinations. Since Emacs users are not the only ones who are pissed off by this inflexibility, I'm sure there are lots of small proggies written and floating on the Internet that will remap lwindow and other special keys such that applications, including Emacs, can receive them. I say let's advise our users to solve their problems outside Emacs, like we do on GNU/Linux, where we tell them to use loadkeys and xmodmap.