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: Mode_switch in Emacs Date: Tue, 29 Nov 2005 11:24:48 -0500 Message-ID: References: <200511222150.54248.pogonyshev@gmx.net> <200511261846.25153.pogonyshev@gmx.net> <87zmnq3qhh.fsf-monnier+emacs@gnu.org> <200511272339.02509.pogonyshev@gmx.net> <87acfp4itm.fsf-monnier+emacs@gnu.org> <87d5kkfrkm.fsf@jurta.org> <87mzjo2vvn.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 1133284157 4142 80.91.229.2 (29 Nov 2005 17:09:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2005 17:09:17 +0000 (UTC) Cc: emacs-devel@gnu.org, pogonyshev@gmx.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 29 18:09:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eh8ra-0001CF-M9 for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2005 18:01:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eh8rZ-00041f-BF for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2005 12:01:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eh8Hp-0003EQ-Tm for emacs-devel@gnu.org; Tue, 29 Nov 2005 11:24:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eh8Hn-0003Bq-Go for emacs-devel@gnu.org; Tue, 29 Nov 2005 11:24:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eh8Hn-0003Ay-3A for emacs-devel@gnu.org; Tue, 29 Nov 2005 11:24:55 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Eh8Hm-0002Jp-PL for emacs-devel@gnu.org; Tue, 29 Nov 2005 11:24:55 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 250C32CF6B9; Tue, 29 Nov 2005 11:24:53 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id BFC204AC00A; Tue, 29 Nov 2005 11:24:48 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id AFB03F69C4; Tue, 29 Nov 2005 11:24:48 -0500 (EST) Original-To: Juri Linkov In-Reply-To: <87mzjo2vvn.fsf@jurta.org> (Juri Linkov's message of "Tue, 29 Nov 2005 01:08:36 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.852, requis 5, autolearn=not spam, AWL 0.05, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:46768 Archived-At: >>> As I can see, everything works fine in CVS Emacs already. The Mode_swi= tch >>> key temporarily disables the russian layout while it is held in Emacs. >>> Perhaps something is wrong in Paul's configuration where Mode_switch >>> doesn't work correctly. >>=20 >> Does that hold for XIM russian layout or for LEIM russian layout or >> for both? > For XIM russian layout. OK. So I guess I misunderstood Paul (or he has a different config in which this doesn't work, in which case he should clarify). > If the LEIM russian input method is enabled in Emacs, I think it is too > much to ask Emacs to temporarily disable the input method while > Mode_switch is held. It's not high-priority, but I think it would be good if it could be made to work. > As I understand even XEmacs doesn't try to do this. XEmacs doesn't always do "more". > I see no reason to activate both XIM russian layout and LEIM russian > input method in Emacs. I hope we indeed all agree on this one ;-) Tho now that you mention it, I'm wondering: how do people deal with the situation where their keyboard is cyrillic and they want to use one of Emacs's input methods (which are all based on latin chars)? > Somewhere =D0=A1-=D1=86 may be preferable to C-w, but at least in Emacs I= think > interpreting =D0=A1-=D1=86 as C-w is more natural. However, this is stil= l not > very useful in Emacs because it will enable only key sequences with > control/meta modifiers, but not with raw letters. I.e. what good is > to process =D0=A1-=D1=86 as C-w, if `C-x b' will produce useless `C-x =D0= =B8'? Oh boy! that's a very good point indeed. It basically means we should postpone the decision whether to translate b into =D0=B8 to much later. Now how does all the above look in the case of XIM input methods that map multi-key sequences to chars (typically for asian scripts)? Stefan