Hi Sethu,

Thanks for the updated response/clarification. I think I now understand
your concerns.

On Thu, 2009-02-26 at 07:33 +0530, கா. சேது | K. Sethu wrote:

> im-switch package itself writes into the alternatives registry file
> /var/lib/dpkg/alternatives/x-input-all_ALL for inclusion of "default",
> "none"  and "default-xim".

We can change the postinst script.

> scim, uim(actually uim-xim which depends on uim-common) , gcin are
> some others I have checked to find that they write into same registry
> file in Debian. Haven't checked the others so could be more.

e.g. scim's postinst script contains:
---------------------------------------------
 34         ua_inst all_ALL scim  0
 35         ua_inst ja_JP   scim 50
 36         ua_inst ko_KR   scim 50
 37         ua_inst zh_CN   scim 50
 38         ua_inst zh_TW   scim 50
 39         ua_inst zh_HK   scim 50
 40         ua_inst zh_SG   scim 50
 41         ua_inst all_ALL scim-immodule 0
 42         ua_inst ja_JP   scim-immodule 0
 43         ua_inst ko_KR   scim-immodule 0
 44         ua_inst zh_CN   scim-immodule 0
 45         ua_inst zh_TW   scim-immodule 0
 46         ua_inst zh_HK   scim-immodule 0
 47         ua_inst zh_SG   scim-immodule 0
---------------------------------------------

These postinst scripts can also be updated.

> a). So while all_ALL to be deprecated, it will not be disallowed?

Yes, as Osamu pointed out earlier, we need to read it if it exists.

> Will you be satisfied with "every" instead of "all" to avoid closely
> similar fake locale names?

The proposed quasi-locale "all" is not the only problem. As I discovered
last night we should not use "default" as a quasi-locale either. The
string "default" is used in another context as a 'type' of IM.

> b). Having the line "/etc/X11/xinit/xinput.d/all" would defeat the
> purpose of the line below it.
> 
> scim package for CJK locales and im-switch for th_TH locale set
> system-wide defaults of scim-bridge and th-xim respectively. If
> another package maintainer chooses to create registry entry for
> "x-input-all" then out-of-box readiness for those users will get
> turned off.

Are you saying we should not add functionality, in case a package
maintainer abuses it? Similarly, there's nothing stopping a package
maintainer from looping through all the locale names and setting them to
a particular IM type.

> My suggestion is to remove "/etc/X11/xinit/xinput.d/all" from the
> above. So the use of "all" would be restricted to user's own
> configuration only and not for system wide configuration.

My preference is for there to be symmetry between the user and system
quasi-locales.

> c)    //3) Add a fake "default" locale that acts like a default.//
> 
> Why is it necessary ?

Because "all_ALL" is confusing and needs to be deprecated.

I will send out the patch I had been working on.

cya,
#




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to