Tuesday, July 27, 2010

some bugs

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.

~~~~~~~~~~~~~

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?

Regards,
Boyko

--
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: