> Recently I've spotted the following problems using
> GUI (GTK2) Vim 7.2.330 on Ubuntu 10.04 (April 2010)
> with GNOME 2.30.2 (build 25.6.2010).
>
> -1-
> Unicode characters with grave (U+0300) or acute (U+0301)
> combining accents do not display correctly.
>
> -2-
> The following behaviour contradicts the documentation:
> :echo str2float('1.23') prints 1,0 (instead of 1.23)
> :echo str2float('1,23') prints 1,23 (instead of 1.0)
> (The documentation for str2float() says that the decimal point is
> always '.', regardless of the locale setting.)
>
> -3-
> Furthermore, *neither* of
> :echo eval('1.23')
> and
> :echo eval('1,23')
> evaluates to a correct floating-point number, printing an error
> message instead (both the dot and the comma are rejected).
>
> As a result, no normal floating-point computations can be done
> within this version of gVim.
>
> The terminal version of Vim does *not* have these bugs.
Please try out Vim 7.3b. It includes a change that should fix the comma
vs. decimal point problems.
> Also, on the same system, I tried to compile vim 7.3b.
> Running the configure script failed, suggesting that I should
> install ncurses – which I do have installed already.
>
> Do others share the same experience?
No, this should work. Did you do "make distclean" first?
--
An SQL statement walks into a bar. He approaches two tables
and says, "Mind if I join you?"
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment