GNU bug report logs - #58193
29.0.50; Screen flickers on with-locale-environment

Previous Next

Package: emacs;

Reported by: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>

Date: Fri, 30 Sep 2022 13:07:01 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: larsi <at> gnus.org, 58193 <at> debbugs.gnu.org
Subject: bug#58193: 29.0.50; Screen flickers on with-locale-environment
Date: Mon, 3 Oct 2022 18:47:45 +0200
[Message part 1 (text/plain, inline)]
HI Eli,

there's nothing wrong, really. The thing is that you may want to change it
just for one call of format-time-string
(or at least I wanted it) without having to change it permanently.

BTW am I missing something .. would your let just change the value of
system-time-locale in the body of the let and then restore it to its
original value?

/PA

Best, /PA

On Mon, 3 Oct 2022 at 18:38, Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>
> > Date: Mon, 3 Oct 2022 07:37:56 +0200
> > Cc: Eli Zaretskii <eliz <at> gnu.org>, 58193 <at> debbugs.gnu.org
> >
> > 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 ....))
>
>

-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet
[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 287 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.