On Fri, Aug 19, 2016 at 01:03:40PM -0500, Derek Martin wrote: > Yes. But moreover, why is setlocale being called more than once, in > different ways? It should be done in exactly two places: when Mutt > is first initialized, and when $locale is changed. In both cases, it > should be set by mutt by calling: > > setlocale(LC_ALL, ""); > > ...and absolutely nothing else.
Sorry, that's not right. In the case where Mutt has set $locale, it should obviously be called with the value of that variable. =8^) BUT... As we hopefully have seen here, setting this variable is, in general, a bad idea. I'd really love it if the manual were made to say so. I'm inclined to offer to write a patch to fix both of those things, but I'm not sure when I could get to it. -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02 -=-=-=-=- This message is posted from an invalid address. Replying to it will result in undeliverable mail due to spam prevention. Sorry for the inconvenience.
pgpD0xG2Cyw2s.pgp
Description: PGP signature
