zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: math and locale
Date: Mon, 22 Nov 1999 18:23:20 +0000	[thread overview]
Message-ID: <991122182320.ZM22621@candle.brasslantern.com> (raw)
In-Reply-To: <19991122094238.A5609@dman.com>

On Nov 22,  9:42am, Clint Adams wrote:
} Subject: Re: PATCH: math and locale
}
} > I am mostly concerned about things like re-opening (or worse, reading) of
} > external locale-definition files.
} 
} So if the locale is "C" or "POSIX" don't make the second setlocale
} call.  Or is there a better solution?

I'm hoping someone more familiar with it will tell us.  Maybe there isn't 
anyone more familiar with it on the mailing list ...  In the meantime,
it's OK as is.

} > (1) That it's more likely to be supported correctly, and (2) that it is
} > after all C-like expression parsing that math.c is attempting to peform.
} 
} Fair enough.

Glancing through /usr/X11R6/lib/X11/locale/locale.alias I see that the
"POSIX" locale is an alias for the "C" locale, so it probably doesn't
really matter either way.  Anyone else have an opinion?  Zefram, perhaps?

} > Where *exactly* would LC_NUMERIC make any difference in pws-9 ?
} 
} Anywhere LC_ALL would, except for zzlex now.  What are you asking?

I'm trying to come up with a circumstance in which zsh would "print" or
otherwise output a number in a format that zzlex would then fail to read.
I tried setting LC_ALL to a few different things and then doing "echo $x"
where x is a floating-point parameter, but it never changed anything.
Where else might it matter?  Output of process times or cpu percentages?
Can we make an exhaustive list?  Or am I worrying about it too much?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


  reply	other threads:[~1999-11-22 18:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-20 20:18 Clint Adams
1999-11-20 20:53 ` Bart Schaefer
1999-11-21 18:14   ` Clint Adams
1999-11-22  8:17     ` Bart Schaefer
1999-11-22 14:42       ` Clint Adams
1999-11-22 18:23         ` Bart Schaefer [this message]
1999-11-22 19:36           ` Clint Adams
1999-11-22 20:03           ` Zefram
1999-11-23 18:18             ` Bart Schaefer
1999-11-26 22:08             ` Peter Stephenson

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

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

  git send-email \
    --in-reply-to=991122182320.ZM22621@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /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.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).