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: Mode_switch and LEIM (was Re: Right Alt/Meta keys on Windows systems) Date: Fri, 30 Dec 2005 21:11:30 +0200 Message-ID: <200512302111.30952.pogonyshev@gmx.net> References: <200512281541.jBSFfXUQ013499@copa.pajato.com> <200512292313.02799.pogonyshev@gmx.net> <87psnfv1g5.fsf@jurta.org> 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 1135970308 29556 80.91.229.2 (30 Dec 2005 19:18:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Dec 2005 19:18:28 +0000 (UTC) Cc: Juri Linkov , pmr@pajato.com, eliz@gnu.org, monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 30 20:18:27 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 1EsPld-0007Om-DY for ged-emacs-devel@m.gmane.org; Fri, 30 Dec 2005 20:18:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EsPn3-0003ax-HZ for ged-emacs-devel@m.gmane.org; Fri, 30 Dec 2005 14:19:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EsPml-0003ab-VI for emacs-devel@gnu.org; Fri, 30 Dec 2005 14:19:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EsPml-0003aF-99 for emacs-devel@gnu.org; Fri, 30 Dec 2005 14:19:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EsPml-0003aC-4q for emacs-devel@gnu.org; Fri, 30 Dec 2005 14:19:31 -0500 Original-Received: from [213.165.64.21] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1EsPnK-000391-5w for emacs-devel@gnu.org; Fri, 30 Dec 2005 14:20:06 -0500 Original-Received: (qmail invoked by alias); 30 Dec 2005 19:18:00 -0000 Original-Received: from unknown (EHLO [194.158.219.236]) [194.158.219.236] by mail.gmx.net (mp038) with SMTP; 30 Dec 2005 20:18:00 +0100 X-Authenticated: #16844820 Original-To: emacs-devel@gnu.org User-Agent: KMail/1.7.2 In-Reply-To: <87psnfv1g5.fsf@jurta.org> 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:48553 Archived-At: Juri Linkov wrote: > > Yes, I'm proposing that LEIM behaves more like `xkb' layout switcher. = Do > > you not see that they do the same thing: they switch layouts? Do you n= ot > > agree that when there are such strong parallels between two different > > mechanism functionalities, it is very convenient when they also have the > > same interface? >=20 > The only thing I wonder about is why do you enable a LEIM input method > while you are using a XIM input method at the same time? Because non-Emacs apps don't have LEIM and LEIM in Emacs is more convenient that system-wide `xkb', because with `xkb' there was no way to type `M-d' in Russian layout, it would work as `M-=D0=B2' instead. OK, I see now ther= e is (just checked), but still there is no way to use things like `C-x t' when using `xkb' Russian layout (`C-x =D0=B5' instead.) I'm ranting about LEIM not reacting to Mode_switch. In fact, Emacs simply ignores the modifier. > When a LEIM input method is disabled, everything works correctly. > After switching a XIM input method with Group_switch and typing > a character while holding Mode_switch, Emacs inserts a Latin character. Yeah, but `xkb' handling in Emacs has more significant disadvantages, see above. > When you do the same with a LEIM input method enabled, X sends a Latin > character to Emacs, and LEIM translates it to Cyrillic. This is the corr= ect > behavior for LEIM. It is your decision to enable a LEIM input method. > Emacs doesn't enable it by default. >=20 > Isn't it easy for you just not to enable a LEIM input method? See above. I'm using LEIM because it is more convenient, but it lacks one specific feature compared to `xkb'. Paul