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

Theppitak Karoonboonyanan thep at linux.thai.net
Mon Nov 28 05:55:05 UTC 2011


On Mon, Nov 28, 2011 at 9:15 AM, TAKAHASHI Naoto <ntakahas at m17n.org> wrote:
> 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.

Not in my box, via ibus-m17n. The vowel sign never appears in any case.

PS. I suspect IBus API may be the problem:
https://code.google.com/p/ibus/issues/detail?id=1358

Regards,
-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/





More information about the Pkg-ime-devel mailing list