From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Holger Arnold 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 18:54:20 +0200 Message-ID: <1850806.rhTqIQiGZd@thinkpad.home> References: <87r4qbodec.fsf@Rainer.invalid> <1780233.tNiCP7U4om@thinkpad.home> <836276ko1r.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: ger.gmane.org 1348332924 26103 80.91.229.3 (22 Sep 2012 16:55:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Sep 2012 16:55:24 +0000 (UTC) Cc: 12392@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 22 18:55:29 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 1TFSzG-0002yE-NW for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 18:55:26 +0200 Original-Received: from localhost ([::1]:54411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFSzC-0001iy-7V for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 12:55:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFSzA-0001is-Jd for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 12:55:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFSz9-0002Lf-C1 for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 12:55:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFSz9-0002Lb-8G for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 12:55:19 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TFT0o-00017x-DM for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 12:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Holger Arnold Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Sep 2012 16:57: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.13483329714276 (code B ref 12392); Sat, 22 Sep 2012 16:57:02 +0000 Original-Received: (at 12392) by debbugs.gnu.org; 22 Sep 2012 16:56:11 +0000 Original-Received: from localhost ([127.0.0.1]:49401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFSzy-00016u-Oa for submit@debbugs.gnu.org; Sat, 22 Sep 2012 12:56:11 -0400 Original-Received: from mail-bk0-f44.google.com ([209.85.214.44]:49156) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFSzw-00016l-HR for 12392@debbugs.gnu.org; Sat, 22 Sep 2012 12:56:09 -0400 Original-Received: by bkty12 with SMTP id y12so2257189bkt.3 for <12392@debbugs.gnu.org>; Sat, 22 Sep 2012 09:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=0Fw1XaaYSyi2OSewW+Cg7BmVlXOWyYN0jAb7Gqfs/sw=; b=R+u9OXNcllXBm17h3mrdzFbW4/QA1DLmoxzRdJMRs6T789iGHuxBayCf0x0KXjAV4S GTwTdmKo1cmtKqowyFcIEGxokWIzfXEhDAEg0GRLCk3OlfH+g+vf0cPrxl1WsdbqRZrc pQBk/pxTnwkKuKkYM48pxeAHZjnMpuj7b/DbsiQYDe/AyBLfIrGAC6pbxsxedy/8D1lq BZArL09EU4F8dUy1blfJAljHQQWH1EaAh2T/DbUt+vml8z5pckkJN6DuzJMQ40YG4Itk jpO9m9CCz9ckoysc2Sff3zFKbfjCjQXtYmwYftQahfKXkAHFKdn9JjVq23z3ewmjlHev NlEg== Original-Received: by 10.204.131.89 with SMTP id w25mr1435072bks.35.1348332864020; Sat, 22 Sep 2012 09:54:24 -0700 (PDT) Original-Received: from thinkpad.home (77-64-254-200.dynamic.primacom.net. [77.64.254.200]) by mx.google.com with ESMTPS id 25sm7850082bkx.9.2012.09.22.09.54.22 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 22 Sep 2012 09:54:23 -0700 (PDT) User-Agent: KMail/4.9.1 (Linux/3.5.4-1-default; KDE/4.9.1; i686; ; ) In-Reply-To: <836276ko1r.fsf@gnu.org> 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:64759 Archived-At: 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. However, I have yet to see a localized message from Emacs. Holger