Currently uim's Scheme interpreter does not distinguish between #f and (). This is preventing some kind of codes from being written in ordinary way (see bug #617) and is confusing advanced users who know Scheme. The patch attached to the URL (by Kouhei Sutou-san) makes siod distinguish between #f and (). But many Scheme codes under scm directory are not distinguishing between the ones, so the patch introduces new bugs. Sanitize all scm files is required. Developers, declare "I have start validating this file" and do it. - unchecked files im.scm rk.scm japanese.scm generic.scm key.scm anthy.scm skk.scm skk-editor.scm prime.scm pyload.scm hangul.scm tcode.scm tutcode.scm canna.scm m17nlib.scm hk.scm viqr.scm ipa.scm spellcheck.scm - safe files util.scm custom.scm uim-sh.scm PY.scm generic-key.scm hangul2.scm hangul3.scm japanese-azik.scm japanese-kana.scm latin.scm loader.scm default.scm pinyin-big5.scm pyunihan.scm romaja.scm zaurus.scm
Is there a good way to validate the scm files? Or we have to check whole lines with eyes?
Test relevant input method with Suto-san's patch. You will find something wrong and investigate the probelm with (print "here") way. Currently, I suppose rk.scm and uim-util.c is the blocker.
I experimentally changed string_equal to return #f. But define-key'ed predicate does not work properly. Yamaken-san, could you investigate key.scm?
(In reply to comment #3) > I experimentally changed string_equal to return #f. > But define-key'ed predicate does not work properly. > > Yamaken-san, could you investigate key.scm? Okay. Wait for a while.
(In reply to comment #4) key.scm is probably safe. Use test-key.scm to validate the file. I'm now merging Sutou-san's patch into im.scm and applying further fix.
I've checked some files. - checked key.scm (test-ready) im.scm (almost safe and test-ready) ipa.scm viqr.scm tcode.scm pyload.scm hangul.scm - unchecked yet uim-util.c uim-func.c rk.scm japanese.scm generic.scm anthy.scm skk.scm skk-editor.scm prime.scm canna.scm tutcode.scm m17nlib.scm hk.scm spellcheck.scm
I've checked and fixed a file. See svn r983. - checked uim-func.c - unchecked yet uim-util.c (almost checked and unit test has been written) rk.scm japanese.scm generic.scm anthy.scm skk.scm skk-editor.scm prime.scm canna.scm tutcode.scm m17nlib.scm hk.scm spellcheck.scm
I've checked and fixed a file. See svn r985. Unit test for the procedures are also available. - checked uim-util.c - unchecked yet rk.scm japanese.scm generic.scm anthy.scm skk.scm skk-editor.scm prime.scm canna.scm tutcode.scm m17nlib.scm hk.scm spellcheck.scm
It should be resolved in uim 1.3.0 by disabling SIOD-compatible mode.
Resolved by SigScheme with --disable-compat-siod-bugs.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.