Bug#582421: Floating point format depends on locale in gvim fom vim-gnome
Eike von Seggern
eikevons at yahoo.de
Thu May 20 16:37:34 UTC 2010
Package: vim-gnome
Version: 2:7.2.436+hg~e12b9d992389-1
Severity: normal
The format of floats depends on the current locale in gvim from
vim-gnome. I can reproduce the error using the following commands in
commandline mode:
:language C
:echo ceil(1.3)
2.0
:language de_DE.URF8
:echo ceil(1.3)
E806: ...
E116: ...
E15: ...
I omit the error messages, since they are in German.
This bug does not appear when I use vim or gvim from vim-gtk. So I guess
it's caused by using gnome libraries.
This might break scripts/plugins that use floating point arithmetics.
Best
eike
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (600, 'testing'), (202, 'unstable'), (101, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages vim-gnome depends on:
ii libacl1 2.2.49-2 Access control list shared library
ii libbonoboui2 2.24.3-1 The Bonobo UI library
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libglib2.0-0 2.24.1-1 The GLib library of C routines
ii libgnome2-0 2.30.0-1 The GNOME library - runtime files
ii libgnomeui-0 2.24.3-1 The GNOME libraries (User Interfac
ii libgpm2 1.20.4-3.3 General Purpose Mouse - shared lib
ii libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface
ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library
ii libncurses5 5.7+20100313-2 shared libraries for terminal hand
ii libpango1.0- 1.28.0-1 Layout and rendering of internatio
ii libperl5.10 5.10.1-12 shared Perl library
ii libruby1.8 1.8.7.249-3 Libraries necessary to run Ruby 1.
ii libselinux1 2.0.94-1 SELinux runtime shared libraries
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libx11-6 2:1.3.3-3 X11 client-side library
ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library
ii python2.5 2.5.5-6 An interactive high-level object-o
ii tcl8.4 8.4.19-4 Tcl (the Tool Command Language) v8
ii vim-common 2:7.2.436+hg~e12b9d992389-1 Vi IMproved - Common files
ii vim-gui-comm 2:7.2.436+hg~e12b9d992389-1 Vi IMproved - Common GUI files
ii vim-runtime 2:7.2.436+hg~e12b9d992389-1 Vi IMproved - Runtime files
vim-gnome recommends no packages.
Versions of packages vim-gnome suggests:
ii cscope 15.7a-2 Interactively examine a C program
ii gnome-icon-theme 2.30.2.1-1 GNOME Desktop icon theme
ii ttf-dejavu 2.30-2 Metapackage to pull in ttf-dejavu-
pn vim-doc <none> (no description available)
-- no debconf information
More information about the pkg-vim-maintainers
mailing list