From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: itrans input methods and motion keys Date: Sat, 02 Jul 2022 15:09:43 +0530 Message-ID: <87pminj1k0.fsf@gmail.com> References: <87k091dqhl.fsf@gmail.com> <87a69vfyzi.fsf@gmail.com> <87r1346prc.fsf@gmx.net> <87pmiojc5n.fsf@gmail.com> <87r13350lx.fsf_-_@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35408"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: James Thomas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 02 11:46:54 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 1o7ZiG-000957-NV for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Jul 2022 11:46:52 +0200 Original-Received: from localhost ([::1]:59026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7ZiF-0000pn-8X for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Jul 2022 05:46:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7ZbQ-0005zk-Rc for emacs-devel@gnu.org; Sat, 02 Jul 2022 05:39:48 -0400 Original-Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:41947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7ZbP-0006p8-Ak for emacs-devel@gnu.org; Sat, 02 Jul 2022 05:39:48 -0400 Original-Received: by mail-pf1-x444.google.com with SMTP id b2so4582549pfb.8 for ; Sat, 02 Jul 2022 02:39:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=zWTy/GD5WvYNpHzot9CZI1qJdSJCXlIB62xm+O5eG2E=; b=VVfV6XJ2q7ULN5zDM4QAn6o69IYdcAsB80bYc91oLspeWr3Fx0JS9Wla62F+Pqrg80 f656ndxrZIV1ZY5jHnc28AreMX7jXgFjYFWiYq0Ta9yQ0beFCaztfuwQRxSUg/D+dnIP GZkFkwyPigvdi0lKaoPKoSg1pgmj7vBfxANJCwQPNORQ1mkqRulWiFQ6QwnOvTgRAl/e OC8jGXGyxFcXj1otUJFdrTyyHiLH7gjGiI5S3QK3UTgWPmibeofeQOLnsYTurWeGEnWm WbSRwZBCKqR222RoQ5tCSPfmPCiI2xAHTYlPIFA8CbmEYrJHkcqPLXy4lCdG63dAVrcJ 483Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=zWTy/GD5WvYNpHzot9CZI1qJdSJCXlIB62xm+O5eG2E=; b=4LNpMicE8jHkeY+LbsIqpWfZ3UvgR7OBzNVgR3LE04zmy/UQfct7/SJN7Sf50ARdJV 6hEur6YQ+BwJK22qD5s6zItieH82RVsGfDjxFd8JJH+UKWFjc4EXJcFpK16icjlLUoKv IRts0uYRi7iqXw6L6/Bl1ec0PGN6SI6dHw4deaaqbR8oUJAN2ImOkH5O3BubeW8SGDfj Dlc9Hu+04EhRaR3a7tju68kqGYoXprDZ220Pnu9OOTxvuyjthXPkJ6vdtCsHUY9q/2VO hdZFFd1yoaHjfDc3GzwqcrWb6II8nYsOsWF/tArpFtleQ2Sg/2JuS2eoymwAm7rdyS1p Euow== X-Gm-Message-State: AJIora/LB6Hmlvkq15d5aPAZrPk45OMEBjGRRTPmqfHj0COM2g/evn6b DIna9NKsj+erTruT0wgHQG0= X-Google-Smtp-Source: AGRyM1vTrOXSg51R1tnQssBaVvjwDMitAJVKw7DsJrg39BXDmBf3pXv5HwVDxgYWdMjNdwLfKV++oA== X-Received: by 2002:a63:1e15:0:b0:411:c9e8:2f14 with SMTP id e21-20020a631e15000000b00411c9e82f14mr8277246pge.293.1656754785922; Sat, 02 Jul 2022 02:39:45 -0700 (PDT) Original-Received: from localhost ([49.204.136.62]) by smtp.gmail.com with ESMTPSA id y32-20020a056a00182000b0052512fdaa43sm17430573pfa.163.2022.07.02.02.39.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Jul 2022 02:39:45 -0700 (PDT) In-Reply-To: <87r13350lx.fsf_-_@gmx.net> (James Thomas's message of "Sat, 02 Jul 2022 14:53:54 +0530") Received-SPF: pass client-ip=2607:f8b0:4864:20::444; envelope-from=visuweshm@gmail.com; helo=mail-pf1-x444.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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-Mailman-Approved-At: Sat, 02 Jul 2022 05:43:33 -0400 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:291795 Archived-At: [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=9C=E0=AF=82=E0=AE=B2=E0=AF=88 02, 2022]= James Thomas wrote: > 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? > > From 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. > Hmm, so SIMPLE disables the translation-keymap and DETERMINISTIC selects the first candidate? I wonder why they are mutually exclusive in the first place... Thanks for the explanation. > 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 > --- 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) > > > --