From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <831uhtlw47.fsf@gnu.org> References: <87r4qbodec.fsf@Rainer.invalid> <1850806.rhTqIQiGZd@thinkpad.home> <834nmqkmoz.fsf@gnu.org> <2199759.nmHto3ACll@thinkpad.home> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1348340550 16649 80.91.229.3 (22 Sep 2012 19:02:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Sep 2012 19:02:30 +0000 (UTC) Cc: 12392@debbugs.gnu.org To: Holger Arnold Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 22 21:02:34 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TFUyB-0006sL-LY for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 21:02:27 +0200 Original-Received: from localhost ([::1]:59751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFUy6-0005kr-PJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 15:02:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFUy4-0005kl-Fl for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 15:02:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFUy3-0002ts-HO for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 15:02:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFUy3-0002to-Dq for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 15:02:19 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TFUzi-0004rg-IX for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 15:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Sep 2012 19:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12392 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 12392-submit@debbugs.gnu.org id=B12392.134834064018690 (code B ref 12392); Sat, 22 Sep 2012 19:04:02 +0000 Original-Received: (at 12392) by debbugs.gnu.org; 22 Sep 2012 19:04:00 +0000 Original-Received: from localhost ([127.0.0.1]:49552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFUzf-0004rP-U5 for submit@debbugs.gnu.org; Sat, 22 Sep 2012 15:04:00 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:40250) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFUzc-0004rH-To for 12392@debbugs.gnu.org; Sat, 22 Sep 2012 15:03:58 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MAR00000M16HF00@a-mtaout20.012.net.il> for 12392@debbugs.gnu.org; Sat, 22 Sep 2012 22:02:11 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MAR000Y6M7NBP20@a-mtaout20.012.net.il>; Sat, 22 Sep 2012 22:02:11 +0300 (IDT) In-reply-to: <2199759.nmHto3ACll@thinkpad.home> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64772 Archived-At: > From: Holger Arnold > 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.