From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: Re: Right Alt/Meta keys on Windows systems Date: Wed, 28 Dec 2005 22:31:19 +0200 Message-ID: <200512282231.19843.pogonyshev@gmx.net> References: <200512281541.jBSFfXUQ013499@copa.pajato.com> <200512282155.22035.pogonyshev@gmx.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1135802130 6574 80.91.229.2 (28 Dec 2005 20:35:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Dec 2005 20:35:30 +0000 (UTC) Cc: pmr@pajato.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 28 21:35:24 2005 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Erhyo-00053I-1M for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2005 21:33:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eri08-0005TH-Jl for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2005 15:34:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Erhzd-0005Bs-4J for emacs-devel@gnu.org; Wed, 28 Dec 2005 15:33:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Erhzb-0005Aq-3v for emacs-devel@gnu.org; Wed, 28 Dec 2005 15:33:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Erhza-0005Ak-TH for emacs-devel@gnu.org; Wed, 28 Dec 2005 15:33:50 -0500 Original-Received: from [213.165.64.21] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1Erhzo-0004co-Rj for emacs-devel@gnu.org; Wed, 28 Dec 2005 15:34:05 -0500 Original-Received: (qmail invoked by alias); 28 Dec 2005 20:32:25 -0000 Original-Received: from unknown (EHLO [194.158.221.35]) [194.158.221.35] by mail.gmx.net (mp024) with SMTP; 28 Dec 2005 21:32:25 +0100 X-Authenticated: #16844820 Original-To: emacs-devel@gnu.org, Eli Zaretskii User-Agent: KMail/1.7.2 In-Reply-To: Content-Disposition: inline X-Y-GMX-Trusted: 0 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:48452 Archived-At: Eli Zaretskii wrote: > > From: Paul Pogonyshev > > Date: Wed, 28 Dec 2005 21:55:21 +0200 > > Cc: pmr@pajato.com > >=20 > > I think it is related to the issue I raised under topic `wish: right al= t/meta > > to switch keyboard layout while pressed'. I.e. right Alt acts as a tem= porary > > layout switcher and so it does not look as Alt to applications. >=20 > Sorry, I'm not following: are you talking about keyboard language > switch invoked on MS-Windows with the Alt-SPC combination? If so, > then the keyboard switch works for me as I'd expect (i.e., the same as > it does in other Windows applications), and it doesn't affect the > right Alt to META mapping in any way. Well, you should have probably re-read that thread's opening message. I'm talking about a common function of right Alt key: it temporary (while press= ed) disables the current layout and switches to English layout. I guess _that'= s_ why right Alt doesn't work as Alt in Emacs for Lennart Borgman. I don't re= ally know, though. > > I strongly believe Emacs must not do anything about it. Quite the oppo= site: > > it should properly handle Mode_switch on GNU/Linux etc. with X, so that= it > > disables LEIM layout while it pressed. >=20 > Are we still talking about the MS-Windows port of Emacs? Or are we > talking about Emacs on GNU/Linux? The OP raised the issue for > Windows. Now I'm talking about GNU/Linux, where Emacs is working incosistently with the rest of the system. It disregards Mode_switch (i.e. right Alt when working in the layout-disabling mode I described above) when working with LEIM. E.g., in Gaim, while using the Russian layout, I can type [right alt= ]-=D1=8A to type the closing bracket, because Russian letter `=D1=8A' is on the same= key as the closing bracket in the English layout. In Emacs, typing [right alt]= =2D=D1=8A still produces `=D1=8A'. > > If Windows lacks a way to disable this feature and make right Alt > > work the same way as left Alt, it's a problem of Windows, not of > > Emacs. >=20 > As I said, right and left Alt keys work the same for me on MS-Windows. That's OK, but they don't work the same for Lennart, right? I'm arguing, that since it is system setting, Emacs shouldn't override it. Paul