unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Holger Arnold <holgerar@gmail.com>
Cc: 12392@debbugs.gnu.org
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	[thread overview]
Message-ID: <834nmqkmoz.fsf@gnu.org> (raw)
In-Reply-To: <1850806.rhTqIQiGZd@thinkpad.home>

> 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	other threads:[~2012-09-22 17:10 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-09  7:37 bug#12392: 24.2; emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2 Achim Gratz
2012-09-09  7:43 ` Achim Gratz
2012-09-09  8:09 ` Achim Gratz
2012-09-09  8:30 ` Achim Gratz
2012-09-10 17:37   ` Jan Djärv
2012-09-10 19:00     ` Achim Gratz
2012-09-13  8:20 ` bug#12392: " Paul Eggert
2012-09-13 17:59   ` Achim Gratz
2012-09-14 15:58   ` Achim Gratz
2012-09-21  9:59   ` Holger Arnold
2012-09-22  6:19     ` Achim Gratz
2012-09-22 14:38       ` Holger Arnold
2012-09-22 15:08         ` Andreas Schwab
2012-09-22 15:49           ` Holger Arnold
2012-09-22 16:07             ` Eli Zaretskii
2012-09-22 17:04               ` Holger Arnold
2012-09-22 17:19                 ` Jan Djärv
2012-09-22 17:22                   ` Jan Djärv
2012-09-22 16:54             ` Jan Djärv
2012-09-22 16:55               ` Jan Djärv
2012-09-22 17:00                 ` Holger Arnold
2012-09-23 10:04                   ` Jan Djärv
2012-09-23 17:27                 ` Achim Gratz
2012-09-23 19:58                   ` Holger Arnold
2012-09-22 16:56               ` Holger Arnold
2012-09-22 16:02         ` Eli Zaretskii
2012-09-22 16:38           ` Holger Arnold
2012-09-22 16:41             ` Eli Zaretskii
2012-09-22 16:54               ` Holger Arnold
2012-09-22 17:10                 ` Eli Zaretskii [this message]
2012-09-22 17:18                   ` Holger Arnold
2012-09-22 19:02                     ` Eli Zaretskii
2012-09-22 19:44                       ` Holger Arnold
2012-09-22 16:36         ` Achim Gratz
2012-10-07 10:57           ` Holger Arnold
2012-09-21 20:08   ` Holger Arnold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=834nmqkmoz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=12392@debbugs.gnu.org \
    --cc=holgerar@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).