all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Welsh Duggan <mwd@md5i.com>
To: <tomas@tuxteam.de>
Cc: emacs-devel@gnu.org
Subject: Re: How do you write input methods?
Date: Thu, 02 Sep 2021 20:59:54 -0400	[thread overview]
Message-ID: <877dfytqwl.fsf@md5i.com> (raw)
In-Reply-To: <20210902063430.GA617@tuxteam.de> (tomas@tuxteam.de's message of "Thu, 2 Sep 2021 08:34:30 +0200")

[-- Attachment #1: Type: text/plain, Size: 516 bytes --]

<tomas@tuxteam.de> writes:

> On Thu, Sep 02, 2021 at 09:23:14AM +0300, Eli Zaretskii wrote:
>
> [...]
>
>> So what you need is to apply the cyrillic-translit input method, just
>> not in an interactive context, is that true?
>
> That's how I understood it: transliterate a given string [1], instead of
> a "stream of input events". Sounds useful to me :)
>
> Cheers
>
> [1] according to a given input method's rules
>
>  - t

I wrote something like this a while back as an experiment.  Here's what
I came up with:


[-- Attachment #2: quail-transform.el --]
[-- Type: application/emacs-lisp, Size: 1869 bytes --]

[-- Attachment #3: Type: text/plain, Size: 42 bytes --]


-- 
Michael Welsh Duggan
(md5i@md5i.com)

  reply	other threads:[~2021-09-03  0:59 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-30  1:10 How do you write input methods? Perry E. Metzger
2021-08-30 11:15 ` Stephen Berman
2021-08-30 11:24   ` Joost Kremers
2021-08-30 11:48     ` Stephen Berman
2021-08-30 16:23       ` Perry E. Metzger
2021-08-30 20:26         ` Stephen Berman
2021-08-30 11:46 ` Eli Zaretskii
2021-08-30 13:40   ` Perry E. Metzger
2021-08-30 14:00     ` Eli Zaretskii
2021-08-30 14:22       ` Perry E. Metzger
2021-08-30 15:43         ` Eli Zaretskii
2021-08-30 16:24           ` Perry E. Metzger
2021-08-30 14:29 ` André A. Gomes
2021-08-30 15:54   ` Eli Zaretskii
2021-08-30 20:12     ` André A. Gomes
2021-08-31 12:02       ` Eli Zaretskii
2021-09-01 17:50       ` Filipp Gunbin
2021-09-01 17:57         ` Eli Zaretskii
2021-09-01 20:33           ` Filipp Gunbin
2021-09-02  6:23             ` Eli Zaretskii
2021-09-02  6:34               ` tomas
2021-09-03  0:59                 ` Michael Welsh Duggan [this message]
2021-09-03  6:10                   ` tomas
2021-09-02 10:47               ` Filipp Gunbin

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=877dfytqwl.fsf@md5i.com \
    --to=mwd@md5i.com \
    --cc=emacs-devel@gnu.org \
    --cc=tomas@tuxteam.de \
    /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.