[Uim] uim_get_default_im_name()

Etsushi Kato ekato at ees.hokudai.ac.jp
Thu Oct 21 13:23:21 EEST 2004


On 2004/10/21, at 19:16, YamaKen wrote:

>> Mostly OK.  But it seems that find-im-for-locale doesn't check
>> default-im-name in ~/.uim when language matches.
>
> Is you requirement following?
>
> 1. return default-im-name if its lang matches the locale
> 2. otherwise, return the most preferable IM for the locale

Exactly.

> If so, I suggest uim-xim should use in combination with
> uim_get_default_im_name() and uim_get_im_name_for_locale() (C
> wrapper of find-im-for-locale) to achieve its requirement.
>
> I think that we should not provide the combined version of the
> function as uim API because it's not useful for other than
> uim-xim.

OK, that's fine.
I'll use uim_get_im_name_for_locale().  Please commit.

Cheers,
-- 
Etsushi Kato
ekato at ees.hokudai.ac.jp




More information about the uim mailing list