From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58193: 29.0.50; Screen flickers on with-locale-environment Date: Fri, 30 Sep 2022 21:34:43 +0300 Message-ID: <83leq0d83g.fsf@gnu.org> References: <87wn9l3q5i.fsf@gnus.org> <83sfk8db0m.fsf@gnu.org> <87mtag4vhi.fsf@gnus.org> <83mtagdall.fsf@gnu.org> <87ill44v2o.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35502"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58193@debbugs.gnu.org, paaguti@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 30 20:36:20 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeKs0-00091r-6u for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Sep 2022 20:36:20 +0200 Original-Received: from localhost ([::1]:46982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeKrz-00023m-8l for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Sep 2022 14:36:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeKrj-00022e-D9 for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 14:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeKri-0005l6-Jm for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 14:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeKri-0007Hn-EA for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 14:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Sep 2022 18:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58193 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 58193-submit@debbugs.gnu.org id=B58193.166456290727940 (code B ref 58193); Fri, 30 Sep 2022 18:36:02 +0000 Original-Received: (at 58193) by debbugs.gnu.org; 30 Sep 2022 18:35:07 +0000 Original-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 Original-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 Original-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==; Original-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 In-Reply-To: <87ill44v2o.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 30 Sep 2022 19:43:11 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244047 Archived-At: > 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.