From xemacs-m  Wed Jul 30 07:17:33 1997
Received: from inf.enst.fr (0y/1DuY8MmclEJYVwRRCM6ZJiIikEkAb@inf.enst.fr [137.194.2.81])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id HAA07424
	for <xemacs-beta@xemacs.org>; Wed, 30 Jul 1997 07:17:27 -0500 (CDT)
Received: from esmeralda.enst.fr (esmeralda.enst.fr [137.194.160.71])
          by inf.enst.fr (8.8.4/8.8.4) with ESMTP
	  id OAA10800; Wed, 30 Jul 1997 14:17:11 +0200 (MET DST)
Received: (from tardieu@localhost)
          by esmeralda.enst.fr (8.8.4/8.8.4)
	  id OAA19585; Wed, 30 Jul 1997 14:17:07 +0200 (MET DST)
To: xemacs-beta@xemacs.org
Cc: demaille@inf.enst.fr
Subject: Problems with floating points when LANG!=C
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 30 Jul 1997 14:17:06 +0200
Message-ID: <qw6en8gzqd9.fsf@esmeralda.enst.fr>
Lines: 37
X-Mailer: Gnus v5.4.64/XEmacs 20.3(beta14) - "Vienna"
From: Samuel Tardieu <sam@inf.enst.fr>
Organization: Ecole Nationale Superieure des Telecommunications
Reply-To: Samuel Tardieu <sam@inf.enst.fr>
Content-Transfer-Encoding: 8bit
Precedence: special-delivery
X-WWW: http://www-stud.enst.fr/~tardieu/
X-PGP-key: finger -l tardieu@cyclic.com
X-Mail-Processing: Sam's procmail tools

-----BEGIN PGP SIGNED MESSAGE-----

A friend of mine did signal me a problem with XEmacs 20.3b* (including 
b14, not tested on b15) which didn't occur in XEmacs 20.2.

Set your environment variable "LANG" to "fr". Start xemacs, then
gnus. Select a group, then select an article.

Gnus will be unable to display the summary buffer and the article and
barfs with "Window height 0 too small (after splitting)".

When setting "LANG" to "fr" but setting "LC_NUMERIC" to "C", the
problem does not occur. We think that XEmacs becomes confused when
reading floating point values (when localized for "fr", 1.0 spells
"1,0").

Maybe the setlocale(LC_ALL, "") should be replaced with multiple
setlocale() with specific categories (LC_COLLATE, ...)

  Sam

PS/ From setlocale() manpage: "LC_NUMERIC affects the decimal point
    character and thousands separator character for the formatted
    input/output functions and string conversion functions."
- -- 
Samuel Tardieu -- sam@inf.enst.fr

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1

iQCVAwUBM98wiYFdzKExeYBpAQGrtQP+NBnOZBmIt3FgPDhizwB9l0q9q0CFx9DE
TTsXIuRwqPFEfW5hmzNjwfmuSPSxcgc9KdGi8Xw8eljBVJuUreWCQ1f/Vth8tzxP
mAA1FD1CtB8LLfODeqVg1ttV3x2LIcCxSCYI6nZ7wk0ijGY/wY4Uh9T491c4GVzU
LASb1Rf//RM=
=pkbz
-----END PGP SIGNATURE-----

