[Uim] [Docs] Config options' precedence details
Martin Swift
martin at swift.is
Mon Feb 5 15:56:47 EET 2007
On Sat, Jan 06, 2007 at 06:28:50PM +0900, YAMAMOTO Kengo / YamaKen wrote:
> At Fri, 29 Dec 2006 11:39:23 +0000,
> martin at swift.is wrote:
> >
> > How does the precedence of config options, set in the graphical tool on
> > the one hand and in ~/.uim on the other, work?
> >
> > Say I open up the graphical tool and see
> > [Global] on "zenkaku-hankaku", "<Shift>space",
> > but then set
> > generic-on-key '("<Alt>j")
> > in ~/.uim, will the two settings add, giving three possible
> > key-bindings or will the graphical tool settings be cleared?
>
> The ~/.uim one overwrites the ~/.uim.d/customs/ ones at
> application startup. But both settings are preserved in each
> files. So once you removed the setting from ~/.uim, the
> ~/.uim.d/customs/ settings take effect.
"Overwrites" or "overrides"?
Does you mean that once there is a setting defined in ~/.uim, the
corresponding setting in ~/.uim.d/customs/ is disabled? That is; in
the example in my OP, would the "zenkaku-hankaku" key no longer work
as a generic on key.
I actually seem to see no effect of ~/.uim. I put
generic-on-key '("<Alt>g")
in ~/.uim, restarted uim-xim and launched a new application (tried
both mlterm and firefox) but the <Alt>g combination didn't work. Is my
syntax incorrect? I also tried
generic-on-key '(<Alt>g)
but unsuccessfully.
> > PS. Unimportant, but just out of curiosity in case someone knows: Why
> > is the graphical tool configuration saved in ~/.uim.d/ rather than put
> > both in a single directory, ~/.uim/? Just 'cause?
>
> Mainly due to the historical reason. uim was only having ~/.uim
> until uim-pref had appeared. At that time, we had introduced the
> directory to be similar to ~/.emacs.d/.
Thanks for the background information.
Cheers,
Martin
--
\u270C
More information about the uim
mailing list