On Wed, Sep 03, 2003 at 08:01:34PM +0700, Ivan Pascal wrote:
> 
> > > In finally a most doubtfull part: how to specify needed Compose file.
> > > Now I made an environment variable XCOMPOSEFILE which value should be a name
> > > (with a path) of Compose file.  But I realize it is unhandly for users.
> > > Any ideas are welcome.
> > 
> >   Hm, how about simply checking for the presence of ~/.Xcompose and
> > using it instead of the locale dependent file? In that case, this file
> > would have to include the system wide ones instead of the other way
> > round, so perhaps the substitutions you've proposed wouldn't be really
> > needed.
> 
> I thought about it.  But I think it isn't much better than an environment
> variable.  In one case you have to write a string into your profile
> file (set the variable) and in another case you have to make a file in
> your home directory and write some lines there.  And both cases are unhandly
> for configuring utilities. :-(

  Actually, I don't agree here. An environment variable is of course
very inconvenient for any kind of user-friendly configuration, because
there's no standardised way to set it, and most of the time you need
to restart your X session for it to apply.

  On the other hand, a (configuration) file is exactly the sort of
thing you can handle with suitable utilities. Surely they will not be
expected to deal with single rules in it (they'll simply have to
preserve them), but they can easily deal with include statements at
the top of the file, and let the clueless user produce them without
knowing the internals ("choose the rule sets you would like" or even
"choose your country and language"). In addition, applications would
quickly pick up the changes by simply restarting.

> Anyway I can implement both.  In this case I think the variable should have
> bigger priority because if one wants to change compose rules for application
> only (or apply different rules for different applications) it would be easer
> to use the environment variable for such task.

  Agreed. When you are done with this and everything is committed, do
drop a note in this list.

-- 
Vasilis Vasaitis
[EMAIL PROTECTED]
+306976604701


_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to