643Re: Bug report and IME suggestions
- Jun 4, 2002Alexandre Elias wrote:
> 1) The character with Unicode value 0x25cf (a large filled circle) isThis sounds like a font problem. I don't find a remark in the Unicode
> the length of 2 latin letters, but vim seems to treat it as though it
> were only 1 latin letter long. This leads to annoying graphical
> glitches. I'm not sure if this is the same bug you were talking about
> with mb_off2cell(), but I thought I would point it out anyway.
list for character 0x25CF to be double width.
> 2) There should be a "clipboardencoding" option that determines in whatThis has been discussed, and the conclusion was a bit too complicated to
> encoding text copied to the Windows clipboard is. Always using Unicode
> is all very nice in theory, but it's no good for those of us whose other
> apps want SJIS or another legacy format. I think there is definitely a
> need for this feature.
> Also, it really needs to be a separate variable: using the value of
> "termencoding" is no good. My "termencoding" needs to be latin1,
> because I also use vim to input French accented characters, and that
> won't work with any other encoding. Also, if I set my "termencoding" to
> SJIS, weird stuff happens like my tilde key producing a square and my
> backslash key producing a yen symbol.
explain here. Ron Aaron sent a patch to the vim-dev list for this May 6.
> These two problems are with the IME support:Isn't it so that most IMEs allow you to type English by default?
> 3) vim with GIME support defaults to having the IME turned on in insert
> mode. This was very annoying for me, because most of the time I edit
> English. I searched several hours for a feature allowing me to set it
> off by default. It turns out the "iminsert" feature was exactly what I
> wanted, but I only found it when I went into the source code to hack in
> a different default myself :(.
> I think "iminsert" should be displayed much more prominently in the
> multibyte documentation. Also, I think there are strong arguments why
> iminsert should be 0 (off) by default. When you decide to include IME
> support as a feature of vim as shipped by default, it will baffle people
> to have vim automagically switch to a CJK language without their having
> done anything *at all* to request it. Just because I have an IME
> installed doesn't mean I want to use it most or even some of the time.
> Having an IME installed shouldn't cause such radical changes in the
> default behavior of vim.
I notice that when you do ":help IME" you don't find 'iminsert'. You
probably didn't get the idea to read the introduction in this file...
I'll copy the remark from the start of the file to here.
> 4) I have some gripes with the way the enabled/disabled status of theThis probably depends on what you are doing. You could map characters
> IME is remembered by vim. There is no reason to ever want to enable the
> IME in normal or visual mode. But I have frequently enabled the IME in
> normal mode by mistake, only to change it back when I ineffectually type
> a few commands and realize my error.
entered with IME to something useful.
> Here is what I think would be the best behavior:Sounds like a good idea to use the color to indicate whether IME is
> - The cursor color should always reflect the value of "iminsert", even
> when in normal mode. Right now in normal mode the cursor always
> reverts to IME-disabled color, and I can forget whether I had it
> enabled or not.
enabled (not using 'iminsert'). But do we really always know when IME
> - When I enable the IME in normal or visual mode, vim "swallows" it andI don't understand this. You just said the cursor color doesn't
> keeps it disabled. But, it toggles the color of the cursor and also
> toggles iminsert, so that the next time I go into insert mode the IME
> status is changed.
changed, and now it does?
I AM THANKFUL...
...for the mess to clean after a party because it means I have
been surrounded by friends.
/// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
/// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\
\\\ Project leader for A-A-P -- http://www.a-a-p.org ///
\\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
- << Previous post in topic Next post in topic >>