https://bugzilla.novell.com/show_bug.cgi?id=779426 https://bugzilla.novell.com/show_bug.cgi?id=779426#c0 Summary: emacs -gtk misinterprets floating-point numbers under certain locales Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: i686 OS/Version: openSUSE 12.2 Status: NEW Severity: Critical Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Stromeko@NexGo.DE QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0 When running emacs-gtk under a locale that doesn't have "." as the decimal point, the elisp interpreter will drop the fractional part of the number, e.g "0.25" will be interpreted as "0.0". The problem is _not_ present when setting LC_NUMERIC=C, running "emacs-gtk -nw" (no window system), emacs-x11 or emacs-nox. Reproducible: Always Steps to Reproduce: 1. Start "LC_NUMERIC=de_DE.UTF-8 emacs-gtk -Q" 2. Type "0.25" in *scratch* buffer, then "C-j" Actual Results: Input will evaluate to "0.0" instead of "0.25". Expected Results: Input should evaluate to "0.25". This happens after Tumbleweed rolled into 12.2. I've tested it on two different machines. The issue is present with Emacs 23.3 as delivered with the system, but also with different Emacs versions I have compiled myself from Emacs Bzr. Re-compiling on 12.2 did not help. I think this error relates to the update of glib from 2.14 to 2.15 somehow. Luckily I've noticed this problem very early in Gnus and start it wrapped as a workaround for now, but it has potential to create serious damage. Reported as bug#12392 to upstream. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.