From unknown Fri Aug 15 03:38:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#58193 <58193@debbugs.gnu.org> To: bug#58193 <58193@debbugs.gnu.org> Subject: Status: 29.0.50; Screen flickers on with-locale-environment Reply-To: bug#58193 <58193@debbugs.gnu.org> Date: Fri, 15 Aug 2025 10:38:10 +0000 retitle 58193 29.0.50; Screen flickers on with-locale-environment reassign 58193 emacs submitter 58193 Pedro Andres Aranda Gutierrez severity 58193 normal tag 58193 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 09:06:11 2022 Received: (at submit) by debbugs.gnu.org; 30 Sep 2022 13:06:11 +0000 Received: from localhost ([127.0.0.1]:40764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeFiS-0004Gq-PP for submit@debbugs.gnu.org; Fri, 30 Sep 2022 09:06:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:41624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeFiP-0004Ge-Ac for submit@debbugs.gnu.org; Fri, 30 Sep 2022 09:06:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeFiP-0002SR-5Y for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 09:06:05 -0400 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:39885) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeFiM-0001gs-US for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 09:06:04 -0400 Received: by mail-ej1-x631.google.com with SMTP id b2so8912326eja.6 for ; Fri, 30 Sep 2022 06:06:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=qA4+vu4FzZgk1oga873NaJTEfCLN2CdRt2Mb/eABEbc=; b=lm/cZ1kSsGb1kAPZvHFUgcEiyhCyvirsWoEuMW7WarEOV5A6AIO/AqXEFeOmALY74C Ff+5Monj0tRSpMTOiM2mhT1ZOFcqDjzWNNdZARh4UOFnDtei+MJ/0jNrjNnjGvinK/M8 QcAM21Vdjon6mMcnrPsglAFhzP126BaEQGyN9uDH/2THVvZgzP/+wd4IjQhQdpNyzclp AzbnTLAGVEPfFnscluhaDyxSPbzylMpAc6VRf9HmzM462p650/StQDO2T2GhxOXl3/o8 EJTtsgoLdy3SpbjxSsJTd6AiEnJlH6Ecy0FViQDien+K50d1sxaoNJLVzTlAgw1ALwER WK+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=qA4+vu4FzZgk1oga873NaJTEfCLN2CdRt2Mb/eABEbc=; b=H3YRsHMufutJoXieMlJUv8mBig/M0LR2zfRyXI80GqWJ94LjVYUtOq89H1KBrdHl96 8ooDOrPbXif0d8S2HzcVZPCMNcSuN/sJXC1aob5F+CPMA52h1TwQ1uBJwcRCMNqgTROD vnj8ssnUYq2QLWCSX+TxRgal0M2JnDioJeAYgB0nq6uGCGTIj9W+HE/f19go4EyRKAy9 aSP6aOnBmRVeQDb77dLB695qHfmAxBL+FCAX2oj0p9ckrSM2dLSRvXB/g9i6p5NTa8iP lJ0lxUb75JHNR+hpkOFIh0djbsoQZxGI5hV6N3TVxsXrc0Zw8FG1AY2glQ5NYsmiaQ+6 qA5w== X-Gm-Message-State: ACrzQf0yX85MM4jiqdVqXdnhm4laABEl7OZssSbiwODa9xSnBIwvXp7p oA193w7jjuXAJ8VvDkJT/z091HbjodyJfslTJt8FU4XRWzQ9Sw== X-Google-Smtp-Source: AMsMyM7KAlAf2P/fvImIp5qYg8LiM46qb+GZOrYs/BRSoS7F6c0tJmSDGWNG2Gvsh2eWyx6K0dGIoMYq2UxHYYc9mpE= X-Received: by 2002:a17:907:7f0e:b0:783:93a3:791f with SMTP id qf14-20020a1709077f0e00b0078393a3791fmr6199764ejc.59.1664543160306; Fri, 30 Sep 2022 06:06:00 -0700 (PDT) MIME-Version: 1.0 From: Pedro Andres Aranda Gutierrez Date: Fri, 30 Sep 2022 15:05:34 +0200 Message-ID: Subject: 29.0.50; Screen flickers on with-locale-environment To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000c890eb05e9e4a739" Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=paaguti@gmail.com; helo=mail-ej1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000c890eb05e9e4a739 Content-Type: text/plain; charset="UTF-8" Include the following code in *scratch* (with-locale-environment "C" (insert (format-time-string ";; %a, %d %b %Y %H:%m:%S %z"))) Evaluate with C-c C-e and experience a screen flicker In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-09-25 built on emacs29 Repository revision: d98ee767765032acc7f8f14c86dcbbfb67dbcaee Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Ubuntu 20.04.5 LTS Configured using: 'configure --prefix=/usr --program-suffix=29 --with-json --with-x --with-x-toolkit=gtk3 --with-cairo --with-compress-install --with-modules=yes --with-threads --with-included-regex --with-zlib --with-native-compilation 'CFLAGS=-g -O2 -fdebug-prefix-map=/home/paag/emacs=. -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_MONETARY: es_ES.UTF-8 value of $LC_NUMERIC: es_ES.UTF-8 value of $LC_TIME: es_ES.UTF-8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cconv cl-lib rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 78797 7326) (symbols 48 7139 0) (strings 32 19737 1932) (string-bytes 1 573331) (vectors 16 15678) (vector-slots 8 321210 11742) (floats 8 29 58) (intervals 56 402 1) (buffers 1000 12)) -- 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 --000000000000c890eb05e9e4a739 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Include the following= code in *scratch*

(with-locale-environment "= C"
=C2=A0 (insert (format-time-string ";; %a, %d %b %Y = %H:%m:%S %z")))

Evaluate with C-c C-e and exp= erience a screen flicker


In GNU Ema= cs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
=C2=A03.24= .20, cairo version 1.16.0) of 2022-09-25 built on emacs29
Reposit= ory revision: d98ee767765032acc7f8f14c86dcbbfb67dbcaee
Repository= branch: master
Windowing system distributor 'The X.Org Found= ation', version 11.0.12013000
System Description: Ubuntu 20.0= 4.5 LTS

Configured using:
=C2=A0'con= figure --prefix=3D/usr --program-suffix=3D29 --with-json --with-x
=C2=A0--with-x-toolkit=3Dgtk3 --with-cairo --with-compress-install
=C2=A0--with-modules=3Dyes --with-threads --with-included-regex --with-z= lib
=C2=A0--with-native-compilation 'CFLAGS=3D-g -O2
=C2=A0-fdebug-prefix-map=3D/home/paag/emacs=3D. -fstack-protector-strong = -Wformat
=C2=A0-Werror=3Dformat-security' 'CPPFLAGS=3D-Wd= ate-time -D_FORTIFY_SOURCE=3D2'
=C2=A0'LDFLAGS=3D-Wl,-Bsy= mbolic-functions -Wl,-z,relro''

Configured= features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARF= BUZZ JPEG JSON
LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOT= IFY PDUMPER PNG
SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X1= 1 XDBE XIM XINPUT2 XPM
GTK3 ZLIB

Importa= nt settings:
=C2=A0 value of $LC_MONETARY: es_ES.UTF-8
= =C2=A0 value of $LC_NUMERIC: es_ES.UTF-8
=C2=A0 value of $LC_TIME= : es_ES.UTF-8
=C2=A0 value of $LANG: en_GB.UTF-8
=C2=A0= value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: ut= f-8-unix

Major mode: Lisp Interaction
Minor modes in effect:
=C2=A0 tooltip-mode: t
<= div>=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
= =C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
= =C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 line-number-mode: t
=C2=A0 indent-tabs-mode: t
=C2=A0 transient-mark-mode: t
=
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode:= t
=C2=A0 auto-compression-mode: t

Load-= path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired=
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg= rfc6068
epg-config gnus-util text-property-search mm-decode mm-b= odies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheade= r sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-uti= ls time-date cl-loaddefs
comp comp-cstr warnings icons subr-x rx = cl-seq cl-macs gv cl-extra
help-mode bytecomp byte-compile cconv = cl-lib rmc iso-transl tooltip
eldoc paren electric uniquify ediff= -hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-win x-win= term/common-win x-dnd tool-bar dnd
fontset image regexp-opt frin= ge tabulated-list replace newcomment
text-mode lisp-mode prog-mod= e register page tab-bar menu-bar rfn-eshadow
isearch easymenu tim= er select scroll-bar mouse jit-lock font-lock syntax
font-core te= rm/tty-colors frame minibuffer nadvice seq simple cl-generic
indo= nesian philippine cham georgian utf-8-lang misc-lang vietnamese
t= ibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
=
composite emoji-zwj charscript charprop case-table epa-hook
= jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
faces cus-face macroexp files window text-properties overlay sha1 md= 5
base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dyn= amic-setting system-font-setting font-render-setting cairo
move-t= oolbar gtk x-toolkit xinput2 x multi-tty make-network-process
nat= ive-compile emacs)

Memory information:
(= (conses 16 78797 7326)
=C2=A0(symbols 48 7139 0)
=C2=A0= (strings 32 19737 1932)
=C2=A0(string-bytes 1 573331)
= =C2=A0(vectors 16 15678)
=C2=A0(vector-slots 8 321210 11742)
=C2=A0(floats 8 29 58)
=C2=A0(intervals 56 402 1)
=C2=A0(buffers 1000 12))

--
Frage= n sind nicht da um beantwortet zu werden,
Fragen sind da um gestel= lt zu werden
Georg Kreisler

Headaches wit= h 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
--000000000000c890eb05e9e4a739-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 09:50:43 2022 Received: (at 58193) by debbugs.gnu.org; 30 Sep 2022 13:50:43 +0000 Received: from localhost ([127.0.0.1]:40897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeGPb-0003aB-Jv for submit@debbugs.gnu.org; Fri, 30 Sep 2022 09:50:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeGPZ-0003Zx-5f for 58193@debbugs.gnu.org; Fri, 30 Sep 2022 09:50:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeGPS-0000t9-VJ; Fri, 30 Sep 2022 09:50:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=gzYT7eBQKJvwcbc8suUOEA5zl2f16GiFBx8ogAEvLoc=; b=DZsIClielQ8/ SEaTdJ4RC/8gVZSmSdByeHMSkdJZ/lL3MNARE2mXd/BQx+IUq3cYHpGqmV5BHlgq/e7zzAnqpRyEZ uc3L8luxND6jdunJCBUAys9LLdcu9UOBroHBGXOFTBES7MGlfjsOLLRxA67022iYW5g4da0pn+m/N 2zIOetaMaB5Knoz8okvyP3C30Efliq0N+wx1KFYlo1JN4mQzleabNSB3w1nGkKl5qrBgBC88YOny/ v1MUnMPeA+Byl/5SygLceQt/Z2QYUok/Jec6ht0zG0lCaFay+LcQpFDdv+7PLTeOtaIm2VI6Et4xk y3gOXuYHbNZo4Cymx+mZjg==; Received: from [87.69.77.57] (port=2823 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeGPR-0005Jj-Ka; Fri, 30 Sep 2022 09:50:34 -0400 Date: Fri, 30 Sep 2022 16:50:19 +0300 Message-Id: <834jwpdl9g.fsf@gnu.org> From: Eli Zaretskii To: Pedro Andres Aranda Gutierrez In-Reply-To: (message from Pedro Andres Aranda Gutierrez on Fri, 30 Sep 2022 15:05:34 +0200) Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Pedro Andres Aranda Gutierrez > Date: Fri, 30 Sep 2022 15:05:34 +0200 > > Include the following code in *scratch* > > (with-locale-environment "C" > (insert (format-time-string ";; %a, %d %b %Y %H:%m:%S %z"))) > > Evaluate with C-c C-e and experience a screen flicker with-locale-environment calls set-terminal-coding-system, which calls redraw-frame. That's the reason you see the flicker. I see no bug here, FWIW. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 10:15:00 2022 Received: (at 58193) by debbugs.gnu.org; 30 Sep 2022 14:15:00 +0000 Received: from localhost ([127.0.0.1]:42593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeGn6-0006qb-IA for submit@debbugs.gnu.org; Fri, 30 Sep 2022 10:15:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeGn5-0006qM-06 for 58193@debbugs.gnu.org; Fri, 30 Sep 2022 10:14:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cmL/hZkZto25Ni7RNqIgi28Q6ctGA7Pk04gQOc0A7yo=; b=NggLg1Lggdjaqtq+W0VwDCrunN HF89g47WNyzgBOn4ewRmSJtMQvdnNbetyeBiB1qRNvIk1hhthJOoFHrUZZ/jQ7if0R9IYRjbs6tAw Tnz5bHcvXBQ7GT4cNOt2cYCcTNGMadkLTSaZqsEQFryo4PDUXwZlAICZgqPkWqYy7R3g=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeGmw-0000nP-GF; Fri, 30 Sep 2022 16:14:52 +0200 From: Lars Ingebrigtsen To: Pedro Andres Aranda Gutierrez Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment In-Reply-To: (Pedro Andres Aranda Gutierrez's message of "Fri, 30 Sep 2022 15:05:34 +0200") References: X-Now-Playing: Elvin Brandi & Ecko Bazz's _L'Esprit de Nyege 2020_: "PPitfall" Date: Fri, 30 Sep 2022 16:14:49 +0200 Message-ID: <87wn9l3q5i.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Pedro Andres Aranda Gutierrez writes: > Include the following code in *scratch* > > (with-locale-environment "C" > (insert (format-time-string ";; %a, %d %b %Y %H:%m:%S %z"))) > > Evaluate with C-c C-e and experience a screen flicker Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Pedro Andres Aranda Gutierrez writes: > Include the following code in *scratch* > > (with-locale-environment "C" > (insert (format-time-string ";; %a, %d %b %Y %H:%m:%S %z"))) > > Evaluate with C-c C-e and experience a screen flicker I think I've now fixed this -- can you test? (I don't see the flicker myself.) From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 10:15:06 2022 Received: (at control) by debbugs.gnu.org; 30 Sep 2022 14:15:06 +0000 Received: from localhost ([127.0.0.1]:42597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeGnB-0006ra-RE for submit@debbugs.gnu.org; Fri, 30 Sep 2022 10:15:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeGnA-0006qT-7B for control@debbugs.gnu.org; Fri, 30 Sep 2022 10:15:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Pj7urcmZJvojAW5U3ZLhD6nYlAyBDPIwzBIU/Eqr1XY=; b=BYBCqmtYRvq9oamYFVjUFftDXm EoiLWmElAasGt6iD8fiIS1Gp18efRV7F2Svv/lPqfS7A9AxRyFU4t7fB+6vxcV+/mR7ReSSXU/aWU nW9WPIJjvg/LPiMOA3k/ZM5QjJ28mPxLls7Le4cQduuzs+mf2aQSwWF7kDMxPy8/j2EU=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeGn2-0000nX-Ag for control@debbugs.gnu.org; Fri, 30 Sep 2022 16:14:58 +0200 Date: Fri, 30 Sep 2022 16:14:53 +0200 Message-Id: <87v8p53q5e.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #58193 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 58193 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 58193 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 11:43:36 2022 Received: (at 58193) by debbugs.gnu.org; 30 Sep 2022 15:43:36 +0000 Received: from localhost ([127.0.0.1]:42697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeIAq-0002tg-7s for submit@debbugs.gnu.org; Fri, 30 Sep 2022 11:43:36 -0400 Received: from mail-ed1-f51.google.com ([209.85.208.51]:46826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeIAn-0002tT-IJ for 58193@debbugs.gnu.org; Fri, 30 Sep 2022 11:43:35 -0400 Received: by mail-ed1-f51.google.com with SMTP id m15so6465235edb.13 for <58193@debbugs.gnu.org>; Fri, 30 Sep 2022 08:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=Ktb8ZRj6lhwbOF0ZFgdh4bP+/n5+s0YAY/kCXRZsEMY=; b=G0Wxg/SKGgKnlE4SBiXsk5Bub3Q8Hjf04JLulv02m82xRP29K9ldUer3pD7ck6KyFA E0c9gw3SiPJ9Dj6ZOMNYD5dQBusn9HnHN4/fNfiQnb4hksgda3x85mVZGA3Lfi1a2HYO iHndIY/Ot1mKWVid3PT6bN8+KeiyNM58Qh5sYs8JH9xJAXhDfd/KPqkPlJ02N+BE/+zC lLCeSCs5uFCTUTxYEkW8Wx4ILJggvotep8RlD7BGjvmmNy1zHm65bg+r/izoPkKioqNO X63PRwbtm9gj1wDlFS6wOQ52bnm14FCyr+A7W+QMrNc5HzYEqfwISxtoBBEIO72SSYyY SdmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=Ktb8ZRj6lhwbOF0ZFgdh4bP+/n5+s0YAY/kCXRZsEMY=; b=jTnZYJSJSfj+yTcULBl0ZVQ8NNsBZfhxe2CE92JN0mDFE601Y/XPE3s3lYzQ+dlkBz dafArcAcj5XsGnOEC3mv/QFtHh3AuW4nLRJjLGCPNzzeqq1t5qWWa3irpK05oM/qi21Z 1L3ez1qivAXkM6tqiAnxBSo3t7fg2mgkcVArrf+TwZtBLmA5TVFh5eDBnpcK+PdxaQ+p wE7xL5c/w2wGD0HSKsUB9+aZEJyLL6itqccsnSfxeis8VU+WTGj78NFv3CeprgUD9cma sL8nHavc4bWmdZ0+AQMVLnzxqYp/R8lrKOWrFEbNUj1XYro9bw1t1+iJZ0x+zbQ95lty INTw== X-Gm-Message-State: ACrzQf2WCDpwlN6atDocT79zVEhmktOseOpB7UELYx4NWGdMn63BwZky 0IQAsb7eEw5y2frc708vhPH0r9K5EEt2g3VtABk= X-Google-Smtp-Source: AMsMyM5d5sagGh+EYB5RG1I0Yv2M/f7pd9Xj/PsxaG9tnjzYspqKxe7BsCOZmuvyGUL7Mu/STDxMSXq5As/6Bl9MmTc= X-Received: by 2002:a05:6402:185:b0:457:1489:d5fc with SMTP id r5-20020a056402018500b004571489d5fcmr8000533edv.168.1664552607341; Fri, 30 Sep 2022 08:43:27 -0700 (PDT) MIME-Version: 1.0 References: <87wn9l3q5i.fsf@gnus.org> In-Reply-To: <87wn9l3q5i.fsf@gnus.org> From: Pedro Andres Aranda Gutierrez Date: Fri, 30 Sep 2022 17:43:01 +0200 Message-ID: Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment To: Lars Ingebrigtsen Content-Type: multipart/alternative; boundary="000000000000dee29905e9e6dafd" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58193 Cc: 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000dee29905e9e6dafd Content-Type: text/plain; charset="UTF-8" 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 Thanks for the patience, /PA On Fri, 30 Sept 2022 at 16:14, Lars Ingebrigtsen wrote: > Pedro Andres Aranda Gutierrez writes: > > > Include the following code in *scratch* > > > > (with-locale-environment "C" > > (insert (format-time-string ";; %a, %d %b %Y %H:%m:%S %z"))) > > > > Evaluate with C-c C-e and experience a screen flicker > > I think I've now fixed this -- can you test? (I don't see the flicker > myself.) > -- 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 --000000000000dee29905e9e6dafd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It does= n't flicker... but it doesn't seem to change the locale either...= =C2=A0
I tried

(m= essage=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 =C2=A0(format-tim= e-string ";; %a, %d %b %Y %H:%m:%S %z")))=C2=A0
<= br>
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 =C2=A0(format-time-string ";; %a, %d %b = %Y %H:%m:%S %z")))=C2=A0

