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 20:10:52 +0300

> From: Holger Arnold <holgerar@gmail.com>
> Cc: 12392@debbugs.gnu.org
> Date: Sat, 22 Sep 2012 18:54:20 +0200
> 
> Eli Zaretskii wrote:
> > > You are entering Lisp code here.  Would you agree that this qualifies as
> > > program code?
> > 
> > Then what is "user interface text" you were talking about above?  Does
> > user input qualify?
> 
> I admit that for a program like Emacs, this distinction is not always easy to 
> make because program code is part of its user interface.  But I think that 
> most cases can be decided using common sense.  Does the Emacs Lisp language 
> contain localized numbers?  No, it does not.  Hence, (* 0,25 1,3) is not a 
> valid Lisp expression, even undder a German locale.  But when Emacs prints a 
> message like "Your disk is 23.4% full." in the local language, then I would 
> also expect the number 23.4 to be localized.

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."?

> However, I have yet to see a localized message from Emacs.

I think error messages that include text which comes from strerror are
another example, in addition to strftime I mentioned earlier.





reply via email to

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