all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: James Thomas <jimjoe@gmx.net>
To: Visuwesh <visuweshm@gmail.com>
Cc: emacs-devel@gnu.org
Subject: [PATCH] Re: itrans input methods and motion keys
Date: Sat, 02 Jul 2022 14:53:54 +0530	[thread overview]
Message-ID: <87r13350lx.fsf_-_@gmx.net> (raw)
In-Reply-To: <87pmiojc5n.fsf@gmail.com> (Visuwesh's message of "Sat, 02 Jul 2022 11:20:44 +0530")

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.

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)


--



  reply	other threads:[~2022-07-02  9:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-28 10:36 itrans input methods and motion keys Visuwesh
2022-06-28 18:44 ` समीर सिंह Sameer Singh
2022-06-29 12:14   ` Visuwesh
2022-07-02  5:35     ` itrans input methods and motion keys, " James Thomas
2022-07-02  5:50       ` Visuwesh
2022-07-02  9:23         ` James Thomas [this message]
2022-07-02  9:39           ` [PATCH] " Visuwesh
2022-07-02  9:39           ` Visuwesh
2022-07-03  7:07           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r13350lx.fsf_-_@gmx.net \
    --to=jimjoe@gmx.net \
    --cc=emacs-devel@gnu.org \
    --cc=visuweshm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.