bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12392: 24.2; emacs-gtk misinterprets floating-point numbers under ce


From: Jan Djärv
Subject: bug#12392: 24.2; emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2
Date: Mon, 10 Sep 2012 19:37:18 +0200

9 sep 2012 kl. 10:30 skrev Achim Gratz <Stromeko@nexgo.de>:

> Achim Gratz writes:
>> Steps to reproduce:
>> 
>> 1. Start "LC_NUMERIC=de_DE.UTF-8 emacs-gtk -Q"
>> 2. Type "0.25" in *scratch* buffer, then "C-j"
>> 
>> The input evaluates to "0.0" rather than "0.25".
>> 
>> The input is correctly interpreted when setting LC_NUMERIC=C.
> 
> I've just finished a Gtk-3 build: same issue, so Gtk version itself
> doesn't seem to be a factor.
> 
> 

I suspect glibc have changed, because Emacs does

  setlocale (LC_NUMERIC, "C");

when it starts up, so your setting should not matter.

I suggest you try to file a bugreport to OpenSuse.

        Jan D.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]