From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vladimir Lomov Newsgroups: gmane.emacs.help Subject: Re: Weirdness with Input Method/quail : how to figure out source of it? Date: Fri, 16 Aug 2013 08:19:08 +0900 Message-ID: <20130815231908.GB722@smoon> References: <20130814124238.GA722@smoon> <8738qasm9t.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1376608773 19783 80.91.229.3 (15 Aug 2013 23:19:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Aug 2013 23:19:33 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Alex Kost Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 16 01:19:36 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 1VA6pL-0000UD-It for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Aug 2013 01:19:35 +0200 Original-Received: from localhost ([::1]:55934 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA6pL-00032T-69 for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Aug 2013 19:19:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA6p6-00032L-9H for help-gnu-emacs@gnu.org; Thu, 15 Aug 2013 19:19:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VA6p1-0006Fk-Ht for help-gnu-emacs@gnu.org; Thu, 15 Aug 2013 19:19:20 -0400 Original-Received: from mail-lb0-x230.google.com ([2a00:1450:4010:c04::230]:51698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA6p1-0006Fe-Aa for help-gnu-emacs@gnu.org; Thu, 15 Aug 2013 19:19:15 -0400 Original-Received: by mail-lb0-f176.google.com with SMTP id w10so1057673lbi.21 for ; Thu, 15 Aug 2013 16:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=9VkdM16Xi70CWaCFHpVMEKOFMy2zwgnG5DWzg2JaDoE=; b=p/I4yUXoC5zFsxceWDyb4oi0JsUGiKFeIHaA4V9VDXNIKZYLBPtanNfkr0bqq3BnEK rPsoNwfiITOcZaU8FgxoO2qxjeWRkWjeBbN6fb+619gwdfGCexvfV0jQ5zSbHQWOFt/7 oUT2UoMJClDndQB52/0bdb54FJhsuH0v0sdjgKLEc/LlTQzbsMSjicOBel1A+k5SRr1Z rMg0yDKCZQ1WMHap1K37sNdu69KN+dwnwkmCYIsJYZw3jjJ/ykmYc3ZT4BlFCbJ+EHlL 4IrlO/jAk51E1dIslFlt7hD3+QqBlDOHrDASftritq9/6FXTh1gveDELNqxZDRphZShy +3jw== X-Received: by 10.152.45.106 with SMTP id l10mr15288014lam.12.1376608753969; Thu, 15 Aug 2013 16:19:13 -0700 (PDT) Original-Received: from smoon ([141.105.33.55]) by mx.google.com with ESMTPSA id u18sm392150lbp.4.2013.08.15.16.19.11 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 16:19:12 -0700 (PDT) Content-Disposition: inline In-Reply-To: <8738qasm9t.fsf@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::230 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:92919 Archived-At: ** Alex Kost [2013-08-16 00:59:42 +0400]: > Vladimir Lomov writes: >> My setup: >> - two languages: English and Russian; >> - standard QWERTY keyboard, *but* DVORAK layout for both terminal and X; >> - standard Russian layout (ЙЦУКЕН). >> * Problem 0 >> If layout were QWERTY and one uses 'russian-computer' Input Method then letters 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 ЙЦУКЕН. > 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. Thanks for confirmation that this way works too. Actually I used that method earlier but faced with the same Problem 1, so I tried another approach (IMHO, they are very simiral, both use quail techniques) and as you see without luck. > As for you Problem 1, i have never met such behaviour. I have to admit I don't know what _exactly_ cause this behaviour, and this drives me crazy, because I don't know how to reliably reproduce it (sometimes I think it could be related with my settings, or that I use Emacs compiled from bzr trunk...). Does anyone know if there is a tool to automatically and interactively type text in a window (frame in Emacs terminology) with specified speed? I only tried xdotool but it 'type' very quickly (I already have idea to use xdotool and sleep to control 'type' speed). --- WBR, Vladimir Lomov -- Experience is a good teacher, but she sends in terrific bills. -- Minna Antrim, "Naked Truth and Veiled Allusions"