Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment

From: Eli Zaretskii <[email-masked]>
Date: Mon, 03 Oct 2022 19:38:28 +0300

> From: Pedro Andres Aranda Gutierrez <[email-masked]>
> Date: Mon, 3 Oct 2022 07:37:56 +0200
> Cc: Eli Zaretskii <[email-masked]>, [email-masked]
> 
> On that side good. On the other hand, I still think that a macro only controlling the system-locale for the time
> functions may be useful despite, I admit, being somehow redundant. My feeling is that many of the settings
> changed in with-locale-environment don't need to be changed for format-time-string. 

What's wrong with

  (let ((system-time-local SOME-LOCALE))
     DO-SOMETHING)

> Digression: What about adding a third (optional) parameter to format-time-string to set the locale for a
> specific call?

How is that different from

   (let ((system-time-local SOME-LOCALE))
     (format-time-string ....))