[Pkg-ime-devel] Bug#650067: Bug#650067: ibus-m17n: Thai IMs lack fallback when application doesn't support surrounding text

TAKAHASHI Naoto ntakahas at m17n.org
Mon Nov 28 02:15:01 UTC 2011

Harshula <harshula at gmail.com> writes:

> I suspect the th-tis820.mim in m17n-db doesn't try to detect STS.
> Takahashi will be able confirm.

According to the code and comment, it does check whether surrounding
text is supported or not.

th-tis820.mim, line 244
>   (cond
>    ;; If surrounding text is supported, commit the only char in preedit.
>    ((> @-0 -2)
>     (commit))

I tested th-tis820 and th-kesmanee with gnome-terminal under Debian
Squeeze.  Typing "db-" produced a reasonable result, but the vowel sign
(SARA I, U+0E34) appeared only after "-" was typed.

ntakahas at m17n.org

More information about the Pkg-ime-devel mailing list