Dominique Pelle wrote:

> > Hi,
> >
> > I no longer get errors after setting this var:
> >
> > $ export LC_NUMERIC=C
> >
> > So I'm guessing GVim is not successfully setting it in some
> > circumstances. I never get this error running the terminal vim, no
> > matter what my language preference is set to.
> 
> Ah, I was trying with Vim in a terminal.  But trying with gvim,
> I can now reproduce the problem (at least with GTK2 or Motif GUIs).
> And I confirm that doing "export LC_NUMERIC=C" before
> running gvim works around the issue.

I suspect that after Vim changes the locale, the GUI changes it to
something else.  GTK is known to assume it can do anything to the global
setup of the program.  Perhaps with some gdb debugging one can find out
what happens to the locale during startup.

-- 
Anyone who is capable of getting themselves made President should on no
account be allowed to do the job.
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// Bram Moolenaar -- [email protected] -- 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_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui