From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrey Paramonov Newsgroups: gmane.emacs.devel Subject: Re: Keybindings in non-Latin layout Date: Wed, 6 May 2009 18:28:25 +0000 (UTC) Message-ID: References: <5f0660120905020830o4a21cc3v6932025bab16c76e@mail.gmail.com> <87ocuaqu3n.fsf@mail.jurta.org> <87ws8wtoa3.fsf@mail.jurta.org> <87ljpcjmr6.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1241634546 20113 80.91.229.12 (6 May 2009 18:29:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2009 18:29:06 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 06 20:28:56 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M1lrR-0003hM-Pk for ged-emacs-devel@m.gmane.org; Wed, 06 May 2009 20:28:54 +0200 Original-Received: from localhost ([127.0.0.1]:52938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1lrR-0003nW-6a for ged-emacs-devel@m.gmane.org; Wed, 06 May 2009 14:28:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1lrL-0003jY-Oj for emacs-devel@gnu.org; Wed, 06 May 2009 14:28:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1lrH-0003aL-Tr for emacs-devel@gnu.org; Wed, 06 May 2009 14:28:47 -0400 Original-Received: from [199.232.76.173] (port=59470 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1lrH-0003aA-Qq for emacs-devel@gnu.org; Wed, 06 May 2009 14:28:43 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:59407 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M1lrH-0005om-5q for emacs-devel@gnu.org; Wed, 06 May 2009 14:28:43 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M1lrA-0003fV-GD for emacs-devel@gnu.org; Wed, 06 May 2009 18:28:38 +0000 Original-Received: from aparamon.static.corbina.ru ([89.179.245.94]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 May 2009 18:28:36 +0000 Original-Received: from cmr.Pent by aparamon.static.corbina.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 May 2009 18:28:36 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 89.179.245.94 (Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.7) Gecko/2009030814 Iceweasel/3.0.9 (Debian-3.0.9-1)) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:110736 Archived-At: Thanks for the detailed explanation! I've managed to get hands on NTEmacs again, and it turns out that: 1) NTEmacs uses the Mozilla way, i.e. "C-x b" is processed as "C-x и", and so doesn't work. 2) C-q [any Cyrillic character] inserts Latin characters with umlauts (weird; not sure this is relevant to the original problem though). It would be great if Emacs was smart enough to know if it's in the middle of a key sequence, and use the Latin characters no matter what layout. On the other hand, the Mozilla way patch http://thread.gmane.org/gmane.emacs.devel/46455/focus=46602 would solve 80% of the problems, and is much less intrusive. Could anyone please point me out the place(s) in the code where input-method conversion table is used? Thanks, Andrey