[Uim] A question about the space bar
YamaKen
yamaken at bp.iij4u.or.jp
Sat Apr 10 23:25:59 EEST 2004
Hi David, let's conclude this thread as a constructive argument :)
At Fri, 09 Apr 2004 05:08:05 +0200,
david at start.no wrote:
> > In short, I'm always working with newest svn version of uim as a
> > uim developer. And the patches were tested on IMKit-uim, a uim
> > bridge for Zaurus Linux-based PDA. Yes, this might have caused
> > some difference.
>
> Hmm... Perhaps the bug appeared in svn after 0.3.4.2?
I've found what is the difference. It's not coming from uim
version but bridge implementation between gtk-im-uim and
IMKit-uim.
I had tested first space-committing patch against svn HEAD of
uim with gtk-im-uim, and I got surprising result (for me) like
you said. You're completely right about gtk-im-uim. uim-anthy is
not affected by hangul.scm under gtk-im-uim.
But IMKit-uim on Zaurus platform behaves differently. uim-anthy
is negatively affected via global generic-key redefinitions
(such as generic-next-candidate-key?) once the hangul.scm
loaded. I natulally thought this is a common behavior regardless
of platform because I know define-key mechanism well as
implementor. The result under gtk-im-uim is very strange for me.
You can see the problem that I experienced on IMKit-uim by
following process.
1. Add following form to ~/.uim
(hangul-change-key-bind)
2. Run a gtk app such as gedit
3. Select uim-anthy and input following key sequence.
<Control>j nihongo SPACE SPACE
4. Second SPACE of 3. behaves as commit key rather than
next-candidate key!
So I rewrote the patch to redefine generic-keys safely. The
patch makes uim more proper without any trade-off for everyone
(includes you and me). But my previous patch didn't worked
correctly and I rewrote again. The patch attached to this mail
worked correctly (also works with uim 0.3.4.2, maybe).
Regards,
-------------------------------
YamaKen yamaken at bp.iij4u.or.jp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp.diff
Type: application/octet-stream
Size: 3220 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/uim/attachments/20040411/986197e5/attachment.obj
More information about the uim
mailing list