From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: wish: right alt/meta to switch keyboard layout while pressed Date: Sun, 27 Nov 2005 13:19:29 -0500 Message-ID: <87zmnq3qhh.fsf-monnier+emacs@gnu.org> References: <200511222150.54248.pogonyshev@gmx.net> <200511260033.24103.pogonyshev@gmx.net> <87hd9z5u9y.fsf-monnier+emacs@gnu.org> <200511261846.25153.pogonyshev@gmx.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133115739 8141 80.91.229.2 (27 Nov 2005 18:22:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 Nov 2005 18:22:19 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 27 19:22:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EgR8o-0000Br-Be for ged-emacs-devel@m.gmane.org; Sun, 27 Nov 2005 19:20:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgR8n-0005Qt-MH for ged-emacs-devel@m.gmane.org; Sun, 27 Nov 2005 13:20:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EgR7d-00059y-1f for emacs-devel@gnu.org; Sun, 27 Nov 2005 13:19:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EgR7b-00059E-6w for emacs-devel@gnu.org; Sun, 27 Nov 2005 13:19:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgR7b-000598-17 for emacs-devel@gnu.org; Sun, 27 Nov 2005 13:19:31 -0500 Original-Received: from [209.226.175.93] (helo=tomts36-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EgR7a-0008Ki-UP for emacs-devel@gnu.org; Sun, 27 Nov 2005 13:19:31 -0500 Original-Received: from alfajor ([67.68.219.18]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20051127181930.HINR16985.tomts36-srv.bellnexxia.net@alfajor>; Sun, 27 Nov 2005 13:19:30 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 0E7E3D73E6; Sun, 27 Nov 2005 13:19:29 -0500 (EST) Original-To: Paul Pogonyshev In-Reply-To: <200511261846.25153.pogonyshev@gmx.net> (Paul Pogonyshev's message of "Sat, 26 Nov 2005 18:46:24 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Originating-IP: [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:46659 Archived-At: >> Yes, that makes sense as well. >> So you'd want hitting Mode_switch to toggle the LEIM input method or would >> you want pressing to turn it off and releasing to turn it back on? > It seems in `xkb' Mode_switch disables alternative groups only, i.e. it > won't start typing in Russian if I hold Mode_switch while using the > English layout. So, if you manage to implement something similar in > Emacs, it should probably behave like this (i.e. deactivate any > non-default input method) for consistency. I believe you misunderstood the question. The question is whether the deactivation should be done while Mode_switch is pressed (as if it were some kind of modifier), or between two presses of Mode_switch, or yet something else. Stefan