From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Thomas Newsgroups: gmane.emacs.devel Subject: [PATCH] Re: itrans input methods and motion keys Date: Sat, 02 Jul 2022 14:53:54 +0530 Message-ID: <87r13350lx.fsf_-_@gmx.net> References: <87k091dqhl.fsf@gmail.com> <87a69vfyzi.fsf@gmail.com> <87r1346prc.fsf@gmx.net> <87pmiojc5n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10723"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.92 (gnu/linux) Cc: emacs-devel@gnu.org To: Visuwesh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 02 11:24:22 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7ZMT-0002g8-PC for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Jul 2022 11:24:21 +0200 Original-Received: from localhost ([::1]:49478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7ZMS-00019H-91 for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Jul 2022 05:24:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7ZLs-0000RX-Kn for emacs-devel@gnu.org; Sat, 02 Jul 2022 05:23:44 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:42293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7ZLr-0000Yy-2l for emacs-devel@gnu.org; Sat, 02 Jul 2022 05:23:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1656753821; bh=ZRWbT0KIggFKXrHpJ26e0MT0FZi1RGYebVQuY0GOiLM=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=cXcnQt2dkTjNzgazi8BtylnyDUvOHjy/I/5MsDYT/9Cj0ATdUspLWbEbTU4RZpLx+ erIxYYyCdh9biQDY5qwa20xPC1CpyuEbzYdqssKt/ZG3NRrWswNNUkD03wW/4AdrdT dPI5wWlFZgFgiggNsAb0XCwVbyOeQWSp4Vj8F5Ek= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from Geek ([117.211.5.245]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1Mqs4f-1nm2FJ3RQH-00msYf; Sat, 02 Jul 2022 11:23:41 +0200 In-Reply-To: <87pmiojc5n.fsf@gmail.com> (Visuwesh's message of "Sat, 02 Jul 2022 11:20:44 +0530") X-Provags-ID: V03:K1:MSLlSqjbSPsPktBiyo+QOjoQk6IfrXcfKCyPw8UY+FhTAjaFS4A sh+l+ozashWomyZ7XSxP0PJnJXitWr8uoQgqCz3xsLtTuVCb/mY11nwJ+t2Ivlf90rQf/ti dM53GJN+x9f4XPDHMJ2JruPXjtwbSx70ZyatfsvaxxAtwzCxeq/6gIZNyaBDouGl7PWAK+Y lvTAfMp9B6i4cYctpdBBw== X-UI-Out-Filterresults: notjunk:1;V03:K0:8uNsYdZEu+Y=:dQctD9m7/i8pwwV1yNUQgX xZ6GiA8ON4NHdWLLOudil+r5jxMf0Bw9EkY6QgRu5zRK45oRSpzBBa4zbLhvpjNki8glueWUK zVgTGTAwH78XAaelV1ZYikHtS+lRlyT8piodSj+WD1XTbQ2UlFRnSz2r8f23X2QWlobkFyuU+ L48I9CApaGoPLEiGa/WRF8+DrYNIi6PyQOCncgsSdqGjhWTfhYdklpSY7nJAKhY4lulBxoTEB mj8bMin5IMuNpwQc/T87nvLX+0QuGWYrvXEMsu0Zcbm1owkPqc0zhwB5GYTpsEuxTu3W4p1KS ok61X/Bgp8UjuRolTq8khqTkkuy9XZHBFM8n/x2t0sKhAwoxq4y5oR2Y0Qwuvtd1MgGZd8QPC Dvca/t2SMqomyzoV6+8NDqr/HaQQ3wSocFTk9+xOyLuBX1bgJwvdYf5jrkg+qWOTyxFi6cfgx bLzFNej+3Rq5zDA/ARA1VD6sqlqu6CNKp/mGFvh11pcltLe/zgwcOZwJuHSSM9qpmIkfmyPT/ G6fQlFanN8PuWipJZ2wPnNW26+SI78TuqecH6qLZgwS2tdMhCex62MORK7i3/YOuny33FwNx/ mClvtRePRFNiHb837aEObiPrhQtyXjCacYFTxE4qlsAi6vrqxkLuocoqQuYzIy/BdYA/YCR61 4jBW/UL5KWAsvQcf2OlEMVdV9aOITGaW6RFCsep+xgKatxzEHR7K4/RoK7g8H9ZPbL9NmXsuA MQVsaSmHhvWLXkzOCMG2r2MiUtGOkNHBvMiR4W3161qu5VMIrzFzB7J3Zp7MgbA8O1Xa2dQ6 Received-SPF: pass client-ip=212.227.17.21; envelope-from=jimjoe@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291793 Archived-At: Visuwesh wrote: > Unfortunately, I'm not quite sure what it does. I also cannot read > Malayalam at all so I cannot try to figure it out by trial and error (I > can at least read Devanagari a bit). Can you explain what it does? =46rom the docstring: > DETERMINISTIC non-nil means the first candidate of translation is > selected automatically without allowing users to select another > translation for a key. So if we've concluded that there is only one valid candidate for translation of the current input (upto the last key), there would be no harm is setting it. SIMPLE simply controls one of the keyboard mechanisms for selecting any such alternative candidates. Someone who uses Devanagari should probably test it and weigh in, though. In any case I'd like to throw in a patch for a similar change to malayalam-mozhi, which I've tested. :) diff --git a/lisp/leim/quail/indian.el b/lisp/leim/quail/indian.el index 23204c0cd3..d8cc94c676 100644 =2D-- a/lisp/leim/quail/indian.el +++ b/lisp/leim/quail/indian.el @@ -633,7 +633,7 @@ indian-mlm-mozhi-update-translation (quail-define-package "malayalam-mozhi" "Malayalam" "MlmMI" t "Malayalam transliteration by Mozhi method." nil nil t nil nil nil t nil - #'indian-mlm-mozhi-update-translation) + #'indian-mlm-mozhi-update-translation nil t) (maphash (lambda (key val) =2D-