On 27/07/10 12:51, Boyko Bantchev wrote:
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 may have ncurses, but do you have ncurses-dev ?
In general, you need _development_ versions of everything that the
program you're compiling will use: packagename contains the libraries
needed to run executable using the package "packagename",
packagename-dev contains the include files etc. needed to compile them;
to compile and run you need both.
I've been told that running "apt-get build-dep <packagename>" will
install everything you need to build <packagename> yourself, but I'm on
openSUSE Linux myself, which uses a different family of software tools
(YaST, zypper, libzypp, etc.) to install software packages so I cannot
check it.
Best regards,
Tony.
--
Human cardiac catheterization was introduced by Werner Forssman in
1929. Ignoring his department chief, and tying his assistant to an
operating table to prevent his interference, he placed a uretheral
catheter into a vein in his arm, advanced it to the right atrium [of
his heart], and walked upstairs to the x-ray department where he took
the confirmatory x-ray film. In 1956, Dr. Forssman was awarded the
Nobel Prize.
--
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