Re: :set iminsert=2 not working in Korean IME
- Sangpil Yoon wrote:
> > I find it strange that an exception is made for one language. I don'tOver the years many small changes have been made to the multi-byte code
> > see why Korean is so special that we need to make an exception for it.
> Due to a bug in Korean IME. ImmSetOpenStatus() call has no effect in
> Korea IME. I've confirmed that this bug exists in Windows 98 and 2000,
> but have no idea whether this is the case on other windows variants.
> > Isn't this rather connected to the specific IME used?
> Yes it is. But aren't these kind of things what we programmers always do? ;)
to handle exceptions. The code is getting more and more complicated,
while there is no person that understands how it all works. Mostly to
be blamed on every language/IME to introduce its own problems.
We should keep in mind that the situation of people on different
computers may cause various side effects of a code change. Therefore we
must be as specific as we can and try to situations where it would
_not_ work. For example, suppose that someone installs an IME that does
work correctly, how does the code change affect him?
The least we need to do is add a comment to the changed code that
explains why it is done this way. That is very useful when solving
another problem later.
hundred-and-one symptoms of being an internet addict:
141. You'd rather go to http://www.weather.com/ than look out your window.
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///