And in both ca= ses I get the "C" locale :(
Before the strings were cor= rectly generated

Thanks for the patience, /PA

On Fri, 30 Sept 2022 at 16:14, Lars Ingebrigtsen <larsi@gnus.org> wrote:
Pedro Andres Aranda Gutierrez = <paaguti@gmail.co= m> writes:

> Include the following code in *scratch*
>
> (with-locale-environment "C"
>=C2=A0 =C2=A0(insert (format-time-string ";; %a, %d %b %Y %H:%m:%S= %z")))
>
> Evaluate with C-c C-e and experience a screen flicker

I think I've now fixed this -- can you test?=C2=A0 (I don't see the= flicker
myself.)


--
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

--000000000000dee29905e9e6dafd-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 12:31:48 2022 Received: (at 58193) by debbugs.gnu.org; 30 Sep 2022 16:31:49 +0000 Received: from localhost ([127.0.0.1]:42778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeIvU-0004BB-MZ for submit@debbugs.gnu.org; Fri, 30 Sep 2022 12:31:48 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeIvS-0004Ax-C4 for 58193@debbugs.gnu.org; Fri, 30 Sep 2022 12:31:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VxtvGI8Ix/u+3pmh3Ixw3tYQBEcuPqX7e3dxwrFB4oU=; b=LA2dBLDZ0bIqu2UF+fy+4ig/us Mxun5ljwp49ow+fFMP18xqRVfafCgyF7BprIkB8fr1EpwLXc2ELOCOhrFEfX412djW3mRCt99eCST gLjXWt05QcG4NVrSIRyynKxk8lJrKIIW26UjW0bG3VU7BNnkndhEyWPHLGoSftwieBj4=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeIvJ-0002BP-Mh; Fri, 30 Sep 2022 18:31:39 +0200 From: Lars Ingebrigtsen To: Pedro Andres Aranda Gutierrez Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment In-Reply-To: (Pedro Andres Aranda Gutierrez's message of "Fri, 30 Sep 2022 17:43:01 +0200") References: <87wn9l3q5i.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEX9/f3R0daspqKZ gmpXT0smISX///9Gt9VNAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+YJHhAaICZ6aYEAAAGESURBVDjL rZRNmoIwDIYBPcC0Mnttda+07AdIDjCQ3v8qk7ZYWnSe2Uw28uQ1PyRfqKo/rZaXj3du69imF9Sg C0bnnd8lK0iNG6A8281lNr9NVCa7lSCF1G5nzyqfsegGvleA+wgqSuNLriM/QQm+AmjZq3pfArAo opQGdSNHxigbwRIA/3OUHGE4susjedaeJeKMD6HQYKp+4N/h6tAOQkhNmKbim+paIhBslz6C+wqo p2X0QF4x9XuckLiZ5eGBOG0vciSclUXHoKqFzIBzo5yEPouPF9BpMMK3LgIAeALNjzT4AHEiP7cA GkeSwdpVu7Xb0HyxHKFDV7ZPL1i7UfmxmsFnmrKFIBieL4w8KwnXsLK4wttkrOUqBgBMXH7UyUFd w4ao0xojiBtsRgu5FDBJDiGTjiPOWOgq8z91lUmX9wSZePvknwzCKoVq3e5qE2/gvt1BnyfbAtYq UW5U3lrrXY8gt6G8Tj+jRfFEHvt7PsVEyV9nHwbW7naxdfWL/Sf4AfWXwTK4WDWxAAAAJXRFWHRk YXRlOmNyZWF0ZQAyMDIyLTA5LTMwVDE2OjI2OjMyKzAwOjAw3p2IzAAAACV0RVh0ZGF0ZTptb2Rp ZnkAMjAyMi0wOS0zMFQxNjoyNjozMiswMDowMK/AMHAAAAAASUVORK5CYII= X-Now-Playing: DJ Rupture's _Uproot (The Ingredients)_: "Cassava" Date: Fri, 30 Sep 2022 18:31:36 +0200 Message-ID: <87r0zs4ydz.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 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 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 13:32:08 2022 Received: (at 58193) by debbugs.gnu.org; 30 Sep 2022 17:32:08 +0000 Received: from localhost ([127.0.0.1]:42845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeJrr-0005hl-OJ for submit@debbugs.gnu.org; Fri, 30 Sep 2022 13:32:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeJrn-0005hE-8y for 58193@debbugs.gnu.org; Fri, 30 Sep 2022 13:32:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeJrd-0004Qv-51; Fri, 30 Sep 2022 13:31:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=F5sFlZlk5a5UAXlUQyhMx2JUJjHQZIfSEw/KPMBfnHc=; b=Sx72qDnD7dc8 SGsVehfoj+9+1HZU54RiPTASFw1M2niaOJedTHu7/ZWzEQoKfOHRsTe7BN3zoVVHpqPLixASe3NOg MwROwTnA8HXswcfuNgpPlZyFVn6GbUfZ8gMGeR3dXQnmjj9Gyz6r4dn7PHakztYF8uQNlDmXCfRlF a6zHbXgRcLwRp7znKtpiGePihYlUR7sURIJSy4WNIJukxf4dsySnn4GyChSvpXCEbpcahLXECTXfz gDj7Wbww1KVrYeGZ2M9vumo1jgFiFatWhztAXBoKg0iMSuHGGRrKBL8bZQZnuaDQS+WBhlLmN6zr/ 35Rt+n0xjOb/bYv5UuZVew==; Received: from [87.69.77.57] (port=4401 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeJrb-0006mE-Kn; Fri, 30 Sep 2022 13:31:52 -0400 Date: Fri, 30 Sep 2022 20:31:37 +0300 Message-Id: <83sfk8db0m.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87wn9l3q5i.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 30 Sep 2022 16:14:49 +0200) Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment References: <87wn9l3q5i.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: 58193@debbugs.gnu.org, paaguti@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 58193@debbugs.gnu.org > From: Lars Ingebrigtsen > Date: Fri, 30 Sep 2022 16:14:49 +0200 > > Pedro Andres Aranda Gutierrez writes: > > > Include the following code in *scratch* > > > > (with-locale-environment "C" > > (insert (format-time-string ";; %a, %d %b %Y %H:%m:%S %z"))) > > > > Evaluate with C-c C-e and experience a screen flicker > > I think I've now fixed this -- can you test? (I don't see the flicker > myself.) I'd rather leave the decision whether to redraw or not to the caller. I don't see how we can safely assume that the caller never wants to actually use the locale's settings for something display-oriented. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 13:34:31 2022 Received: (at 58193) by debbugs.gnu.org; 30 Sep 2022 17:34:31 +0000 Received: from localhost ([127.0.0.1]:42849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeJuB-0005kv-8f for submit@debbugs.gnu.org; Fri, 30 Sep 2022 13:34:31 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeJu7-0005kd-8h for 58193@debbugs.gnu.org; Fri, 30 Sep 2022 13:34:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/SKxqf0AIRJv0s0Kl9H1TGdIXilK5PX292pY80PeooU=; b=A75EP2iMcnmZCguYV+PBbowJKU O7/r470suIT/3sY4Wkt3Bme2OC+Z8uwzwMMXGraD9dWGMaSNWwzJcsFemIOh311XQFmAHvxn+RjiM GyWe4Im1If3mG6+Qnmhj+Z03ODTP/T3sYRZ0J8Ps8C4TJz5w3wGv+406fxHAJzy0fewc=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeJty-0002bI-1M; Fri, 30 Sep 2022 19:34:20 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment In-Reply-To: <83sfk8db0m.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 30 Sep 2022 20:31:37 +0300") References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEX9/f3R0daspqKZ gmpXT0smISX///9Gt9VNAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+YJHhAaICZ6aYEAAAGESURBVDjL rZRNmoIwDIYBPcC0Mnttda+07AdIDjCQ3v8qk7ZYWnSe2Uw28uQ1PyRfqKo/rZaXj3du69imF9Sg C0bnnd8lK0iNG6A8281lNr9NVCa7lSCF1G5nzyqfsegGvleA+wgqSuNLriM/QQm+AmjZq3pfArAo opQGdSNHxigbwRIA/3OUHGE4susjedaeJeKMD6HQYKp+4N/h6tAOQkhNmKbim+paIhBslz6C+wqo p2X0QF4x9XuckLiZ5eGBOG0vciSclUXHoKqFzIBzo5yEPouPF9BpMMK3LgIAeALNjzT4AHEiP7cA GkeSwdpVu7Xb0HyxHKFDV7ZPL1i7UfmxmsFnmrKFIBieL4w8KwnXsLK4wttkrOUqBgBMXH7UyUFd w4ao0xojiBtsRgu5FDBJDiGTjiPOWOgq8z91lUmX9wSZePvknwzCKoVq3e5qE2/gvt1BnyfbAtYq UW5U3lrrXY8gt6G8Tj+jRfFEHvt7PsVEyV9nHwbW7naxdfWL/Sf4AfWXwTK4WDWxAAAAJXRFWHRk YXRlOmNyZWF0ZQAyMDIyLTA5LTMwVDE2OjI2OjMyKzAwOjAw3p2IzAAAACV0RVh0ZGF0ZTptb2Rp ZnkAMjAyMi0wOS0zMFQxNjoyNjozMiswMDowMK/AMHAAAAAASUVORK5CYII= X-Now-Playing: DJ Rupture's _Uproot (The Ingredients)_: "Plays John Cassavettes pt. 2" Date: Fri, 30 Sep 2022 19:34:17 +0200 Message-ID: <87mtag4vhi.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > I'd rather leave the decision whether to redraw or not to the caller. > I don't see how we can safely assume that the caller never wants to > actually use the locale's settings for something display [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: 58193@debbugs.gnu.org, paaguti@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > I'd rather leave the decision whether to redraw or not to the caller. > I don't see how we can safely assume that the caller never wants to > actually use the locale's settings for something display-oriented. That's what this does. If the caller wants to redraw, the caller should call `redraw-frame' in the body of that macro. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 13:41:02 2022 Received: (at 58193) by debbugs.gnu.org; 30 Sep 2022 17:41:02 +0000 Received: from localhost ([127.0.0.1]:42854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeK0U-0005uT-4H for submit@debbugs.gnu.org; Fri, 30 Sep 2022 13:41:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeK0S-0005ts-Vu for 58193@debbugs.gnu.org; Fri, 30 Sep 2022 13:41:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeK0M-0005lQ-Rv; Fri, 30 Sep 2022 13:40:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=STFlIGHP5fYIvOyHeMxC4ZgMHI+lRwSDCqNrA+kViOs=; b=NuA3JTKJLJi2 moilScAE4P9omc5WEIHAuB2ry+r2Z7/m6v49K+Rdvb1nX6HQwWADN6844lCQ1zfqAhzrFX+I+V3l+ ZdB6oG8eliZD5hdjRx5oj1GK/GmL36lXeI8+SSePfdZ9BZ15XCNVkruWnIhRPXohK9SXPq3c0NB02 yIv+o8PhlZ4lv7iuop+9i+c5/5KOP4gwiPV7MtdG2T9xvMDP58L/ixtT1o812bhoBfBceLLMwhQ9z qiNrMRlIhoGXgqSihGxl0xPP2R/D7k9R92pKnnACHicKDnHfkjgDSwcb5YqIUlbkgW2f0iIYV40E2 8X/OJuB7XqWgNEbahgvX4g==; Received: from [87.69.77.57] (port=4960 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeK0K-0006do-7f; Fri, 30 Sep 2022 13:40:52 -0400 Date: Fri, 30 Sep 2022 20:40:38 +0300 Message-Id: <83mtagdall.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87mtag4vhi.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 30 Sep 2022 19:34:17 +0200) Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: 58193@debbugs.gnu.org, paaguti@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: paaguti@gmail.com, 58193@debbugs.gnu.org > Date: Fri, 30 Sep 2022 19:34:17 +0200 > > Eli Zaretskii writes: > > > I'd rather leave the decision whether to redraw or not to the caller. > > I don't see how we can safely assume that the caller never wants to > > actually use the locale's settings for something display-oriented. > > That's what this does. If the caller wants to redraw, the caller should > call `redraw-frame' in the body of that macro. IMO, that assumes to much knowledge on the part of the caller. I'd prefer a variable that would tell the macro that the body does include display. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 13:43:22 2022 Received: (at 58193) by debbugs.gnu.org; 30 Sep 2022 17:43:23 +0000 Received: from localhost ([127.0.0.1]:42858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeK2k-0005xe-Kw for submit@debbugs.gnu.org; Fri, 30 Sep 2022 13:43:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeK2j-0005xQ-8T for 58193@debbugs.gnu.org; Fri, 30 Sep 2022 13:43:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=M60hWfZPbPxmsn5oxU8y749dgdfsxHVfby2QTlQbteU=; b=IXpR/UgML11wPecoB+qv615EFE +ZGdDa3qHjA3XNRcPnmgR9QSBiHEvw13nc/wsBu3b3tnWaiUVTPBScP/nbOzZ5UQ6m4OWvOnwI6Tt XX2N+B5OeLIiEOMO7YYFOx+MpDvV3ZDtn2niDBMWi4O3CyE5R02dXrOZoc1NmQqaHq5o=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeK2a-0002g5-5S; Fri, 30 Sep 2022 19:43:14 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment In-Reply-To: <83mtagdall.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 30 Sep 2022 20:40:38 +0300") References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEX9/f3R0daspqKZ gmpXT0smISX///9Gt9VNAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+YJHhAaICZ6aYEAAAGESURBVDjL rZRNmoIwDIYBPcC0Mnttda+07AdIDjCQ3v8qk7ZYWnSe2Uw28uQ1PyRfqKo/rZaXj3du69imF9Sg C0bnnd8lK0iNG6A8281lNr9NVCa7lSCF1G5nzyqfsegGvleA+wgqSuNLriM/QQm+AmjZq3pfArAo opQGdSNHxigbwRIA/3OUHGE4susjedaeJeKMD6HQYKp+4N/h6tAOQkhNmKbim+paIhBslz6C+wqo p2X0QF4x9XuckLiZ5eGBOG0vciSclUXHoKqFzIBzo5yEPouPF9BpMMK3LgIAeALNjzT4AHEiP7cA GkeSwdpVu7Xb0HyxHKFDV7ZPL1i7UfmxmsFnmrKFIBieL4w8KwnXsLK4wttkrOUqBgBMXH7UyUFd w4ao0xojiBtsRgu5FDBJDiGTjiPOWOgq8z91lUmX9wSZePvknwzCKoVq3e5qE2/gvt1BnyfbAtYq UW5U3lrrXY8gt6G8Tj+jRfFEHvt7PsVEyV9nHwbW7naxdfWL/Sf4AfWXwTK4WDWxAAAAJXRFWHRk YXRlOmNyZWF0ZQAyMDIyLTA5LTMwVDE2OjI2OjMyKzAwOjAw3p2IzAAAACV0RVh0ZGF0ZTptb2Rp ZnkAMjAyMi0wOS0zMFQxNjoyNjozMiswMDowMK/AMHAAAAAASUVORK5CYII= X-Now-Playing: DJ Rupture's _Uproot (The Ingredients)_: "Ignadjossi feat. Jhonel" Date: Fri, 30 Sep 2022 19:43:11 +0200 Message-ID: <87ill44v2o.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > IMO, that assumes to much knowledge on the part of the caller. I'd > prefer a variable that would tell the macro that the body does include > display. It's a macro that changes the locale. It doesn't say anything about doing redisplay at all, so anybody that wants to do redisplay (for whatever reason) will use the normal ways of doing that. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: 58193@debbugs.gnu.org, paaguti@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > IMO, that assumes to much knowledge on the part of the caller. I'd > prefer a variable that would tell the macro that the body does include > display. It's a macro that changes the locale. It doesn't say anything about doing redisplay at all, so anybody that wants to do redisplay (for whatever reason) will use the normal ways of doing that. I.e., there's no particular knowledge needed. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 14:35:07 2022 Received: (at 58193) by debbugs.gnu.org; 30 Sep 2022 18:35:07 +0000 Received: from localhost ([127.0.0.1]:42925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeKqp-0007Ga-Dr for submit@debbugs.gnu.org; Fri, 30 Sep 2022 14:35:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeKqm-0007Fi-Cm for 58193@debbugs.gnu.org; Fri, 30 Sep 2022 14:35:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeKqg-0005VE-MC; Fri, 30 Sep 2022 14:34:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Fzb5Pg0F2iAP1Pa+lxUx8OLOYdf8toipPsFu6e+zMzA=; b=OsVAlpFNTgyz TM707Ubx252xKK10bHvE7phyXMqkTJRkVrBRNghGb9m7RpTed1zPmu8Mv05A1Yec4xObwzvBJBnc3 xPGvXT+iimIcZTpyNJcJOgoujBV+uNoxoL3BlNRmftgM/eqGLyu8n3CuXzrx4B5slh/bjenM1Pa3D rTi7XJG1mOsWjeSWkZl2APZZE9Ljzat0r7/gXNV4JOqQtAXuiriizHSIF6UdVLUR48mXB0QmKjBSy TDx0XErcJwnSULjt2ypRIBE2T9plh7kQt1eA7NEzu9ogRykiqsDzG4QazO0Y/uTB/wOkq811GDUue FpjkLIe0in9bXWrM0NjrsA==; Received: from [87.69.77.57] (port=4318 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeKqe-0001II-RQ; Fri, 30 Sep 2022 14:34:58 -0400 Date: Fri, 30 Sep 2022 21:34:43 +0300 Message-Id: <83leq0d83g.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87ill44v2o.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 30 Sep 2022 19:43:11 +0200) Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: 58193@debbugs.gnu.org, paaguti@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: paaguti@gmail.com, 58193@debbugs.gnu.org > Date: Fri, 30 Sep 2022 19:43:11 +0200 > > Eli Zaretskii writes: > > > IMO, that assumes to much knowledge on the part of the caller. I'd > > prefer a variable that would tell the macro that the body does include > > display. > > It's a macro that changes the locale. It doesn't say anything about > doing redisplay at all, so anybody that wants to do redisplay (for > whatever reason) will use the normal ways of doing that. > > I.e., there's no particular knowledge needed. Many Lisp programmers don't realize what the macro does, in enough detail to understand that it might affect the display. Suppressing redrawing of the frame by default is IMO the wrong default: the flicker in case redrawing wasn't needed is just an annoyance, whereas failure to redraw when it is needed is a much more serious problem. So if we want to make the caller responsible for whether the frame should be redrawn, the default should to redraw it, and callers that want to avoid that would need to take some measures to that end. Which is the opposite of what we have now. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 02:15:11 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 06:15:11 +0000 Received: from localhost ([127.0.0.1]:43481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeVmI-0001s8-Es for submit@debbugs.gnu.org; Sat, 01 Oct 2022 02:15:10 -0400 Received: from mail-ej1-f43.google.com ([209.85.218.43]:33338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeVmG-0001ri-Dv for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 02:15:09 -0400 Received: by mail-ej1-f43.google.com with SMTP id lc7so12999528ejb.0 for <58193@debbugs.gnu.org>; Fri, 30 Sep 2022 23:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=g0VoBtjnJL4PrbMWknmwRwantOvrD0IUhK23MInDf3Y=; b=bepZfx0zh3c54NgSsKB86bdyWFj3vEqUFN1kd82rOL+dC1PtQKmiSINDNfxUb7OwYS 8qoDS0ay+TFsvfRa6C2/tsl/f9CMQRIoC/epE/DhjFXwL6iNMClWUq6LbMC8G916L8JI jN3l/jSzz/zDR/f5BDgTsJghD5FLUBnPtcNMoKRdpzWkLpKA6w6M5WIewF/xO1wq/LZv Vu/dAtTLFOvu/oCCD/CGnMKbnhtPFiBwrqWjGRVVputOO/QURD9x9WSYdwZNj7Jv4gmS btF9sg1tD9r9hT+ul4IOHw8slSQSsJQz6Y+DuwOhwiafocSnlmTNcomQn4ftGtSGCl/D oh/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=g0VoBtjnJL4PrbMWknmwRwantOvrD0IUhK23MInDf3Y=; b=F+eb4LI7j5Z1UnK2Qguc+S5q97Hrw0qK0VpOxEcadqGkrrlnp0L/8ZEticcuejgMYh wzSbvrxOz+UE9hUlD9WG8gQlVZcB1i2w2k2GEgs1BX69XOgAfN8u322V9C/1wx/6JswQ vP/DauXIB4OocBqobQFZBOKrQuTULiO6CdQ9fa2fh8YmLffhqTbr4fz+lPTA4BTUX9NI 0cmOZqqjzgRr5VZVzzlKTkTnOFA7Hn9sAScbcxRk8hoJ9SgdItIkBaDt05fdHTUrr3Mb FOd1RlXo97y6JEyexVNiBjLuAcUxjG6Kgycs9oik2+kp56u5quCGIa7GBDqpQglau5eV CaTA== X-Gm-Message-State: ACrzQf3DKlWtsDdry+PMT9/PbzdI9+DA4IHjJg3SBMX4rhkfwgoGE5he ZhPEF5az0zYWI5tFJ5gR40mC15fvsEI1VmC6xGI5Ba/Dltw= X-Google-Smtp-Source: AMsMyM4a1IxRZ1Ad9Czuv+7wEqnZ+paEpFWjBmNvqLB3vukErs5nUcz2HS8IaVQ+ktmLil/LxcTa8N6LLych1a+ixN8= X-Received: by 2002:a17:907:d15:b0:781:e347:723 with SMTP id gn21-20020a1709070d1500b00781e3470723mr8599197ejc.723.1664604902299; Fri, 30 Sep 2022 23:15:02 -0700 (PDT) MIME-Version: 1.0 References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> In-Reply-To: <83leq0d83g.fsf@gnu.org> From: Pedro Andres Aranda Gutierrez Date: Sat, 1 Oct 2022 08:14:36 +0200 Message-ID: Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000e49bca05e9f30771" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58193 Cc: Lars Ingebrigtsen , 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000e49bca05e9f30771 Content-Type: text/plain; charset="UTF-8" Hi Eli, Lars I fear in my case it's the other way round. IMHO, I think I have a minimal clue of what it does ;-) Let me expand a bit: My use case is that of a multi-lingual writer/programmer who needs the date to appear in the language used in the text which is currently being edited. My default locale is "C" because it fits my needs when programming, but then I also produce 'text documents' (.tex, .org, .md, .txt) in 3-4 languages. I'm lucky, because most of "my multi-linguality" can be handled by changing ispell-dictionary and with \date in LaTEX. But in a couple of cases, I need the date to appear 'burnt in fire' in the text. My questioning the way with-locale-environment works comes from my use case. I need the date to adhere to a 'temporary' locale which only needs to be valid when I generate a string that I then insert into the buffer. And to have the screen flickering because I have generated a string is not a 'nice' UI design principle IMvvHO. Maybe we should leave this macro as-is because of the legacy and work towards something in the line of the cl-setlocale function in Common LISP. If you look at 'man setlocale' as an inspiration of what I would be dreaming of... My .001 c, /PA On Fri, 30 Sept 2022 at 20:34, Eli Zaretskii wrote: > > From: Lars Ingebrigtsen > > Cc: paaguti@gmail.com, 58193@debbugs.gnu.org > > Date: Fri, 30 Sep 2022 19:43:11 +0200 > > > > Eli Zaretskii writes: > > > > > IMO, that assumes to much knowledge on the part of the caller. I'd > > > prefer a variable that would tell the macro that the body does include > > > display. > > > > It's a macro that changes the locale. It doesn't say anything about > > doing redisplay at all, so anybody that wants to do redisplay (for > > whatever reason) will use the normal ways of doing that. > > > > I.e., there's no particular knowledge needed. > > Many Lisp programmers don't realize what the macro does, in enough > detail to understand that it might affect the display. Suppressing > redrawing of the frame by default is IMO the wrong default: the > flicker in case redrawing wasn't needed is just an annoyance, whereas > failure to redraw when it is needed is a much more serious problem. > > So if we want to make the caller responsible for whether the frame > should be redrawn, the default should to redraw it, and callers that > want to avoid that would need to take some measures to that end. > Which is the opposite of what we have now. > -- 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 --000000000000e49bca05e9f30771 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Eli, Lars

I fear in my case it's= the other way round. IMHO, I think I have a minimal clue of what it does ;= -)
Let me expand a bit:

My use case is t= hat of a multi-lingual writer/programmer who needs the date to appear in th= e language used in the text which is currently being edited.=C2=A0
My default locale is "C" because it fits my needs when programm= ing, but then I also produce 'text documents' (.tex, .org, .md, .tx= t) in 3-4 languages.
I'm lucky, because most of "my mult= i-linguality" can be handled by changing ispell-dictionary and with \d= ate in LaTEX. But in a couple of
cases, I need the date to appear= 'burnt in fire' in the text.

My questioni= ng the way with-locale-environment works comes from my use case.=C2=A0
I need the date to adhere to a 'temporary' locale which only = needs to be valid when I generate a string that I then insert into the buff= er.=C2=A0
And to have the screen flickering because I have genera= ted a string is not a 'nice' UI design principle IMvvHO.
=
Maybe we should leave this macro as-is because of the legacy= and work towards something in the line of the cl-setlocale function in Com= mon LISP.
If you look at 'man setlocale' as an inspiratio= n of what I would be dreaming of...

My .001 c, /PA=

On Fri, 30 Sept 2022 at 20:34, Eli Zaretskii <eliz@gnu.org> wrote:
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: paaguti@gma= il.com,=C2=A0 58193@debbugs.gnu.org
> Date: Fri, 30 Sep 2022 19:43:11 +0200
>
> Eli Zaretskii <el= iz@gnu.org> writes:
>
> > IMO, that assumes to much knowledge on the part of the caller.=C2= =A0 I'd
> > prefer a variable that would tell the macro that the body does in= clude
> > display.
>
> It's a macro that changes the locale.=C2=A0 It doesn't say any= thing about
> doing redisplay at all, so anybody that wants to do redisplay (for
> whatever reason) will use the normal ways of doing that.
>
> I.e., there's no particular knowledge needed.

Many Lisp programmers don't realize what the macro does, in enough
detail to understand that it might affect the display.=C2=A0 Suppressing redrawing of the frame by default is IMO the wrong default: the
flicker in case redrawing wasn't needed is just an annoyance, whereas failure to redraw when it is needed is a much more serious problem.

So if we want to make the caller responsible for whether the frame
should be redrawn, the default should to redraw it, and callers that
want to avoid that would need to take some measures to that end.
Which is the opposite of what we have now.


--
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

--000000000000e49bca05e9f30771-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 03:10:26 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 07:10:26 +0000 Received: from localhost ([127.0.0.1]:43537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeWdm-0005Qv-Cv for submit@debbugs.gnu.org; Sat, 01 Oct 2022 03:10:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeWdk-0005QX-6z for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 03:10:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeWdd-0002N6-OQ; Sat, 01 Oct 2022 03:10:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MDeUQk0Ypd1rteshrqmrE8WU2li2t1sxQpzrl6kb0xs=; b=fjFhsCU+8i69 n842prE3QqPiRnTkemikrU1pbQAvT1VW4HrzJ7fiya2IgDJAy3udjxgxkUesmT8RyqsZUf9502OGs VFhJqpCJFQdr0B6N35o5enYF/W4aQrJsX8UXavQkqo4HddBCYVJiIjgeBaDozuX1tzvt5xW02hDYz M5oNzYZCm71MsUEmNAif71uqf0YncrUmqkgkeuxGDsaWkFbRWdXYkdIExlolE6IzTtxaCK8p2o35R fwuHh8M/cMXnqHL7Ie9qDPWWVGVJBNMBHBh1PGm4YHR+sO8MHITfVH4+Ml+T37845AeyXhbZ6+WH0 xYmfKirMWRMI7xeB4KBxow==; Received: from [87.69.77.57] (port=2574 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeWdd-00074S-7T; Sat, 01 Oct 2022 03:10:17 -0400 Date: Sat, 01 Oct 2022 10:10:03 +0300 Message-Id: <83y1u0auk4.fsf@gnu.org> From: Eli Zaretskii To: Pedro Andres Aranda Gutierrez In-Reply-To: (message from Pedro Andres Aranda Gutierrez on Sat, 1 Oct 2022 08:14:36 +0200) Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: larsi@gnus.org, 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Pedro Andres Aranda Gutierrez > Date: Sat, 1 Oct 2022 08:14:36 +0200 > Cc: Lars Ingebrigtsen , 58193@debbugs.gnu.org > > I fear in my case it's the other way round. IMHO, I think I have a minimal clue of what it does ;-) > Let me expand a bit: > > My use case is that of a multi-lingual writer/programmer who needs the date to appear in the language used > in the text which is currently being edited. > My default locale is "C" because it fits my needs when programming, but then I also produce 'text > documents' (.tex, .org, .md, .txt) in 3-4 languages. > I'm lucky, because most of "my multi-linguality" can be handled by changing ispell-dictionary and with \date in > LaTEX. But in a couple of > cases, I need the date to appear 'burnt in fire' in the text. > > My questioning the way with-locale-environment works comes from my use case. > I need the date to adhere to a 'temporary' locale which only needs to be valid when I generate a string that I > then insert into the buffer. > And to have the screen flickering because I have generated a string is not a 'nice' UI design principle > IMvvHO. I understand your use case. I'm arguing about the default, not about the need to support your use case. The default should be to redraw the frame, and your use case should be supported by having some variable that you could bind around the call of the macro, to prevent redrawing. > Maybe we should leave this macro as-is because of the legacy and work towards something in the line of the > cl-setlocale function in Common LISP. Common Lisp is just a programming language, it is not a display editor. In Emacs, certain operations that affect the display should be immediately reflected on display. > If you look at 'man setlocale' as an inspiration of what I would be dreaming of... setlocale is a low-level function that is called by Emacs as part of this macro. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 03:23:47 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 07:23:47 +0000 Received: from localhost ([127.0.0.1]:43557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeWqg-0005l6-VC for submit@debbugs.gnu.org; Sat, 01 Oct 2022 03:23:47 -0400 Received: from mail-ej1-f44.google.com ([209.85.218.44]:45750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeWqd-0005ks-VW for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 03:23:45 -0400 Received: by mail-ej1-f44.google.com with SMTP id dv25so13097169ejb.12 for <58193@debbugs.gnu.org>; Sat, 01 Oct 2022 00:23:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=w1FgOIIE2Pu1lwLBup+8B05M950m1YLMv2pT5upqJEY=; b=Jqn0SULT+o7lXMTN3Yv40RpJPpQR5cW9jBth0qR3q89CCAggDNVjie+Tjre4/fEFGc rMaEkffImLZALrf3YxzZxoCe2kLgDcdNhbySzhHSeoV2kpYhLnQuuH4ToYvvaMJXK4vc SnXfFdE5/hiKYbqQht+a6yPXjQX+ebfgdxctfU4WYv5DuIxGX6xOsjj42gucaTE/11uh uyw2JBDEUjSnJRLQuowiMgl9Diz1cKtsg371jIAkTgHyIzY+ee+ver9Jf0+nZBIggDVC wMpFK4/+XflBc/pe0CCXt5jeNc96Urj/5vuM2VaLd5FtMpmcEs6WfCq9UgZuMUdnERwu 4x9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=w1FgOIIE2Pu1lwLBup+8B05M950m1YLMv2pT5upqJEY=; b=Ri8PY+raBU80UcLDxDYAAmOunCTpKrVZXhNZuJAXeSdP6DgSyF3O559MGbVuKWhsDA KB1SxLfbokvfsOcT2SZ74z8llRFGbKdF3UTAWbNl9zKiKBiKLxkMXVElhXhGvlPJNmFw eZ029UhavDnb41rtCbIv849YRj/0xUKKskDM2epuCPMYgLREcrROqJGZT3ZYIrVr5KDl dnt1GDAalwJ46Ndp1JBbwwSXqMImu5/s6wbiSLb4D3mHKJbJg0mj5UESn386GIiwdrR4 TSdzwfQqEQne+1BSSrbJ5LniL9yMg5ORhkx1ISH+6RvScz6jNhpFvVqVdNj5zMiQXNnx pVQw== X-Gm-Message-State: ACrzQf1dJBJtcUSKgzDSZKfGDqVWJz+mwFsNF2i32/4MpzcSvYWd9O96 PDr0BYKD6SXen0NfSAc4A+xMTK8HCS3hYt+YRuE= X-Google-Smtp-Source: AMsMyM6hD16PZnm97lV8DoIbL6fxniKFEOhCBGA71ST8AssxRKmUfbJavB3L8/+fAnD9hfr9Yb9XSTIODso6Uk3b+e4= X-Received: by 2002:a17:907:97cd:b0:787:ccc3:fde1 with SMTP id js13-20020a17090797cd00b00787ccc3fde1mr7923670ejc.334.1664609017988; Sat, 01 Oct 2022 00:23:37 -0700 (PDT) MIME-Version: 1.0 References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <83y1u0auk4.fsf@gnu.org> In-Reply-To: <83y1u0auk4.fsf@gnu.org> From: Pedro Andres Aranda Gutierrez Date: Sat, 1 Oct 2022 09:23:12 +0200 Message-ID: Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment To: Eli Zaretskii Content-Type: multipart/alternative; boundary="00000000000035096805e9f3fd22" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58193 Cc: larsi@gnus.org, 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000035096805e9f3fd22 Content-Type: text/plain; charset="UTF-8" On Sat, 1 Oct 2022 at 09:10, Eli Zaretskii wrote: > > From: Pedro Andres Aranda Gutierrez > > Date: Sat, 1 Oct 2022 08:14:36 +0200 > > Cc: Lars Ingebrigtsen , 58193@debbugs.gnu.org > > I understand your use case. I'm arguing about the default, not about > the need to support your use case. The default should be to redraw > the frame, and your use case should be supported by having some > variable that you could bind around the call of the macro, to prevent > redrawing. > Good, I could live with that > > Maybe we should leave this macro as-is because of the legacy and work > towards something in the line of the > > cl-setlocale function in Common LISP. > > Common Lisp is just a programming language, it is not a display > editor. In Emacs, certain operations that affect the display should > be immediately reflected on display. > So, one implication of my question is whether all operations that need a specific locale to be set need the display redrawn... > If you look at 'man setlocale' as an inspiration of what I would be > dreaming of... > > setlocale is a low-level function that is called by Emacs as part of > this macro. I know, and I was wondering if we could create an Elisp construct that *only* uses setlocate if we are sure that we do not need to redraw the screen I think we are approaching 'violent agreement' :-) Thx, /PA -- 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 --00000000000035096805e9f3fd22 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Sat, 1 Oct 2022 at 09:10, Eli Zaretski= i <eliz@gnu.org> wrote:
=
> From: Pedro Andres A= randa Gutierrez <= paaguti@gmail.com>
> Date: Sat, 1 Oct 2022 08:14:36 +0200
> Cc: Lars Ingebrigtsen <larsi@gnus.org>, 58193@debbugs.gnu.org

I understand your use case.=C2=A0 I'm arguing about the default, not ab= out
the need to support your use case.=C2=A0 The default should be to redraw the frame, and your use case should be supported by having some
variable that you could bind around the call of the macro, to prevent
redrawing.

Good, I could live with that=
=C2=A0
&g= t; Maybe we should leave this macro as-is because of the legacy and work to= wards something in the line of the
> cl-setlocale function in Common LISP.

Common Lisp is just a programming language, it is not a display
editor.=C2=A0 In Emacs, certain operations that affect the display should be immediately reflected on display.

So= , one implication of my question is whether all operations that need a spec= ific locale to be set need the display redrawn...=C2=A0

> If you look at '= ;man setlocale' as an inspiration of what I would be dreaming of...

setlocale is a low-level function that is called by Emacs as part of
this macro.
=C2=A0
I know, and I was wondering i= f we could create an Elisp construct that *only* uses setlocate if we are s= ure that we do not need to redraw the screen

I thi= nk we are approaching 'violent agreement' :-)

<= div>Thx, /PA
=C2=A0

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

Hea= daches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.work= er.uniter.operation we should run a leader-deposed hook here, but we can= 9;t yet

--00000000000035096805e9f3fd22-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 03:27:03 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 07:27:03 +0000 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 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 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) MIME-Version: 1.0 References: <87wn9l3q5i.fsf@gnus.org> <87r0zs4ydz.fsf@gnus.org> In-Reply-To: <87r0zs4ydz.fsf@gnus.org> From: Pedro Andres Aranda Gutierrez Date: Sat, 1 Oct 2022 09:26:28 +0200 Message-ID: Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment To: Lars Ingebrigtsen , 58193@debbugs.gnu.org, Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000e7230a05e9f408bf" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58193 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 03:33:28 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 07:33:28 +0000 Received: from localhost ([127.0.0.1]:43575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeX04-000615-9j for submit@debbugs.gnu.org; Sat, 01 Oct 2022 03:33:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeX00-00060r-VP for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 03:33:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56882) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeWzv-0005mL-NQ; Sat, 01 Oct 2022 03:33:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0FsHQVsikSEWl5SmvyKDBVV+lxSvHF9CA5SdNTsUlx8=; b=S/bOSOuAPIpM Ps9eLEskYz9R/KPFJt/I/Y6PDMm1spLtcehCT7bVQlum4GZmZ6YP6AfL1Larlfvdlm1WiTFi76gk8 omZjefwnLX8e9Lmhw6ki0vftAlfS2mNhvahwejPv35cROOfjC/CAHuy0HjK17J1C556rDsjCRNNay HWLLE0lnutDLxRHEHCcamtHNK+atrzSYEyXCGXc+KJxGjMbpgyVUtVAQThcFftC4Do3hKehkv84Rq CAGgZ6e1u7dR3z0kOgfBo7HtClhCesnHlbd277J6bUF+11aWXEP3TV3dAbJ30wfEL0WZrL92urXfQ x8CE8US5i2M1thLSqfAIbg==; Received: from [87.69.77.57] (port=4158 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeWzv-0006Qu-5T; Sat, 01 Oct 2022 03:33:19 -0400 Date: Sat, 01 Oct 2022 10:33:07 +0300 Message-Id: <83wn9katho.fsf@gnu.org> From: Eli Zaretskii To: Pedro Andres Aranda Gutierrez In-Reply-To: (message from Pedro Andres Aranda Gutierrez on Sat, 1 Oct 2022 09:23:12 +0200) Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <83y1u0auk4.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: larsi@gnus.org, 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Pedro Andres Aranda Gutierrez > Date: Sat, 1 Oct 2022 09:23:12 +0200 > Cc: larsi@gnus.org, 58193@debbugs.gnu.org > > > Maybe we should leave this macro as-is because of the legacy and work towards something in the > line of the > > cl-setlocale function in Common LISP. > > Common Lisp is just a programming language, it is not a display > editor. In Emacs, certain operations that affect the display should > be immediately reflected on display. > > So, one implication of my question is whether all operations that need a specific locale to be set need the > display redrawn... If all you want is to have time displayed per a certain locale's conventions, maybe it's enough to set system-time-locale? Did you try that? set-locale-environment (which is what with-locale-environment uses) does much more than just adjusts the locale's time format. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 04:19:32 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 08:19:32 +0000 Received: from localhost ([127.0.0.1]:43590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeXie-000772-IC for submit@debbugs.gnu.org; Sat, 01 Oct 2022 04:19:32 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:42703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeXia-00076n-Ob for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 04:19:31 -0400 Received: by mail-wm1-f51.google.com with SMTP id o20-20020a05600c4fd400b003b4a516c479so3272010wmq.1 for <58193@debbugs.gnu.org>; Sat, 01 Oct 2022 01:19:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date; bh=jOf7xzHqiSyVTGi/G9lV7bBGbfYLZEdCGUtwn+gzgnE=; b=Gzvox2BSqAE3/kK6qkCnKFnY3xq9C24Ue+MvfKCQZqKsXdDvHsIsIi6E/No2bpQFsk 6mYwdIcWb4FLK1HVFMf4kfIEjWo3QvAoAgdQ6aFc17wigQclw0M6ceSikEqcnKK2bt19 +26DyNSJTCE2i87R3RNdMut6aOfXiB++CfMd1Ee+WyeV+5dvYKCpV1o4VsGVYsz2A2Rb 5JazJ3FDa9W8EejBWxzRGCfT4x6bDeWjR24qzwab+kkfy7xyR1CDxDlyF1Y7dQWuhzAG QZ03HMuT0G07fMbpqIBY51wGbtV8cxMdPy1/4+mxIGHMuZbum9IdL7Pj/2I/FtovQzNQ Wqtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date; bh=jOf7xzHqiSyVTGi/G9lV7bBGbfYLZEdCGUtwn+gzgnE=; b=5MwXrHk2Z7q+Zsn2oYkh44XXNqxE3AR+BUjhuDZc2RwPo+ju1qarqq5xrr+p66gWuF ju9utyqAHe/Wdo5OzfgqdaXhBgxABzT1Gdhma/v+otTwTaBqft61VY2qwnFjQPUWTrCM fpQuBng2hN92M1IiR2G+VfDZmNBGl71HdBxpHY4lFeGHnkcFLLhm9gYV+zn9uGHCCmbh /vMhpf3qqQMN0Dib1oKLO53s69mbul5YkGwuk4NZXAdgC9gZ8PVNrNV/XLJ/a+3LcdPN EPPnJ/4uHNd6RWpTA9D5zuRmdqRwzDGnj5xaIfxXXtf8UTsxZRgB9rs5GVAGHdF+U+d7 DUog== X-Gm-Message-State: ACrzQf38VvUqyHaAOcFLDoUPXPOJOac9EACW4ELer5gCP8F6mTKgPZ4t ONs4Le8ROJYVZegt6SJZL/8= X-Google-Smtp-Source: AMsMyM6aTwXz45jIBzsNAuJcM0Al4TWc0B5c3aUJok3thLlYb7rFadsqPti+ts+8Z1HqUP0zsef3ow== X-Received: by 2002:a05:600c:6026:b0:3b5:b00:3a5a with SMTP id az38-20020a05600c602600b003b50b003a5amr1107663wmb.108.1664612361947; Sat, 01 Oct 2022 01:19:21 -0700 (PDT) Received: from smtpclient.apple (160.red-95-127-196.staticip.rima-tde.net. [95.127.196.160]) by smtp.gmail.com with ESMTPSA id 12-20020a05600c230c00b003b492753826sm4528227wmo.43.2022.10.01.01.19.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Oct 2022 01:19:21 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Pedro Andres Aranda Gutierrez Mime-Version: 1.0 (1.0) Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment Date: Sat, 1 Oct 2022 10:19:19 +0200 Message-Id: References: <83wn9katho.fsf@gnu.org> In-Reply-To: <83wn9katho.fsf@gnu.org> To: Eli Zaretskii X-Mailer: iPhone Mail (19G82) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58193 Cc: larsi@gnus.org, 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli This is just an example. But there are other=E2=80=A6 currency being one of t= hem. Best /PA Enviado desde mi iPhone > El 1 oct 2022, a las 9:33, Eli Zaretskii escribi=C3=B3: >=20 > =EF=BB=BF >>=20 >> From: Pedro Andres Aranda Gutierrez >> Date: Sat, 1 Oct 2022 09:23:12 +0200 >> Cc: larsi@gnus.org, 58193@debbugs.gnu.org >>=20 >>> Maybe we should leave this macro as-is because of the legacy and work to= wards something in the >> line of the >>> cl-setlocale function in Common LISP. >>=20 >> Common Lisp is just a programming language, it is not a display >> editor. In Emacs, certain operations that affect the display should >> be immediately reflected on display. >>=20 >> So, one implication of my question is whether all operations that need a s= pecific locale to be set need the >> display redrawn...=20 >=20 > If all you want is to have time displayed per a certain locale's > conventions, maybe it's enough to set system-time-locale? Did you try > that? set-locale-environment (which is what with-locale-environment > uses) does much more than just adjusts the locale's time format. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 05:11:00 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 09:11:00 +0000 Received: from localhost ([127.0.0.1]:43635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeYWS-0008Oi-12 for submit@debbugs.gnu.org; Sat, 01 Oct 2022 05:11:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeYWO-0008OS-Tj for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 05:10:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeYWJ-0001YL-L4; Sat, 01 Oct 2022 05:10:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ihClpts3n5nahG23PW8dRUqaFsaxkxcqdQd1Ozm6vOg=; b=QT+i6qzjCH+bRy4bpFdF HDFZEHtOXT/y4v6QrnPQAEzZZLpEUuuH3wXsl33HGNsuBpVofBncS8Wjy/ZsSmO0aSVIl8bOW6qB5 jr6tnXbyvQfsF43lbQBb78KVxZos+ai1mtgiME/Ulp1dcInVBHfIg65mHh20hz2/pma/4a2q7M9yv 9Ef21LQtwQwIiYg6WpmRJHdR+dfvFibX4vliQ1vCRPdM0+Kbkle+eyowjlkbOO6OXK/2Rny5QJuNp g13+9ZJYQAGwbj/zaR/ZVinAcn2/pfW/Ox8XWsahUZPRUzbRsvsuyxJrI4BTlH/y2XuWlIgWJhYHd Ra1CEn4+zVwFoQ==; Received: from [87.69.77.57] (port=2938 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeYWJ-0007ce-1a; Sat, 01 Oct 2022 05:10:51 -0400 Date: Sat, 01 Oct 2022 12:10:39 +0300 Message-Id: <83tu4nc3jk.fsf@gnu.org> From: Eli Zaretskii To: Pedro Andres Aranda Gutierrez In-Reply-To: (message from Pedro Andres Aranda Gutierrez on Sat, 1 Oct 2022 10:19:19 +0200) Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment References: <83wn9katho.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: larsi@gnus.org, 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Pedro Andres Aranda Gutierrez > Date: Sat, 1 Oct 2022 10:19:19 +0200 > Cc: larsi@gnus.org, 58193@debbugs.gnu.org > > Eli > This is just an example. But there are other… currency being one of them. For each example its solution. For currency, I don't think Emacs currently have any solution, and with-locale-environment would not help you for that reason. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 05:56:16 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 09:56:16 +0000 Received: from localhost ([127.0.0.1]:43673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeZEG-00015Y-DP for submit@debbugs.gnu.org; Sat, 01 Oct 2022 05:56:16 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeZEC-00015H-5w for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 05:56:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=LaCmqbusOYG3i+p3l6vFXECANk7QC96bAbyp3JTIRYI=; b=RebgcfAEnDV9etSG7S+Hww2rbd oFwWj73eyZTAfNZ+eFM21fbowcEqLSaBEcEI9qfmiG4XyVTCOeo1fZRlHZNeDPkr03wOlCw9owxj9 DxOiC9U8GdTs+utHcut71f/lZNJgiHk5zZ43Upd2X58yZAofn5iBKEY1UcagvF3sHEfo=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeZE0-0002sL-SF; Sat, 01 Oct 2022 11:56:03 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment In-Reply-To: <83leq0d83g.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 30 Sep 2022 21:34:43 +0300") References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEU0MDJMTDlBPDZl Zjy4wTmJkmkRDw82OkM5R0tYXk87Qzk/PUH////k1sMtAAAAAWJLR0QMgbNRYwAAAAd0SU1FB+YK AQk2K9S0fkEAAAGoSURBVDjL1VM9T+NAEJ01ApOk8XglBFSOC+pbrfMLsvkFTgpEQ5XaVHbpLqYL OkWyL82F5g5XNBTo/tzNLo6zIUYUVDxppd335mtHMwDfAOhD2MU7dIb+ARs4YQCOFPhOcnAYABxF E2ELThgOEdEDJ1JjzxLCMCQe6cai+Md+JEpgINCDDrDY97t44LLbATyn2+FTnHy5u1vMtxe3pdzC CIc53PQDYUEnK+dNrP5dvTHmWVEVhHx++yb0qrc+kEBIKFQjMLxoWutmiV0V8863OU5zIzSN7OPv tiojwNnh30wo50rbLBJ3AYN/PcOnSWvyZ5GeFsn6uVo+a/veslXSFLJseby+qQYlwGppB3azcvYy W62q/PV6P2V6X67vq9eBHcmgyPtQQ35Y5N+iqLEo++9Y/ccaNz8fzCzu8KsGqB9xQ4O+74GXR0LQ TNOwBRYLsBlFKqaRFvYUMro+TdV0glKSYC8aQz6bKiVHAjnutonRU4yUUmMkH0q/TcOE5EKSoATX AvebPdF7JC6m2oXLWbyriyFDgZF2kZMxtxZTuyDXSiz9oE3+HxWyWpOoQ7eCAAAAJXRFWHRkYXRl OmNyZWF0ZQAyMDIyLTEwLTAxVDA5OjU0OjQzKzAwOjAwo0gXEgAAACV0RVh0ZGF0ZTptb2RpZnkA MjAyMi0xMC0wMVQwOTo1NDo0MyswMDowMNIVr64AAAAASUVORK5CYII= X-Now-Playing: Swirlies's _Still in a Dream (4)_: "Park The Car By The Side Of The Road" Date: Sat, 01 Oct 2022 11:56:00 +0200 Message-ID: <87v8p3j2a7.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Many Lisp programmers don't realize what the macro does, in enough > detail to understand that it might affect the display. I added this macro about a month ago, and I did not have redisplay in mind -- redisplay is as irrelevant to this macro as it is to macros like `when-let'. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: 58193@debbugs.gnu.org, paaguti@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > Many Lisp programmers don't realize what the macro does, in enough > detail to understand that it might affect the display. I added this macro about a month ago, and I did not have redisplay in mind -- redisplay is as irrelevant to this macro as it is to macros like `when-let'. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 05:57:14 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 09:57:14 +0000 Received: from localhost ([127.0.0.1]:43677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeZFB-000177-Pu for submit@debbugs.gnu.org; Sat, 01 Oct 2022 05:57:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeZFA-00016u-9K for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 05:57:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KraSSkLX7pvdCzld6GRqFy0DPtLcpCzVBonm5hs7qZI=; b=fwTQJ+47rJg/mH/NS+Tyqg8Qz2 HOGGyXm7WN5bRvf4vUYAlIrKruE2/mVhQx3PeJyEawulQEx6vo2i9C2jca5L5F9XyjL5uLYEtu4eK MyYZ4kNmnjuQRm7n9Z95AXABw/mQJlL0W+p/Hf55gzLvI09S1mhHM6usDU7cuzgVp5+s=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeZF1-0002st-NN; Sat, 01 Oct 2022 11:57:05 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment In-Reply-To: <87v8p3j2a7.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 01 Oct 2022 11:56:00 +0200") References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <87v8p3j2a7.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEU0MDJMTDlBPDZl Zjy4wTmJkmkRDw82OkM5R0tYXk87Qzk/PUH////k1sMtAAAAAWJLR0QMgbNRYwAAAAd0SU1FB+YK AQk2K9S0fkEAAAGoSURBVDjL1VM9T+NAEJ01ApOk8XglBFSOC+pbrfMLsvkFTgpEQ5XaVHbpLqYL OkWyL82F5g5XNBTo/tzNLo6zIUYUVDxppd335mtHMwDfAOhD2MU7dIb+ARs4YQCOFPhOcnAYABxF E2ELThgOEdEDJ1JjzxLCMCQe6cai+Md+JEpgINCDDrDY97t44LLbATyn2+FTnHy5u1vMtxe3pdzC CIc53PQDYUEnK+dNrP5dvTHmWVEVhHx++yb0qrc+kEBIKFQjMLxoWutmiV0V8863OU5zIzSN7OPv tiojwNnh30wo50rbLBJ3AYN/PcOnSWvyZ5GeFsn6uVo+a/veslXSFLJseby+qQYlwGppB3azcvYy W62q/PV6P2V6X67vq9eBHcmgyPtQQ35Y5N+iqLEo++9Y/ccaNz8fzCzu8KsGqB9xQ4O+74GXR0LQ TNOwBRYLsBlFKqaRFvYUMro+TdV0glKSYC8aQz6bKiVHAjnutonRU4yUUmMkH0q/TcOE5EKSoATX AvebPdF7JC6m2oXLWbyriyFDgZF2kZMxtxZTuyDXSiz9oE3+HxWyWpOoQ7eCAAAAJXRFWHRkYXRl OmNyZWF0ZQAyMDIyLTEwLTAxVDA5OjU0OjQzKzAwOjAwo0gXEgAAACV0RVh0ZGF0ZTptb2RpZnkA MjAyMi0xMC0wMVQwOTo1NDo0MyswMDowMNIVr64AAAAASUVORK5CYII= X-Now-Playing: Swirlies's _Still in a Dream (4)_: "Park The Car By The Side Of The Road" Date: Sat, 01 Oct 2022 11:57:03 +0200 Message-ID: <87o7uvj28g.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > I added this macro about a month ago I mean, a year and a month ago. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: 58193@debbugs.gnu.org, paaguti@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > I added this macro about a month ago I mean, a year and a month ago. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 05:57:53 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 09:57:53 +0000 Received: from localhost ([127.0.0.1]:43680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeZFp-000180-3v for submit@debbugs.gnu.org; Sat, 01 Oct 2022 05:57:53 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeZFm-00017m-Dm for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 05:57:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fggq2vx/TdOv72+7GVNszddKkWA1GxKXrFCcmmFJv9w=; b=pWp75LZZEyvngp9cIS+GF8Cs2V pDcPtrmcGpaC+mz8obUVhn7lwa7/Uc0TrPeO7jzP4J65b5ByAGv8MnzKl5Xy+2BjGms7QetgYq53z izeOO/ZKf5p5Qk7pESpkQ9MG7NLRS2uVdTwx+Unz15Y4Rr39xqBW3eDmxQ1PLtY+Mvek=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeZFd-0002tH-QR; Sat, 01 Oct 2022 11:57:43 +0200 From: Lars Ingebrigtsen To: Pedro Andres Aranda Gutierrez Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment In-Reply-To: (Pedro Andres Aranda Gutierrez's message of "Sat, 1 Oct 2022 09:26:28 +0200") References: <87wn9l3q5i.fsf@gnus.org> <87r0zs4ydz.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEU0MDJMTDlBPDZl Zjy4wTmJkmkRDw82OkM5R0tYXk87Qzk/PUH////k1sMtAAAAAWJLR0QMgbNRYwAAAAd0SU1FB+YK AQk2K9S0fkEAAAGoSURBVDjL1VM9T+NAEJ01ApOk8XglBFSOC+pbrfMLsvkFTgpEQ5XaVHbpLqYL OkWyL82F5g5XNBTo/tzNLo6zIUYUVDxppd335mtHMwDfAOhD2MU7dIb+ARs4YQCOFPhOcnAYABxF E2ELThgOEdEDJ1JjzxLCMCQe6cai+Md+JEpgINCDDrDY97t44LLbATyn2+FTnHy5u1vMtxe3pdzC CIc53PQDYUEnK+dNrP5dvTHmWVEVhHx++yb0qrc+kEBIKFQjMLxoWutmiV0V8863OU5zIzSN7OPv tiojwNnh30wo50rbLBJ3AYN/PcOnSWvyZ5GeFsn6uVo+a/veslXSFLJseby+qQYlwGppB3azcvYy W62q/PV6P2V6X67vq9eBHcmgyPtQQ35Y5N+iqLEo++9Y/ccaNz8fzCzu8KsGqB9xQ4O+74GXR0LQ TNOwBRYLsBlFKqaRFvYUMro+TdV0glKSYC8aQz6bKiVHAjnutonRU4yUUmMkH0q/TcOE5EKSoATX AvebPdF7JC6m2oXLWbyriyFDgZF2kZMxtxZTuyDXSiz9oE3+HxWyWpOoQ7eCAAAAJXRFWHRkYXRl OmNyZWF0ZQAyMDIyLTEwLTAxVDA5OjU0OjQzKzAwOjAwo0gXEgAAACV0RVh0ZGF0ZTptb2RpZnkA MjAyMi0xMC0wMVQwOTo1NDo0MyswMDowMNIVr64AAAAASUVORK5CYII= X-Now-Playing: Swirlies's _Still in a Dream (4)_: "Park The Car By The Side Of The Road" Date: Sat, 01 Oct 2022 11:57:41 +0200 Message-ID: <87mtafj27e.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Pedro Andres Aranda Gutierrez writes: > 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. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: Eli Zaretskii , 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Pedro Andres Aranda Gutierrez writes: > 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. Do you still see flickering on the current trunk (I pushed some additional fixes after the first one). From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 06:02:28 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 10:02:28 +0000 Received: from localhost ([127.0.0.1]:43708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeZKG-0001IQ-5m for submit@debbugs.gnu.org; Sat, 01 Oct 2022 06:02:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeZKE-0001I0-9f for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 06:02:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeZK9-0008LD-2s; Sat, 01 Oct 2022 06:02:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=viPv/63wrfmuMmRme8vu4OxMJVU0WOjfPwH7Tih8qA0=; b=EKOAm7DQU0gr iPYo9D9QnPg6cHI8Wcg5Oamu9cKy4r8VLAUpmz9uwMbFG7pGmyWde27ws/xpQESdqSy7Mr+EGNVi7 G8qgS/HFS17+ZWCHHkNejXB6O56qY2jA6If8PP4RknOcbuLqrIjUIbIH5gUX0s9TcFvfK8bUuHSgo zAxK4Q2rCd0BOwdUWjyi06rkJxJyl91QCnawaHjNFLzSNwfUT1yXixiNae+DdmR88SdMsjbVDt5/g V/lHgbF2soAVc7QH0Lf5OURQzKJwcMd3SJzC9+T45XG95lhzBsXF8I5Vvc/6nIn923hooEO1s8/vr Cb194gN6jpGXG6nvQul8aA==; Received: from [87.69.77.57] (port=2086 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeZJm-00054T-OG; Sat, 01 Oct 2022 06:02:19 -0400 Date: Sat, 01 Oct 2022 13:01:48 +0300 Message-Id: <83pmfbc16b.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87v8p3j2a7.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 01 Oct 2022 11:56:00 +0200) Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <87v8p3j2a7.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: 58193@debbugs.gnu.org, paaguti@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: paaguti@gmail.com, 58193@debbugs.gnu.org > Date: Sat, 01 Oct 2022 11:56:00 +0200 > > Eli Zaretskii writes: > > > Many Lisp programmers don't realize what the macro does, in enough > > detail to understand that it might affect the display. > > I added this macro about a month ago, and I did not have redisplay in > mind -- redisplay is as irrelevant to this macro as it is to macros like > `when-let'. Fair enough, but if this macro is not intended for BODYs that include visual appearance, the restriction should be mentioned in the doc string, I think. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 06:12:49 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 10:12:49 +0000 Received: from localhost ([127.0.0.1]:43718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeZUE-0001Wq-Tj for submit@debbugs.gnu.org; Sat, 01 Oct 2022 06:12:49 -0400 Received: from mail-ej1-f49.google.com ([209.85.218.49]:41827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeZUC-0001WU-Sc for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 06:12:45 -0400 Received: by mail-ej1-f49.google.com with SMTP id hy2so13571064ejc.8 for <58193@debbugs.gnu.org>; Sat, 01 Oct 2022 03:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=Dyl6Rfi2aruR9TRU8gTMgjNWNCezoEiKNIOgRuJ1jMs=; b=c+VD/TreuKM60EQn4IbvH3Nw0E3rl8ogEdD/DdQ35Py+aDQGtZNjrThNSfQFIFy/bf o3V87r45xNT+oY1CZszu/fHRvpYKvCNnwXUaOxb6DD4Cvq4hC9wu9cWFLXMN1h3T/hBR FSVRS5NlrsyLK12RaTBIfJjfCXbpoVLRjpxctCG3+F4UBLysCMWs6RYBN+oSotWvM0VR wLCmMg1B5tesQiPNlq1KkwfMnmN3kVgralm6+mqUrflDGh7N5nBkd4KW0gCPsEfCtg5X VPcPYViG4395jP5494jxirrj+q3X7cf07rlsWmQP/kocsbFEZrJ7hq4B5otMmNmyRZIN VEjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=Dyl6Rfi2aruR9TRU8gTMgjNWNCezoEiKNIOgRuJ1jMs=; b=dNjDENi9qdLgIkPikSWzZsiuHo84brhHInbX67fwz4TwUFZvY1OT/6iT81fIx1cc05 8U3rB3dA7yp8SN15mQICnxe2yPB8Mg7href2Tyol0rWdst3FnJUk08cQuD286nhPZJoX pqqKQOhXUJ+SR4kOiZ6oGEKTz0QMG4cO4/pJggcbh9SdBeIKqW3HWOf1uqdHQbooXAGY gY78N5s03yqPki5Zl+kLi2vh7jxaXDQV/k5hlXl2lxIbeFTL4+xvrZDbq5v/hKnqfjV0 tadeXoYE0wL/M3B8B8VlYNfiZI+RDjXBEGfe8jjHLLrB4G193/gjgLt5gkpgOAI1lEwn A3Rg== X-Gm-Message-State: ACrzQf3D20BRkyTRokvOKjNchG8sjfQ3AuslOJ8OvyC4N/vkvfq1Yieg /xCWsb3PY0AaXiTNbdDeL4i1sTcwLlgYkIdMnSo= X-Google-Smtp-Source: AMsMyM4D9YiW4BQxlHyPJ9p7O5ciJKrdZq9JxOc/L3Y7Sh+vE/sCqJC7ScPAQroW3cba3IL+cOF/R/9Tg7yD0xXBhs8= X-Received: by 2002:a17:907:7f0e:b0:783:93a3:791f with SMTP id qf14-20020a1709077f0e00b0078393a3791fmr8962348ejc.59.1664619158877; Sat, 01 Oct 2022 03:12:38 -0700 (PDT) MIME-Version: 1.0 References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <87v8p3j2a7.fsf@gnus.org> <83pmfbc16b.fsf@gnu.org> In-Reply-To: <83pmfbc16b.fsf@gnu.org> From: Pedro Andres Aranda Gutierrez Date: Sat, 1 Oct 2022 12:12:13 +0200 Message-ID: Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000a6ba8805e9f6592e" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58193 Cc: Lars Ingebrigtsen , 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000a6ba8805e9f6592e Content-Type: text/plain; charset="UTF-8" @ Eli, +1 @ Lars I'll test and let you know /PA On Sat, 1 Oct 2022 at 12:02, Eli Zaretskii wrote: > > From: Lars Ingebrigtsen > > Cc: paaguti@gmail.com, 58193@debbugs.gnu.org > > Date: Sat, 01 Oct 2022 11:56:00 +0200 > > > > Eli Zaretskii writes: > > > > > Many Lisp programmers don't realize what the macro does, in enough > > > detail to understand that it might affect the display. > > > > I added this macro about a month ago, and I did not have redisplay in > > mind -- redisplay is as irrelevant to this macro as it is to macros like > > `when-let'. > > Fair enough, but if this macro is not intended for BODYs that include > visual appearance, the restriction should be mentioned in the doc > string, I think. > -- 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 --000000000000a6ba8805e9f6592e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
@ Eli, +1
@ Lars I'll test and let you know
<= div>
/PA

On Sat, 1 Oct 2022 at 12:02, Eli Zaretskii &l= t;eliz@gnu.org> wrote:
> From: Lars Ingebrigtsen = <larsi@gnus.org&= gt;
> Cc: paaguti@gma= il.com,=C2=A0 58193@debbugs.gnu.org
> Date: Sat, 01 Oct 2022 11:56:00 +0200
>
> Eli Zaretskii <el= iz@gnu.org> writes:
>
> > Many Lisp programmers don't realize what the macro does, in e= nough
> > detail to understand that it might affect the display.
>
> I added this macro about a month ago, and I did not have redisplay in<= br> > mind -- redisplay is as irrelevant to this macro as it is to macros li= ke
> `when-let'.

Fair enough, but if this macro is not intended for BODYs that include
visual appearance, the restriction should be mentioned in the doc
string, I think.


--
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

--000000000000a6ba8805e9f6592e-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 06:47:30 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 10:47:30 +0000 Received: from localhost ([127.0.0.1]:43755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oea1q-0004mo-Al for submit@debbugs.gnu.org; Sat, 01 Oct 2022 06:47:30 -0400 Received: from mail-ej1-f48.google.com ([209.85.218.48]:39496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oea1o-0004mb-7l for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 06:47:29 -0400 Received: by mail-ej1-f48.google.com with SMTP id b2so13699697eja.6 for <58193@debbugs.gnu.org>; Sat, 01 Oct 2022 03:47:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=LnThCo4gVxUq7upb5h7HqKMXNnxFg0IkL//QA/I1HkM=; b=YMaFa3Ltziwk3RemR47A8ANpFxW2ZJLKfZdPfRCrY2IKmXzKJ3DuPTtb0mMBi2dGnc SpzXFxn4SUPSW2DOG3X//KIOl1TmkMuBY2JuMhA2GZeCv+tW9aEB3YeNJ5ClJNeeu7ff qFjDyLUSbWf9KK0+C0w74S0iNuXTh5d57/vqMVpE57so9kaIB8H2thzDMzcLPJXVK+08 oa5jBqmfDUdPuYbg81AYxkGCAszaNaY/78oiZAgMHnTAOViz6FEWg/AEh6CAfRz8uFED C6W9K/VM2yoKVcI24Cu1ArJTjA+V4UeWQsfjUsUg4fSWEpYBI2cJsvyVAapCgcQ1rgSY OXPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=LnThCo4gVxUq7upb5h7HqKMXNnxFg0IkL//QA/I1HkM=; b=IzZuLwgQ1Yb6/KbkVIX8Um0cZrtU1DU92GruJA/2JuKe7RsQQWwYUE/v4E1GyMnoaS hTHBHzWCn+xFCEiGSksVXNsBbOhPXFXkY11Ljt+GL9lI8MzjHbzwvYMVlSqrpqt8YaWE NDoEv2UFpKXmyKG8eVNckl8VUtB6zj3z+Vf96sdc/45f69yyiii3R0Yrkdr5NqZkUnFl EagMS28sIoXd141TF6/UTE5u8dGPfZrGulK/jZ6yN6YVECHdHixORAfT+D24QsEK5cx3 GHEYIXI3FcjykoU1MaOzBfvkd81vFgez4J1+BPsmhHkHxGvRT6yL676EwxewBY/mlKlF s9Rw== X-Gm-Message-State: ACrzQf0clkpivv7KY9x+Gdiw753H1wsn1IbYZjPv6imEe6wo3is6xp6T 3O5Iu4xB7F92pEJC5QZw4MntXyETCqLL2ReAw+k= X-Google-Smtp-Source: AMsMyM7JbVVrdT+QSGEIBiY/8qLT45uqRyWR7IRPRRfEqqvpcUHs29WlyX4sNljTxJyTh/XCU1cVimg2QuuexHDa3Jo= X-Received: by 2002:a17:907:94d2:b0:783:e5dd:9c79 with SMTP id dn18-20020a17090794d200b00783e5dd9c79mr9633389ejc.18.1664621242272; Sat, 01 Oct 2022 03:47:22 -0700 (PDT) MIME-Version: 1.0 References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <83y1u0auk4.fsf@gnu.org> <83wn9katho.fsf@gnu.org> In-Reply-To: <83wn9katho.fsf@gnu.org> From: Pedro Andres Aranda Gutierrez Date: Sat, 1 Oct 2022 12:46:56 +0200 Message-ID: Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000d4d2e905e9f6d546" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58193 Cc: larsi@gnus.org, 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000d4d2e905e9f6d546 Content-Type: text/plain; charset="UTF-8" Thanks for the idea...I came up with a macro that mimics with-locale-environment (because it is heavily based on it): (defmacro with-time-locale (locale-name &rest body) (declare (indent 1) (debug (sexp def-body))) (let ((current (gensym))) `(let ((,current system-time-locale)) (unwind-protect (progn (setq system-time-locale ,locale-name) ,@body) (setq system-time-locale ,current))))) With a quick test that seems to produce what I want: (with-time-locale "C" (message (format "%s -> %s" system-time-locale (format-time-string "%d %b %Y")))) (with-time-locale "it_IT.UTF8" (message (format "%s -> %s" system-time-locale (format-time-string "%d %b %Y")))) (message (format "%s -> %s" system-time-locale (format-time-string "%d %b %Y"))) And no flickers... Would that be something to contribute to Emacs ? Best, /PA On Sat, 1 Oct 2022 at 09:33, Eli Zaretskii wrote: > > From: Pedro Andres Aranda Gutierrez > > Date: Sat, 1 Oct 2022 09:23:12 +0200 > > Cc: larsi@gnus.org, 58193@debbugs.gnu.org > > > > > Maybe we should leave this macro as-is because of the legacy and work > towards something in the > > line of the > > > cl-setlocale function in Common LISP. > > > > Common Lisp is just a programming language, it is not a display > > editor. In Emacs, certain operations that affect the display should > > be immediately reflected on display. > > > > So, one implication of my question is whether all operations that need a > specific locale to be set need the > > display redrawn... > > If all you want is to have time displayed per a certain locale's > conventions, maybe it's enough to set system-time-locale? Did you try > that? set-locale-environment (which is what with-locale-environment > uses) does much more than just adjusts the locale's time format. > -- 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 --000000000000d4d2e905e9f6d546 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the idea...I came up with a ma= cro that mimics with-locale-environment (because it is heavily based on it)= :

(defmacro with-time-locale (locale-name &rest= body)
=C2=A0 =C2=A0 (declare (indent 1) (debug (sexp def-body)))=
=C2=A0 =C2=A0 (let ((current (gensym)))
=C2=A0 =C2=A0 = =C2=A0 `(let ((,current system-time-locale))
=C2=A0 =C2=A0 =C2=A0= =C2=A0(unwind-protect
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(= progn
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(setq syste= m-time-locale ,locale-name)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0,@body)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(setq syst= em-time-locale ,current)))))

With a quick test tha= t seems to produce what I want:

(with-time-locale = "C"
=C2=A0 (message (format "%s -> %s" sys= tem-time-locale (format-time-string "%d %b %Y"))))
(wit= h-time-locale "it_IT.UTF8"
=C2=A0 (message (format &quo= t;%s -> %s" system-time-locale (format-time-string "%d %b %Y&q= uot;))))
(message (format "%s -> %s" system-time-loc= ale (format-time-string "%d %b %Y")))

<= div>And no flickers...

Would that be something to = contribute to Emacs ?

Best, /PA
<= br>
On Sat,= 1 Oct 2022 at 09:33, Eli Zaretskii <eli= z@gnu.org> wrote:
> From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> Date: Sat, 1 Oct 2022 09:23:12 +0200
> Cc: larsi@gnus.org= , 58193@debb= ugs.gnu.org
>
>=C2=A0 > Maybe we should leave this macro as-is because of the legac= y and work towards something in the
>=C2=A0 line of the
>=C2=A0 > cl-setlocale function in Common LISP.
>
>=C2=A0 Common Lisp is just a programming language, it is not a display<= br> >=C2=A0 editor.=C2=A0 In Emacs, certain operations that affect the displ= ay should
>=C2=A0 be immediately reflected on display.
>
> So, one implication of my question is whether all operations that need= a specific locale to be set need the
> display redrawn...

If all you want is to have time displayed per a certain locale's
conventions, maybe it's enough to set system-time-locale?=C2=A0 Did you= try
that?=C2=A0 set-locale-environment (which is what with-locale-environment uses) does much more than just adjusts the locale's time format.


--
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

--000000000000d4d2e905e9f6d546-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 08:05:38 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 12:05:39 +0000 Received: from localhost ([127.0.0.1]:43832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oebFS-0002jV-MK for submit@debbugs.gnu.org; Sat, 01 Oct 2022 08:05:38 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oebFQ-0002jJ-Fk for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 08:05:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2WiEPtqmbfkbgzD8KjBIINZzEwwd/terWaTh5NHLwYM=; b=NMlWns1JL0UI6qdysn+IwjC5eY 1dDyemcpP0VvbDoHhFPbEo6zpPSRHAuaIpZ37glNoJK3dg5BVil9lb9UvVlgfPDMi5wPdqgWhyx3M QOsT31/v92DVSPrujfpv72P70J3XQRbdkJGHVA7tJU5LLJNH0OAkIsxafna6kR9e3Kvw=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oebFG-0003p4-QN; Sat, 01 Oct 2022 14:05:29 +0200 From: Lars Ingebrigtsen To: Pedro Andres Aranda Gutierrez Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment In-Reply-To: (Pedro Andres Aranda Gutierrez's message of "Sat, 1 Oct 2022 12:46:56 +0200") References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <83y1u0auk4.fsf@gnu.org> <83wn9katho.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEWZpZCJY0JsUiCT Zhw9LCDBkBr///+7s9DFAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+YKAQwEOLuxqQUAAAGySURBVDjL dZNbcuswCIaVM11A7aTvNZD3VtTvNaEr8Gj/WzmALnGmqTIjx3xcfiGc0l9rBoDXZ+CLVJ8D/Qs8 RpymM/vKDxHVBoAAlPIovjM3AHfQM3RAGoAE8Og+IkjlzI8kAJqwW7WGIFARSvFOij0Hr3s2oVoB kFnA31VwLdSB/9G6O+L9CMQCxJ7vsikcgECW4O/TSfUOlgmIrNL2T6bLAUDK2YIEpllnDJkVyOLp YMENhH5KKTv1GqH140Vm60Jx0kD9nV7CoQFrQ57M0UyvF3Vl1wDZACw+EnLxs5iG60iV1QR9fV48 yjxyi0ADQjfIsx3dO5sPEeaJPJOQxdxgRIDVBMx2k94ugHUUd2BlAKKPGoC9A+LXq7HZ/fdUwPXe FbOL3Ur5Bbz903kArkBcNvPyFiB3gF7q06cr/G12fVRzjAe7D69h5xxz5QDrWK2RyAG04g6w2Y0E qKlsx253VQOAlSjPABKWI0DLTFEDDnY2QHqLgbv7x6eV/DaptbTbIxVtEmAtjytRjbiG787jJBXA 2nOPwITfiXrnDvYSqpCblLbGOczTB9wvt3/W/B/gyeFbKNUiOAAAACV0RVh0ZGF0ZTpjcmVhdGUA MjAyMi0xMC0wMVQxMjowNDo1NiswMDowMDZLyrwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMTAt MDFUMTI6MDQ6NTYrMDA6MDBHFnIAAAAAAElFTkSuQmCC X-Now-Playing: Django Django's _Django Django (Remaster)_: "Hail Bop" Date: Sat, 01 Oct 2022 14:05:26 +0200 Message-ID: <87y1tzhhq1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Pedro Andres Aranda Gutierrez writes: > And no flickers... > > Would that be something to contribute to Emacs ? There should be no flickers with with-locale-environment, either, so it seems redundant. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: Eli Zaretskii , 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Pedro Andres Aranda Gutierrez writes: > And no flickers... > > Would that be something to contribute to Emacs ? There should be no flickers with with-locale-environment, either, so it seems redundant. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 09:33:40 2022 Received: (at 58193) by debbugs.gnu.org; 1 Oct 2022 13:33:40 +0000 Received: from localhost ([127.0.0.1]:43986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oecce-0005KL-Dd for submit@debbugs.gnu.org; Sat, 01 Oct 2022 09:33:40 -0400 Received: from mail-ed1-f52.google.com ([209.85.208.52]:44560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeccc-0005K5-IZ for 58193@debbugs.gnu.org; Sat, 01 Oct 2022 09:33:39 -0400 Received: by mail-ed1-f52.google.com with SMTP id c93so396583edf.11 for <58193@debbugs.gnu.org>; Sat, 01 Oct 2022 06:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=2kqG/o8YaspvPHq3YKAujcNUPTyJCa5HiwxOMhgv6+I=; b=cEM1Ow1vL3XztLwAGSntZ8Wx421eAhny6MyHOZSYRTqlFRyD1pkQXaC4kifZXCFv+K WDvZ2XiDbDXw25U/vLEOIc8JRJpz/vGSwOEdh53qN8MFgA/7IL7SQl5lwNweDYZVd/2t xt9sIPs5/Hy9lywCdfcVQE68gyW3i23r0TZ0ETyV4diOsPj6FcChE178Rhz1IaNHiZYW //64eK55oAY5us9esGQr+1o2yVRPxDnJ6ogJNdGwjKdjtzIjaGDaU9qSlAdeuxzIIUcv H95NyUBLM+tysg/SmNqiTZn7WV9+cQXCVJPr0AURLGLi1Slyot/v9ajKwxPHgWzSLN4+ ECGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=2kqG/o8YaspvPHq3YKAujcNUPTyJCa5HiwxOMhgv6+I=; b=NkSa5QwTLk6hvFgKVGDPqSgyJ8gKz9DPo4rr2AXPefSz/XjFrygPpjI/UGFRuNX+i6 ozsS3rAj6V2U7cpKOAxxMfAz+N378daKTK623i8pfq7fRVlBTnAUgo8ux6SRudR2mmkg oMaB3fVOEIExfQHuIGgAoGQeWxtWogW1v7E6hlUz9AN6rX15d27muDVmwV0o+TKDKT2V kkblsA4mR+w0WZgLylREdPJYlgC6qn0HKWlVOybY4lkeu4v5RuGV1ATOOWTh7bRinQWA RP1Ft5Ps+GduWSm2FO3LMAN6zLVIbJ1WSSne2qfey69mUUHZHIxlk0cKMMsUchlDkpOi hS5Q== X-Gm-Message-State: ACrzQf05FbWlfI5UMHDDvHnXyKseAHf07ASsyuwKsxAOxTK12JViTngY yPkKbjNcR2ltORaQBhYZYc1idLQr8TuwLdGNOoQ= X-Google-Smtp-Source: AMsMyM7biqO1iFpxp+XSE0kkKjHeUe90Ha3BGXUojZQPe5wU6WeKvONtdTBgyhXqdjsWinCX8hGYR1y8itrDfS8AnQw= X-Received: by 2002:a05:6402:406:b0:458:a47:d14c with SMTP id q6-20020a056402040600b004580a47d14cmr11536705edv.41.1664631211592; Sat, 01 Oct 2022 06:33:31 -0700 (PDT) MIME-Version: 1.0 References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <83y1u0auk4.fsf@gnu.org> <83wn9katho.fsf@gnu.org> <87y1tzhhq1.fsf@gnus.org> In-Reply-To: <87y1tzhhq1.fsf@gnus.org> From: Pedro Andres Aranda Gutierrez Date: Sat, 1 Oct 2022 15:33:05 +0200 Message-ID: Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment To: Lars Ingebrigtsen Content-Type: multipart/alternative; boundary="0000000000000c91a105e9f92833" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58193 Cc: Eli Zaretskii , 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000000c91a105e9f92833 Content-Type: text/plain; charset="UTF-8" And, at least in my initial test it doesn't Thanks, /PA On Sat, 1 Oct 2022 at 14:05, Lars Ingebrigtsen wrote: > Pedro Andres Aranda Gutierrez writes: > > > And no flickers... > > > > Would that be something to contribute to Emacs ? > > There should be no flickers with with-locale-environment, either, so it > seems redundant. > -- 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 --0000000000000c91a105e9f92833 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
And, at least in my initial test it doesn't=C2=A0
=
Thanks,
/PA

On Sat, 1 Oct 2022 at 14:05, = Lars Ingebrigtsen <larsi@gnus.org&= gt; wrote:
Pedro= Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> And no flickers...
>
> Would that be something to contribute to Emacs ?

There should be no flickers with with-locale-environment, either, so it
seems redundant.


--
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

--0000000000000c91a105e9f92833-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 02 08:01:41 2022 Received: (at 58193) by debbugs.gnu.org; 2 Oct 2022 12:01:41 +0000 Received: from localhost ([127.0.0.1]:46369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oexfB-0001qc-EQ for submit@debbugs.gnu.org; Sun, 02 Oct 2022 08:01:41 -0400 Received: from [95.216.78.240] (port=48978 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oexdg-0001kL-1F for 58193@debbugs.gnu.org; Sun, 02 Oct 2022 08:01:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HPiWMlqXGU5NziyLN8q8ayDpZwtxt+XzE3mOx2tLS/A=; b=Rxfqht5FympJtCQnLVwd0PTGu8 6jX9ZHX5URVYbDY6c8xu55dIFXEx/MlksAuCjC0/Q0kmI44HO+kagknHtUknyl9DwytV+iz1oeyV6 QwE6mOlLGDuNXVeLAiTFoNn+fE7nw58KiCX3zM245fu52jw3LBcHzsJ0VBnBmaMaVuvg=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oexbb-0006qx-3T; Sun, 02 Oct 2022 13:58:04 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment In-Reply-To: <83pmfbc16b.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 01 Oct 2022 13:01:48 +0300") References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <87v8p3j2a7.fsf@gnus.org> <83pmfbc16b.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUFBAUnHRkyKylR RDpGNzGVg25hVEv///945FKsAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YKAgs4OjG2CL0AAAGqSURB VDjLjVRNk4IwDG1x9WwqeoZSOCMwnBU7nld39OzCbv//T9ikfFk7O2NmUNqXvCQvLYxxsMYA1swx 2a/B2SzwSXQDoHTzvB980a84d3UXuzTZgzEMQFBVDrB8TK/cAba5v2dtETHWyFN1OpXaA/P+b7V+ BQqhVdlVNbzso6Pt3Av438JT3SaFjjzgCLD7jmNlF0rOlI3UaSdhRzuZaUmjAeQglZSS3m4d7Qmv p23be2a2t0CKCMulCDM4rK59cr5phSR123Ecd2I8YFV9rfw6AjfiAkyMD06Q78dkvw8n9yx/+kli YWY+6TYAF6LSZYVsOPRgAnaXmecDlxOwIirIjKmrCk9SOgNu8vQwVeVOZ3Ucy7tZdZUxplVIFRSj x53QvF8sMPo8cC1tUWWhuqpJaqpyEGuX9+OAGECQXNxQCOehP/89gzicFZiFCqPsZ7wQygoCyegQ j/5SWiBmb5uI7RH1InhhuaR3ZIJo6NyjSqpSN9oeuMkiv8We/hhaBXygIElrs6evQPGMCHVg/MBt q84d3JiccfwsSKm0ccnQjYs1p3v4riB/wnw3K2tbAgAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjIt MTAtMDJUMTE6NTY6NTgrMDA6MDCH1BWiAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTEwLTAyVDEx OjU2OjU4KzAwOjAw9omtHgAAAABJRU5ErkJggg== X-Now-Playing: Colourbox's _Colourbox (PolyGram)_: "Looks Like We're Shy One Horse" Date: Sun, 02 Oct 2022 13:57:58 +0200 Message-ID: <87pmfae8u1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Fair enough, but if this macro is not intended for BODYs that include > visual appearance, the restriction should be mentioned in the doc > string, I think. It's a macro that sets the locale, evaluates the body, and restores the previous locale. I can't for the life of me understand why somebody would think that it has something to do with the visual appe [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 58193 Cc: 58193@debbugs.gnu.org, paaguti@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) Eli Zaretskii writes: > Fair enough, but if this macro is not intended for BODYs that include > visual appearance, the restriction should be mentioned in the doc > string, I think. It's a macro that sets the locale, evaluates the body, and restores the previous locale. I can't for the life of me understand why somebody would think that it has something to do with the visual appearance of anything, one way or another. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 02 08:02:43 2022 Received: (at 58193) by debbugs.gnu.org; 2 Oct 2022 12:02:43 +0000 Received: from localhost ([127.0.0.1]:46374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oexgA-0001sM-Rl for submit@debbugs.gnu.org; Sun, 02 Oct 2022 08:02:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oexg9-0001lg-7C for 58193@debbugs.gnu.org; Sun, 02 Oct 2022 08:02:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JA4Io7ZaBgKnUX5q2YesV2maBnqZX3piyAUut6IgFWk=; b=fME4No2be3K51P8uhUaGJ3kdHL uXPgtESfwI9JEUOQpljBWdIXmQpW8BCTKrQVRDXNDCKIB1aaaDGWEmbTRL2xaNNyMJmL72jJlYjwn W71jNZVQPcdMRK/c1gj0m/gWHm5dqhyIo14lDMWaBEzDrVacxTQgtJLEI5easRuEgYCE=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oexcI-0006rD-N2; Sun, 02 Oct 2022 13:58:44 +0200 From: Lars Ingebrigtsen To: Pedro Andres Aranda Gutierrez Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment In-Reply-To: (Pedro Andres Aranda Gutierrez's message of "Sat, 1 Oct 2022 15:33:05 +0200") References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <83y1u0auk4.fsf@gnu.org> <83wn9katho.fsf@gnu.org> <87y1tzhhq1.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUFBAUnHRkyKylR RDpGNzGVg25hVEv///945FKsAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YKAgs4OjG2CL0AAAGqSURB VDjLjVRNk4IwDG1x9WwqeoZSOCMwnBU7nld39OzCbv//T9ikfFk7O2NmUNqXvCQvLYxxsMYA1swx 2a/B2SzwSXQDoHTzvB980a84d3UXuzTZgzEMQFBVDrB8TK/cAba5v2dtETHWyFN1OpXaA/P+b7V+ BQqhVdlVNbzso6Pt3Av438JT3SaFjjzgCLD7jmNlF0rOlI3UaSdhRzuZaUmjAeQglZSS3m4d7Qmv p23be2a2t0CKCMulCDM4rK59cr5phSR123Ecd2I8YFV9rfw6AjfiAkyMD06Q78dkvw8n9yx/+kli YWY+6TYAF6LSZYVsOPRgAnaXmecDlxOwIirIjKmrCk9SOgNu8vQwVeVOZ3Ucy7tZdZUxplVIFRSj x53QvF8sMPo8cC1tUWWhuqpJaqpyEGuX9+OAGECQXNxQCOehP/89gzicFZiFCqPsZ7wQygoCyegQ j/5SWiBmb5uI7RH1InhhuaR3ZIJo6NyjSqpSN9oeuMkiv8We/hhaBXygIElrs6evQPGMCHVg/MBt q84d3JiccfwsSKm0ccnQjYs1p3v4riB/wnw3K2tbAgAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjIt MTAtMDJUMTE6NTY6NTgrMDA6MDCH1BWiAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTEwLTAyVDEx OjU2OjU4KzAwOjAw9omtHgAAAABJRU5ErkJggg== X-Now-Playing: Colourbox's _Colourbox (PolyGram)_: "Looks Like We're Shy One Horse" Date: Sun, 02 Oct 2022 13:58:42 +0200 Message-ID: <87lepye8st.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Pedro Andres Aranda Gutierrez writes: > And, at least in my initial test it doesn't [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: Eli Zaretskii , 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Pedro Andres Aranda Gutierrez writes: > And, at least in my initial test it doesn't [...] > There should be no flickers with with-locale-environment, either, so it > seems redundant. Does this mean that `with-locale-environment' doesn't flicker the screen for you any more? I'm not sure how to parse that response... From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 03 01:38:31 2022 Received: (at 58193) by debbugs.gnu.org; 3 Oct 2022 05:38:31 +0000 Received: from localhost ([127.0.0.1]:48596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofE9v-0005Ez-6N for submit@debbugs.gnu.org; Mon, 03 Oct 2022 01:38:31 -0400 Received: from mail-ed1-f46.google.com ([209.85.208.46]:35620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofE9s-0005Ej-VU for 58193@debbugs.gnu.org; Mon, 03 Oct 2022 01:38:29 -0400 Received: by mail-ed1-f46.google.com with SMTP id s2so2463385edd.2 for <58193@debbugs.gnu.org>; Sun, 02 Oct 2022 22:38:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=4hAptahSdPDLO0raZoypaW7tW22tjno0zpd+iYjr468=; b=ai0nm8LWSaUyeMAGZb5+R/tH2Vaius8k9Ee4ziDf20ZjCGJSGH0oynH/RbXBdzzy01 2c/eSkYpnxi4nw5XpD7o8US74UWoW9l67JU2G0nzqf/M7z1tS13r3M7BFmtJtKF/WYZ+ tzoLqUgbvU06ID0AhjabirpSWomngq7EPs/CTbVo2kRRE49mHqk06uIXqOtllxucH10R HWATWTuYdCINqi9iUCnlGu1jhm6JiZN/8MFSkZbZS7nWscz4NRg6ilnwzcjCX5he8UwG 5lBCyMKpizQWLZocZ19f1Pqfp/7Jgkbsex3HKTFeOLB8MP8FCK5nEOMjqZ5jWXAcn9R/ oXNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=4hAptahSdPDLO0raZoypaW7tW22tjno0zpd+iYjr468=; b=RY+Gi5WyPsM4ORBOeZAvw05uz8/VXzGGtONV6jBEVAg6RN82wP6TFDptcLPhwG4vjQ 81tmAMVo6DxMzVcS2v5FrB7ckdBRDU9Bfn0bQRH7wuz9vz2vDct6rNbW4cZYow4tPwHi v68HQxBU3pqK34ojs+1d9kCWCVl8e+QYVouDkDgSzAmPuVSm39Yp1X1XkF0vbWHaucu6 7eR3EIxmswBmtGatikv70sRj9ZjVMA78zsvXLy3CrRMEoMD2qQ78FhaGSoid11Q+fcvS qsN+JsfbxSyPGI+Yn3vVE4XXxM0DVj1xNPIme5nWJFfdQZIX/02vk+ic7n/+GFFYyubA rIvg== X-Gm-Message-State: ACrzQf2sEsaKgA93qJ2ec5pLXHS95eLqlhVTnA0hHSK3v7FNNqjqnC6R M9L25COl0V6h8H+VnD/ip1Av+bcWyL7cxhrn1M8= X-Google-Smtp-Source: AMsMyM4iM8qHDsUTp22Bx5ITDbewGX9Uq2O0L2Xh2nEtXFNdoEJdA5csYoUdRoAR0PdGWZzscn7e/Cb/q8HDXW07asA= X-Received: by 2002:a05:6402:27cf:b0:451:6ccc:4ea0 with SMTP id c15-20020a05640227cf00b004516ccc4ea0mr17504937ede.193.1664775502871; Sun, 02 Oct 2022 22:38:22 -0700 (PDT) MIME-Version: 1.0 References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <83y1u0auk4.fsf@gnu.org> <83wn9katho.fsf@gnu.org> <87y1tzhhq1.fsf@gnus.org> <87lepye8st.fsf@gnus.org> In-Reply-To: <87lepye8st.fsf@gnus.org> From: Pedro Andres Aranda Gutierrez Date: Mon, 3 Oct 2022 07:37:56 +0200 Message-ID: Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment To: Lars Ingebrigtsen Content-Type: multipart/alternative; boundary="0000000000007ac0d205ea1ac0d4" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58193 Cc: Eli Zaretskii , 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000007ac0d205ea1ac0d4 Content-Type: text/plain; charset="UTF-8" Sorry for the "telegram" ;-) I have been working all day yesterday using my functions using 'with-locale-environment' and I didn't experience any flicker. 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. Digression: What about adding a third (optional) parameter to format-time-string to set the locale for a specific call? This could be an alternative which might be more-lightweight than with-locale-environment, wouldn't it? Best, /PA On Sun, 2 Oct 2022 at 14:00, Lars Ingebrigtsen wrote: > Pedro Andres Aranda Gutierrez writes: > > > And, at least in my initial test it doesn't > > [...] > > > There should be no flickers with with-locale-environment, either, so it > > seems redundant. > > Does this mean that `with-locale-environment' doesn't flicker the screen > for you any more? I'm not sure how to parse that response... > -- 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 --0000000000007ac0d205ea1ac0d4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry for the "telegram" ;-)=C2=A0

= I have been working all day yesterday using my functions using 'with-lo= cale-environment' and I didn't experience any flicker.=C2=A0
<= /div>
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 des= pite, I admit, being somehow redundant. My feeling is that many of the sett= ings changed in with-locale-environment don't need to be changed for fo= rmat-time-string.=C2=A0

Digression: What about add= ing a third (optional) parameter to format-time-string to set the locale fo= r a specific call? This could be an alternative which might be more-lightwe= ight than with-locale-environment, wouldn't it?

Best, /PA



--
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

--0000000000007ac0d205ea1ac0d4-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 03 05:03:43 2022 Received: (at 58193) by debbugs.gnu.org; 3 Oct 2022 09:03:43 +0000 Received: from localhost ([127.0.0.1]:48936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofHMU-0004H5-Tz for submit@debbugs.gnu.org; Mon, 03 Oct 2022 05:03:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofHMT-0004Gn-H6 for 58193@debbugs.gnu.org; Mon, 03 Oct 2022 05:03:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=n/vdUdaeNP74ljiEAJ+RhmSqIY+5zqf8GLPf6N8/4ug=; b=CSo4YSaArtTJnBnq9ehZcKlZ+P sa6fj0H71ek4qMUCIuPWsxFgm+4sZcpWapdvyEUg6ijh87r/HGwDsckrPOCV5tGW8GBN8v2piDKJR rYI+UJmUfcOuIGMmOlm6bE1lrh12TcdBJzdowtPT4n8ARAbVPXemfyo3YlqLf+gVrV8Q=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofHMK-0007kf-Vw; Mon, 03 Oct 2022 11:03:35 +0200 From: Lars Ingebrigtsen To: Pedro Andres Aranda Gutierrez Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment In-Reply-To: (Pedro Andres Aranda Gutierrez's message of "Mon, 3 Oct 2022 07:37:56 +0200") References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <83y1u0auk4.fsf@gnu.org> <83wn9katho.fsf@gnu.org> <87y1tzhhq1.fsf@gnus.org> <87lepye8st.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEUyJSqZZV+wgnnL pp/x29L9+/n///+noQVCAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+YKAwkAMH3E7lMAAAGiSURBVDjL lZRbdoQgDIYJMwswOH0XnL5XoAtoxRUU9r+VJtxG7cxD4zkc5DPwJyQK8W8DRIThCUBjjNKY7cDN 7MiMRkPPHtBqCIGQM4o8AAYonoFtC6tz+uAgPK+nQOSkgEFKMTidX+X8IaRbaKbuWyKw2uIAoITE iaejZ5dV17AmOWiVgRgdoeogQKMEXb9CAssjEQqmqu9Gqj6aGDUabOCdTm8AII/l5XMH8mZtxnq/ NHQy1YlMDOpnktS1FFwZ/BR96CY6oJIbg8iBoLI5AnycTcmyg2pBFnBJxaKdrSkOeQRfQbJ0Z7wh lJuctwboGku+C+jrlGHlVxzAmOEMNFK9zEWZSGlPlJ1dLZY9SMFzURTVWzqi1dbw/oIaZngJthfA n4DrZdFSEotiZ9p1yOoSs2+ryJ52Am7jI9zUwXuLm4q1lypf/VtPiCcH3Y9YPxtYxtXZ3m+X4HsI aHbdI8O9rG8xLMr0nQS4cStqQ/pG3LUb5kDigrcYTm04hshtcKXxCIjYPAZ7AiKX2oWjEE+MysPR XpBr+ECoy0z5qyjEXx1Skfhmv1qVAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTEwLTAzVDA5OjAw OjQ3KzAwOjAwqBsaWgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0xMC0wM1QwOTowMDo0NyswMDow MNlGouYAAAAASUVORK5CYII= X-Now-Playing: Eurythmics's _1984 (For The Love Of Big Brother)_: "For The Love Of Big Brother" Date: Mon, 03 Oct 2022 11:03:32 +0200 Message-ID: <87h70l8ejf.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Pedro Andres Aranda Gutierrez writes: > I have been working all day yesterday using my functions using > 'with-locale-environment' and I didn't experience any flicker. OK; closing this bug report. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: Eli Zaretskii , 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Pedro Andres Aranda Gutierrez writes: > I have been working all day yesterday using my functions using > 'with-locale-environment' and I didn't experience any flicker. OK; closing this bug report. > 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. I don't think there's much need for finer granularity here. > Digression: What about adding a third (optional) parameter to > format-time-string to set the locale for a specific call? This could > be an alternative which might be more-lightweight than > with-locale-environment, wouldn't it? It would still have to change the locale, so it wouldn't be more lightweight. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 03 05:03:55 2022 Received: (at control) by debbugs.gnu.org; 3 Oct 2022 09:03:55 +0000 Received: from localhost ([127.0.0.1]:48939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofHMh-0004Ha-Be for submit@debbugs.gnu.org; Mon, 03 Oct 2022 05:03:55 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofHMf-0004HL-62 for control@debbugs.gnu.org; Mon, 03 Oct 2022 05:03:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=n+vn5BDeR6s+oEKuy7ZNujF4/Diat0PFJfCgyB4I3us=; b=CUD8MIHbXdKEhGxsEMD6joYwvN S4PttRS3kuVLmdhLwQtDgcQSAXqMnRDdRmF+G4ALo+7RlBt7TecxSddnlwyi+hMWLODulexGjHxih GK59KScG86lHrE9ItQo7OT133dwNPtpjspjolzE8J0r/Ou1ajClGFmPjYOvDUS2oRBFI=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofHMX-0007kq-Ae for control@debbugs.gnu.org; Mon, 03 Oct 2022 11:03:47 +0200 Date: Mon, 03 Oct 2022 11:03:44 +0200 Message-Id: <87czb98ej3.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #58193 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 58193 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 58193 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 03 12:38:41 2022 Received: (at 58193) by debbugs.gnu.org; 3 Oct 2022 16:38:41 +0000 Received: from localhost ([127.0.0.1]:51605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofOSn-00035k-Dv for submit@debbugs.gnu.org; Mon, 03 Oct 2022 12:38:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofOSm-00035T-9V for 58193@debbugs.gnu.org; Mon, 03 Oct 2022 12:38:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofOSg-0002VF-R6; Mon, 03 Oct 2022 12:38:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1qLAwiagae9YwuqsyfbRNFLwuV61urql9hiyWEs1Ytc=; b=GbPiZAHxoXdy xmUNbLA0uQDjaWePX3glDKBlwNgQ67R4SeqRwhIRC9FELRChA5rpiBPdBtIxGCh7skBZFByIP5bt+ QapNTOESz25j+quKfKBAEpVuEHwC7AyPJ8Q3oKv672qmgW28O1UsVmrUdPwTNnRKgIg50ZAvfTCut usfX6qYueHWvEyr1Y6BVbxp+U+j4NlDkFgRGpp/bAP0j603B7ST1EE233MZQKXvgimfbulyfP9/hl pvO9NJKS8n9SdvtsyuahAuCrbNrC+RqxPfEBz/44mc7xmcMRMTM8Sua691CcOrYNnUpXbf7RtS3Ud YiOJ64Ygd627cYoMZvjoyA==; Received: from [87.69.77.57] (port=1835 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofOSg-0002dQ-5G; Mon, 03 Oct 2022 12:38:34 -0400 Date: Mon, 03 Oct 2022 19:38:28 +0300 Message-Id: <83zgecyi9n.fsf@gnu.org> From: Eli Zaretskii To: Pedro Andres Aranda Gutierrez In-Reply-To: (message from Pedro Andres Aranda Gutierrez on Mon, 3 Oct 2022 07:37:56 +0200) Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <83y1u0auk4.fsf@gnu.org> <83wn9katho.fsf@gnu.org> <87y1tzhhq1.fsf@gnus.org> <87lepye8st.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: larsi@gnus.org, 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Pedro Andres Aranda Gutierrez > Date: Mon, 3 Oct 2022 07:37:56 +0200 > Cc: Eli Zaretskii , 58193@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 ....)) From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 03 12:48:20 2022 Received: (at 58193) by debbugs.gnu.org; 3 Oct 2022 16:48:20 +0000 Received: from localhost ([127.0.0.1]:51614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofOc7-0003M5-T0 for submit@debbugs.gnu.org; Mon, 03 Oct 2022 12:48:20 -0400 Received: from mail-ej1-f50.google.com ([209.85.218.50]:35345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofOc5-0003Lr-L9 for 58193@debbugs.gnu.org; Mon, 03 Oct 2022 12:48:18 -0400 Received: by mail-ej1-f50.google.com with SMTP id sd10so23496122ejc.2 for <58193@debbugs.gnu.org>; Mon, 03 Oct 2022 09:48:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=PZYvfmL1f5K93MZIm+Pc//FMwxtgqRhEiSdSHd8gNRE=; b=i/jAA642X0txs4/SmhJvRYZUrZ3cKtVW5QTdKux3/mFCxsH/z4ymsyxboIJRNenuGE QR0C5plyTrzVewVJG6yJHkLMovtj/0ZcKlDzL0vfZeA047xDGJfSpFP9Wcps97+swDVm FeR9SrlkBQpZoif3WmMlHySClhvwW8H/6nhBoaTZ0jYY264xXMGZx1g6NsJCWXI8p9l4 KLG3D7BgY8ZUAFD2sI5RLWCWhhfX/kORzE9oDm+3Vfmf0obj54bAhQzCaeTYQagmYL+4 3OKyYl7PBIZWpEUtBjdcO9iQHoH56LgXjhnzZGDltyowsIHaDAUo9Bzg6BBChlLoFqwN yG7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=PZYvfmL1f5K93MZIm+Pc//FMwxtgqRhEiSdSHd8gNRE=; b=gjHGOjF+ODyGEbE7L9BDKglOAZ8rfHDBN3mV4JTrlJbOmMWhe548uxR3O8SDIla1HD 6Dn0WrmSxECFiyKTLH3dYqofyl+znCUzjlNhLsG5ZggJyZ+IQGf6p9LTPizsUjPkLW0i +lxMXWAcfXMr3Cm+q56+DLBufLecHMfzthjNmjk8ctKpleOgJDNPZ/sqDW34c62OY5JQ aKex/0spbokr/B0IQkuRKNnj/sU8CAE3r7OFh7VL60tRlLcyYcAGMh03SVqKYJy77AHW WQZ3daf2pk7+CmmXaZIwUJfutOqoBHN4F5qkzg/Eq7uBECc5gSispvf/6TUXaNQ6BhXE 6BHw== X-Gm-Message-State: ACrzQf2fqhs3rBxVivuoJYoNiquQk4G0UgMygqNEUgJdKQBiNT/norke QFvGkP0sG2/lT8PaWb7aUJqgllHjkML0F0GmmBU= X-Google-Smtp-Source: AMsMyM6SIGcPZnUcQBhJc0j3sHxCFo2RECb3PqzVO9v3sxPNhizBs4e1f2AkwlsUl68K2ZBo4yYWSWy8TA1oYW2hheg= X-Received: by 2002:a17:906:8a66:b0:78b:da52:b752 with SMTP id hy6-20020a1709068a6600b0078bda52b752mr3478729ejc.365.1664815691471; Mon, 03 Oct 2022 09:48:11 -0700 (PDT) MIME-Version: 1.0 References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <83y1u0auk4.fsf@gnu.org> <83wn9katho.fsf@gnu.org> <87y1tzhhq1.fsf@gnus.org> <87lepye8st.fsf@gnus.org> <83zgecyi9n.fsf@gnu.org> In-Reply-To: <83zgecyi9n.fsf@gnu.org> From: Pedro Andres Aranda Gutierrez Date: Mon, 3 Oct 2022 18:47:45 +0200 Message-ID: Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000e81f0105ea241bdb" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58193 Cc: larsi@gnus.org, 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000e81f0105ea241bdb Content-Type: text/plain; charset="UTF-8" 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 wrote: > > From: Pedro Andres Aranda Gutierrez > > Date: Mon, 3 Oct 2022 07:37:56 +0200 > > Cc: Eli Zaretskii , 58193@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 --000000000000e81f0105ea241bdb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
HI Eli,=C2=A0

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 ch= ange it permanently.=C2=A0

BTW am I missing someth= ing .. would your let just change the value of system-time-locale in the bo= dy of the let and then restore it to its original value?

/PA

Best, /PA

> Fro= m: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> Date: Mon, 3 Oct 2022 07:37:56 +0200
> Cc: Eli Zaretskii <eliz@gnu.org>, 58193@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 fo= rmat-time-string.

What's wrong with

=C2=A0 (let ((system-time-local SOME-LOCALE))
=C2=A0 =C2=A0 =C2=A0DO-SOMETHING)

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

How is that different from

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



--
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

--000000000000e81f0105ea241bdb-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 03 13:31:49 2022 Received: (at 58193) by debbugs.gnu.org; 3 Oct 2022 17:31:49 +0000 Received: from localhost ([127.0.0.1]:51674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofPID-0006eU-Be for submit@debbugs.gnu.org; Mon, 03 Oct 2022 13:31:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofPIB-0006eH-4I for 58193@debbugs.gnu.org; Mon, 03 Oct 2022 13:31:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofPI5-0002dk-P2; Mon, 03 Oct 2022 13:31:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=UXhp8CJcHV3Jso7x6NPcNIohCNkdWt9pHB1kz97SfDs=; b=U512cq0w6Uml j7oFzZRLbRKq963NbYMzX8ox6lsrchAf6vXgLo4dl+M8Jv7mtocEMEWEHdSkBf3y5lJCJHWsRSzet kH1Ai/YoOXAmko3/WBK5OH8ouixbJZT8O4MrSQKH+n4y0bQJytIMm4Ub1OX6fJ6MuR8wxIIV6dHfP a0rF564sgzgZESFi5yhLq+TOr76h9iLnzODbio5cX2t9Szv6o1yJBz1LXosN5lxvMF2egfworu7s5 Ipxt7U+MEg8Z5DrySNbc8mhTszh3Fz92A4BGitV8mR4bIkfvLkjZ2Ppk6SpH8egRst8fHiyIhWg2E hbBgsZT3k1By8aIAkWyD3A==; Received: from [87.69.77.57] (port=1080 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofPHQ-0007wS-RP; Mon, 03 Oct 2022 13:31:03 -0400 Date: Mon, 03 Oct 2022 20:30:55 +0300 Message-Id: <83k05gyfu8.fsf@gnu.org> From: Eli Zaretskii To: Pedro Andres Aranda Gutierrez In-Reply-To: (message from Pedro Andres Aranda Gutierrez on Mon, 3 Oct 2022 18:47:45 +0200) Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <83y1u0auk4.fsf@gnu.org> <83wn9katho.fsf@gnu.org> <87y1tzhhq1.fsf@gnus.org> <87lepye8st.fsf@gnus.org> <83zgecyi9n.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58193 Cc: larsi@gnus.org, 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Pedro Andres Aranda Gutierrez > Date: Mon, 3 Oct 2022 18:47:45 +0200 > Cc: larsi@gnus.org, 58193@debbugs.gnu.org > > 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? Yes, that's the general feature of let-binding. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 02:11:33 2022 Received: (at 58193) by debbugs.gnu.org; 4 Oct 2022 06:11:33 +0000 Received: from localhost ([127.0.0.1]:52165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofb9R-0002jx-8w for submit@debbugs.gnu.org; Tue, 04 Oct 2022 02:11:33 -0400 Received: from mail-ed1-f44.google.com ([209.85.208.44]:46862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofb9O-0002ji-V2 for 58193@debbugs.gnu.org; Tue, 04 Oct 2022 02:11:31 -0400 Received: by mail-ed1-f44.google.com with SMTP id m15so17401815edb.13 for <58193@debbugs.gnu.org>; Mon, 03 Oct 2022 23:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=pZx7zD83tSTgrdCAx7Vw3DWonLwC/AF2nOrlS150hm8=; b=epnbJJcj27HDv89+YYj4AgcwX1hnq22mPXNcVWmyP6lfszrWJbgU9BgZWi1GcdfBg/ RNqL40FB7cQzslmPW8dj3RRvRY2z6gE9scQCorjnWHx5/J3+41FJSwev60DNc2t9v51g U29NZ5hfDNvmvwUr0sEzQeVxGmuHq6LQeU0HIoFuo0tQI3oueLsfUkOBz9p/dLZ0zgD3 mJBjnIzdDXj9hUkpYL87OoM/4EPg214BEQtn7MSfuBYBzqsKmUOzaz+zcp0gVn5z5dYO UrltukOD3tnEP2NbxfuscL0trvGSVAu6IfsuAcPoyc3KZ93xHjbMwKL6Q9TaBaAoeJOo bj8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=pZx7zD83tSTgrdCAx7Vw3DWonLwC/AF2nOrlS150hm8=; b=zeinoNRdzWHI0H20DO82xqPS6WXd07qw6I4oVSqZiXeo25EkNevqDAs1xKh6/0INMF OOsS9t7ZqOVQaMc3O5EayYZpRKg3aPT/weN26knv06Q3PmNg+jVPwUUVtZ0Y9nbQ9rfq QRX8m1l0lhEQjORXi4Mxt8uybxfhLCCuASpNqpuuDO5JtjUE277Ib5vr7SSfj/vG5RN2 AUeWmLWlAJQrt/92zVRbXUczmK/TymtP+ve5PQdTy/F7hLD8JDLLJSM5VteWiwpG7rji RLBPc4gEOUgstjXFMRClrIEsl16jx/KIsEoa/klI3fCeuK3DsYJ+0v27PElzebaZT6Zo e/Ug== X-Gm-Message-State: ACrzQf2VoUuFUsZdbqlLFAuzVSBnlNkw/bX+B+vDve7/JOTIArNdHIBg zjtsU9DzkWYbwn0CF8DeQM+n6pHRBaEJsVtG32I= X-Google-Smtp-Source: AMsMyM4+rpv6gP85xmlRxJxOH+MwckSf2TanzxJXBFAdAhc8npBEzsMW+JerhF9QuMclRd7c1ydiVCj7aS8z1gJp+ko= X-Received: by 2002:a05:6402:2489:b0:454:11de:7698 with SMTP id q9-20020a056402248900b0045411de7698mr22514755eda.214.1664863883724; Mon, 03 Oct 2022 23:11:23 -0700 (PDT) MIME-Version: 1.0 References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> <83leq0d83g.fsf@gnu.org> <83y1u0auk4.fsf@gnu.org> <83wn9katho.fsf@gnu.org> <87y1tzhhq1.fsf@gnus.org> <87lepye8st.fsf@gnus.org> <83zgecyi9n.fsf@gnu.org> <83k05gyfu8.fsf@gnu.org> In-Reply-To: <83k05gyfu8.fsf@gnu.org> From: Pedro Andres Aranda Gutierrez Date: Tue, 4 Oct 2022 08:10:57 +0200 Message-ID: Subject: Re: bug#58193: 29.0.50; Screen flickers on with-locale-environment To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000638b0005ea2f54f3" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58193 Cc: larsi@gnus.org, 58193@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000638b0005ea2f54f3 Content-Type: text/plain; charset="UTF-8" Hmmm.... that is not what I understand from 3.6 in the Introduction to Emacs Lisp Programming. If you read the section, it talks about 'local variables'. Depending on you programming background, local may be different from local... I have always understood local as variable that has a meaning within a context and if I happen to use the name of a global variable that is used in the system, then bad luck. It would be nice to say that when you put a variable like system-time-locale in a let, the global variable's value is 'pushed' and will be recovered once you leave the let-binding. Just to make sure there is no misunderstanding. I'll try to see how to tackle this in the elisp Introduction and will propose a patch. Anyhow, better late than never :-) that's what I like, always learning something new. Best, /PA On Mon, 3 Oct 2022 at 19:31, Eli Zaretskii wrote: > > From: Pedro Andres Aranda Gutierrez > > Date: Mon, 3 Oct 2022 18:47:45 +0200 > > Cc: larsi@gnus.org, 58193@debbugs.gnu.org > > > > 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? > > Yes, that's the general feature of let-binding. > -- 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 --000000000000638b0005ea2f54f3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hmmm.... that is not what I understand fr= om 3.6 in the Introduction to Emacs Lisp Programming.=C2=A0
If you read= the section, it talks about 'local variables'.
Depending= on you programming background, local may be different from local...
<= div>I have always understood local as variable that has a meaning within a = context and if I happen to use the name of a global variable that is used i= n the system, then bad luck. It would be nice to say that when you put a va= riable like system-time-locale in a let, the global variable's value is= 'pushed' and will be recovered once you leave the let-binding. Jus= t to make sure there is no misunderstanding.

I'= ;ll try to see how to tackle this in the elisp Introduction and will propos= e a patch.

Anyhow, better late than never :-) that= 's what I like, always learning something new.

Best, /PA

On Mon, 3 Oct 2022 at 19:31, Eli Zaretskii <eliz@gnu.org> wrote:
> From: Pedro Andres Aranda Gutier= rez <paaguti@gmai= l.com>
> Date: Mon, 3 Oct 2022 18:47:45 +0200
> Cc: larsi@gnus.org= , 58193@debb= ugs.gnu.org
>
> 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?

Yes, that's the general feature of let-binding.


--
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

--000000000000638b0005ea2f54f3-- From unknown Fri Aug 15 03:38:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 01 Nov 2022 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator