From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: Weirdness with Input Method/quail : how to figure out source of it? Date: Fri, 16 Aug 2013 00:59:42 +0400 Message-ID: <8738qasm9t.fsf@gmail.com> References: <20130814124238.GA722@smoon> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376601638 12153 80.91.229.3 (15 Aug 2013 21:20:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Aug 2013 21:20:38 +0000 (UTC) Cc: Vladimir Lomov To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 15 23:20:41 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VA4yE-0002Y3-19 for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Aug 2013 23:20:38 +0200 Original-Received: from localhost ([::1]:55598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA4yD-0008Db-Ar for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Aug 2013 17:20:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA4eT-0003q3-Vc for help-gnu-emacs@gnu.org; Thu, 15 Aug 2013 17:00:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VA4eK-0004Ge-Ki for help-gnu-emacs@gnu.org; Thu, 15 Aug 2013 17:00:13 -0400 Original-Received: from mail-la0-x234.google.com ([2a00:1450:4010:c03::234]:38128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA4eK-0004Ca-EH for help-gnu-emacs@gnu.org; Thu, 15 Aug 2013 17:00:04 -0400 Original-Received: by mail-la0-f52.google.com with SMTP id ev20so929025lab.11 for ; Thu, 15 Aug 2013 14:00:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=iuhZHPKPj5nMUYzAwLCkYDIu+/ouyOqKPTVj4+bucJE=; b=X89/it4MtySBTvDz5up/rNW8IMwGXm9JlilJtW3m3lIEuRSoR/orGYY5U7A/Tgi1kQ UbciCMdUFI7b93rnmJ2Z9jAJ5UBqpr2w1a0lV3FUmMhN5+HlFdpqeWXv8eeAT33k6TcP QrcBFcrEmysVlZB+V313x3mZDBYCZA3Us24cDcGrlymBzCBw0S1OpysV/t9hDpmeSwLa vvPcL8wuShmuQD3PHdE4pQzEB0+3HXDBTVdbh2kNvrtMNft9qeNDipqlqMF3LrgnS3GS 9u+9cn/AiRyb6pD3AN+4EJEq748ThnCC0OfYli0/ApBrYujgfqUINgFUGJH04AvAmPnB BU9w== X-Received: by 10.152.120.101 with SMTP id lb5mr13871655lab.29.1376600402739; Thu, 15 Aug 2013 14:00:02 -0700 (PDT) Original-Received: from leviafan (128-70-198-98.broadband.corbina.ru. [128.70.198.98]) by mx.google.com with ESMTPSA id q5sm270693lbe.10.2013.08.15.14.00.01 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 15 Aug 2013 14:00:02 -0700 (PDT) In-Reply-To: <20130814124238.GA722@smoon> (Vladimir Lomov's message of "Wed, 14 Aug 2013 21:42:38 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::234 X-Mailman-Approved-At: Thu, 15 Aug 2013 17:20:21 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92914 Archived-At: Vladimir Lomov writes: > My setup: > - two languages: English and Russian; > - standard QWERTY keyboard, *but* DVORAK layout for both terminal and X; > - standard Russian layout (=D0=99=D0=A6=D0=A3=D0=9A=D0=95=D0=9D). > * Problem 0 > > If layout were QWERTY and one uses 'russian-computer' Input Method then l= etters on keys and > typed symbols, both English and Russian, are coincide. For instance, some= part of QWERTY > keyboard: > Page on EmacsWiki: > http://www.emacswiki.org/emacs/WritingRussianWithDvorak > > My variant of quail 'dvorak' layout: > https://raw.github.com/vp1981/scripts/master/emacs.d/misc/quail-dvorak.el Hello, I use the same layout combination: English Dvorak and Russian =D0=99=D0=A6= =D0=A3=D0=9A=D0=95=D0=9D. Dvorak layout is set in X and is never switched when i'm in Emacs. Russian layout is turned on internally in Emacs with `set-input-method'. As you pointed "russian-computer" is working when global layout is QWERTY, happily there is "cyrillic-dvorak" for our Dvorak case: . It is described in the EmacsWiki article you mentioned and this variant works perfectly for me, i didn't even try the other one, which you used for your "quail-dvorak.el". So I have (load "/path/to/cyrillic-dvorak.el") in my init.el; and i switch layouts with: (set-input-method "cyrillic-dvorak") (set-input-method nil). I hope it helps. As for you Problem 1, i have never met such behaviour.