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

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

bug#12392: emacs-gtk misinterprets floating-point numbers under certain


From: Eli Zaretskii
Subject: bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2
Date: Sat, 22 Sep 2012 22:02:00 +0300

> From: Holger Arnold <holgerar@gmail.com>
> Cc: 12392@debbugs.gnu.org
> Date: Sat, 22 Sep 2012 19:18:18 +0200
> 
> > How can Emacs do both?  How can it display "4.0" for the result of
> > '(* 2.0 2.0)', but "23,4%" in a message like "Your disk is 23.4% full."?
> 
> What do you mean by "how"?  Technically, philosophically, ...?

The former, of course.

> How can GCC print localized error messages, but still not accept
> 'double x = 0,25 * 1,0;' in a C program?

In our case, we are talking about two instances of output.

> I assume that most Emacs users can tell whether they are interacting with the 
> Lisp interpreter or the "other" user interface.  So, what's the problem?

We are not talking about users, we are talking about Emacs, which is a
computer program.  It needs to be able to differentiate between these
two instances of output, if you want it to use different decimal
separators in each case.





reply via email to

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