From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: AltGr finger twisters documented? - bug in keyboard handling? Date: Tue, 5 Jul 2005 15:52:04 +0200 Message-ID: References: <47811c547866f3.47866f347811c5@net.lu.se> <42CA7AAD.1040200@gnu.org> <42CA8119.3060804@student.lu.se> <42CA8D10.1090702@student.lu.se> Reply-To: Juanma Barranquero NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1120571786 15693 80.91.229.2 (5 Jul 2005 13:56:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2005 13:56:26 +0000 (UTC) Cc: Emacs Devel , Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 05 15:56:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dpntt-0008MV-KS for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2005 15:55:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dpnv9-0000Dl-NT for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2005 09:57:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dpnsl-000895-IN for emacs-devel@gnu.org; Tue, 05 Jul 2005 09:54:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DpnsZ-00082j-BC for emacs-devel@gnu.org; Tue, 05 Jul 2005 09:54:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpnsZ-00082S-2y for emacs-devel@gnu.org; Tue, 05 Jul 2005 09:54:27 -0400 Original-Received: from [64.233.182.202] (helo=nproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpnwJ-0004jX-CK for emacs-devel@gnu.org; Tue, 05 Jul 2005 09:58:19 -0400 Original-Received: by nproxy.gmail.com with SMTP id i2so219765nfe for ; Tue, 05 Jul 2005 06:52:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SgvDmhTSUScxU0nY4m3PGFIjorWbpInzFdSy7gaOKFht2JN8ClV/v/9BAxwb2Q4Gevcc9v5Oy4TMO+YWEAtKNXfWP/cs28XfBmmNA5JUKZQZPyP5fDwjgWzzzrwZlLg5AMtM26ob3ZzYASrFQ03QhToISuiiXhwQHV3vuQuxWHc= Original-Received: by 10.48.4.10 with SMTP id 10mr150015nfd; Tue, 05 Jul 2005 06:52:04 -0700 (PDT) Original-Received: by 10.48.250.5 with HTTP; Tue, 5 Jul 2005 06:52:04 -0700 (PDT) Original-To: Lennart Borgman In-Reply-To: <42CA8D10.1090702@student.lu.se> Content-Disposition: inline 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:40423 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40423 On 7/5/05, Lennart Borgman wrote: > Juanma Barranquero wrote: >=20 > >Exactly. With `w32-recognize-altgr' set to nil there's no way I can > >type C-\, because there's no way I can type \ directly. As I've just said in another message, I was wrong on this account. I can type \ as LCtrl-AltGr-=BA > w32-recognize-altgr's value is t >=20 > Recognize right-alt and left-ctrl as AltGr. > When nil, the right-alt and left-ctrl key combination is > interpreted normally. > I can not see that left-ctrl works as AltGr. That is good, I would not > want it to, but the doc string should be changed I believe. I'm not sure the documentation is wrong, though it is less than clear. My interpretation (but I can be very wrong, as I've not looked at the code) is that the Windows keyboard code translates AltGr to keyboard events LCtrl + RAlt. Emacs intercepts this behavior (at least with w32-pass-alt-to-system set to nil, which is almost necessary to use Emacs normally). When w32-recognize-altgr is t, Emacs is emulating the Windows AltGr behaviour, and that's why AltGr and LCtrl-AltGr do the same. > The other, more serious thing, is that different keyboards seems to > behave differently. They are not supposed to do that I guess. Or am I > wrong for some reason? Really, all data seen in this thread seem to point that: - It is Windows specific - Does not depend on the keyboard - *Does* depend on `w32-recognize-altgr' > Maybe all this just relates to w32? Anyway it would be very good if it > was fixed before release! I really don't think there's any bug to fix. Only to document. --=20 /L/e/k/t/u