From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.bugs Subject: bug#58193: 29.0.50; Screen flickers on with-locale-environment Date: Sat, 1 Oct 2022 09:26:28 +0200 Message-ID: References: <87wn9l3q5i.fsf@gnus.org> <87r0zs4ydz.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e7230a05e9f408bf" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10059"; mail-complaints-to="usenet@ciao.gmane.io" To: Lars Ingebrigtsen , 58193@debbugs.gnu.org, Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 01 09:28:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeWuy-0002RR-Ex for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 09:28:12 +0200 Original-Received: from localhost ([::1]:52688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeWux-0001aa-0o for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 03:28:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeWup-0001aC-12 for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 03:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeWuo-000519-Lz for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 03:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeWuo-0005s0-Gi for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 03:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pedro Andres Aranda Gutierrez Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Oct 2022 07:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58193 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 58193-submit@debbugs.gnu.org id=B58193.166460922322496 (code B ref 58193); Sat, 01 Oct 2022 07:28:02 +0000 Original-Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 07:27:03 +0000 Original-Received: from localhost ([127.0.0.1]:43570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeWtr-0005qm-8s for submit@debbugs.gnu.org; Sat, 01 Oct 2022 03:27:03 -0400 Original-Received: from mail-ed1-f49.google.com ([209.85.208.49]:41854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeWto-0005qD-IO for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 03:27:02 -0400 Original-Received: by mail-ed1-f49.google.com with SMTP id z97so8561081ede.8 for <58193@debbugs.gnu.org>; Sat, 01 Oct 2022 00:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date; bh=qGKOctYjVJq88aWS1XKg53rK2toZX0ebaZUq0Bv9hFw=; b=hIjPwOJP5gri7thDyeDf2bdAJICyxCJR/+5DdzZTDHSr9TFu5e2DBLfkVz8AXkm/Sy BYN8NFi+Lp8kEzxqBLJQqUnqw9nHDW/ujA4vpMyEJYMmP+iNvYIn1dMGFYNryst38Vrd M241/DTijbsv+zReF3OC2oMay9tWhlraWXI+hoPO9C9W7Kx7RZiuwa9qY+HVd8fRaJR1 g1QGfv9RZQjJP4USKfJ78eQf1uDhLWDQTmswVS84St0G5Baj+ISi5L/gKBKL3+D3GCOU dpJPFAKW9MnKg+kN+g3h9yogqjByvA1MNY92dZNwP7Cbh31iIHQ7rPMbS+bEsyT31Mmv vOtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date; bh=qGKOctYjVJq88aWS1XKg53rK2toZX0ebaZUq0Bv9hFw=; b=V0C5O1B/+LPKyJJIZDVOSmIRyuPqKSl5QrsIvVKtRRS4eopO3VTkOcrp6y2ulfov3K Th6Slskt/SdbL7/5nXEu9fWmL7AfrCvWubbfEXRG9Fd1zLDDZCaZzuCstcTCGGm7HeFF ekCsML2RLlf9NZx9XXOI0U3Nl/HzTwQqynXNC4JwuMs0oEvBtC4BwAnnGrehIuIvs7rI S29B00jfruEB6B1tAr/RL4hbGerK+CCKYtdXFCP0gUzMQhSL2YlzitWuzgW56NctuPmB bzZ5Y/IDlzvVuG3yCuhaetkvljaDS1uP7mW5qq/g5936rTUdHwHsi/mCMntbPl7lSgSk C8WA== X-Gm-Message-State: ACrzQf1pBM+CBsqI3A+n12JDHZbTUpZDYgFf72NxQ0Kzj5sXpqx17Yrf uOzjzDwu6vCRuW8BowNSVCChUFVB+xUEUXeHJBI= X-Google-Smtp-Source: AMsMyM6Thz+eRE+kjoeCaSpszWSLEm4KdSORQ4P4rDO4880cgp1l43FXWb4MEyHthvo+zbdiPJORttmFdBtfXfbDE7A= X-Received: by 2002:a05:6402:1944:b0:457:fed7:5c30 with SMTP id f4-20020a056402194400b00457fed75c30mr10378425edz.278.1664609214209; Sat, 01 Oct 2022 00:26:54 -0700 (PDT) In-Reply-To: <87r0zs4ydz.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244085 Archived-At: --000000000000e7230a05e9f408bf Content-Type: text/plain; charset="UTF-8" That seems to work. And I don't see any flicker on a text mode screen (inside a VM)... checking on a graphic screen I do see the flickering :( but it works. Yesterday was a long day ... Best, /PA On Fri, 30 Sept 2022 at 18:31, Lars Ingebrigtsen wrote: > Pedro Andres Aranda Gutierrez writes: > > > It doesn't flicker... but it doesn't seem to change the locale either... > > I tried > > > > (message > > > (with-locale-environment "es_ES.utf8" > > > (format-time-string ";; %a, %d %b %Y %H:%m:%S %z"))) > > > > and > > > > (message > > > (with-locale-environment "C" > > > (format-time-string ";; %a, %d %b %Y %H:%m:%S %z"))) > > > > And in both cases I get the "C" locale :( > > Before the strings were correctly generated > > Does > > (message > > (with-locale-environment "es_ES.UTF-8" > (format-time-string ";; %a, %d %b %Y %H:%m:%S %z"))) > > work better? If not, do you have the "es_ES.UTF-8" locale in your > environment? > > In any case, with this recipe (i.e., the `message' around the > `with-locale--' I can reproduce the flashing, even after the fix. :-/ > But I get > > ;; vie, 30 sep 2022 18:09:18 +0200 > -- 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 --000000000000e7230a05e9f408bf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That seems to work. And I don't see any flicker on a t= ext mode screen (inside a VM)...=C2=A0
checking on a graphic screen I d= o see the flickering :( but it works.

Yesterday wa= s a long day ...
Best, /PA

On Fri, 30 Sept 2022 at 18:31, La= rs Ingebrigtsen <larsi@gnus.org>= ; wrote:
Pedro A= ndres Aranda Gutierrez <paaguti@gmail.com> writes:

> It doesn't flicker... but it doesn't seem to change the locale= either...
> I tried
>
> (message=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
>=C2=A0 (with-locale-environment "es_ES.utf8"=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0
>=C2=A0 =C2=A0 (format-time-string ";; %a, %d %b %Y %H:%m:%S %z&quo= t;)))
>
> and
>
> (message=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
>=C2=A0 (with-locale-environment "C"=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 (format-time-string ";; %a, %d %b %Y %H:%m:%S %z&quo= t;)))
>
> And in both cases I get the "C" locale :(
> Before the strings were correctly generated

Does

(message=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
=C2=A0(with-locale-environment "es_ES.UTF-8"
=C2=A0 =C2=A0(format-time-string ";; %a, %d %b %Y %H:%m:%S %z")))=

work better?=C2=A0 If not, do you have the "es_ES.UTF-8" locale i= n your
environment?

In any case, with this recipe (i.e., the `message' around the
`with-locale--' I can reproduce the flashing, even after the fix.=C2=A0= :-/
But I get

;; vie, 30 sep 2022 18:09:18 +0200


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

Headach= es with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.u= niter.operation we should run a leader-deposed hook here, but we can't = yet

--000000000000e7230a05e9f408bf--