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#52666: 27.0.50; Unexpected mode line flickering when creating frames Date: Wed, 22 Dec 2021 15:37:17 +0200 Message-ID: <83ilvgyd4i.fsf@gnu.org> References: <837dbz2twl.fsf@gnu.org> <84953d3c-e328-6221-3747-f7cfc69d89f6@gmx.at> <87wnjz6spx.fsf@metalevel.at> <058d7891-a08a-2ba8-e3c1-9a29ff3c8092@gmx.at> <87y24fdspi.fsf@metalevel.at> <6faae86d-b1ef-57b4-e5d8-298c7777be24@gmx.at> <87o859vgas.fsf@metalevel.at> <1557a1b7-f634-3add-5dde-6326b0b74328@gmx.at> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29870"; mail-complaints-to="usenet@ciao.gmane.io" Cc: triska@metalevel.at, 52666@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 22 14:45:35 2021 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 1n01vy-0007Ys-TV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Dec 2021 14:45:35 +0100 Original-Received: from localhost ([::1]:35840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n01vx-0007fn-6v for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Dec 2021 08:45:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n01oj-00027l-QY for bug-gnu-emacs@gnu.org; Wed, 22 Dec 2021 08:38:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45571) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n01og-0001PC-1y for bug-gnu-emacs@gnu.org; Wed, 22 Dec 2021 08:38:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n01og-0002lf-0Q for bug-gnu-emacs@gnu.org; Wed, 22 Dec 2021 08:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Dec 2021 13:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52666 X-GNU-PR-Package: emacs Original-Received: via spool by 52666-submit@debbugs.gnu.org id=B52666.164018024310595 (code B ref 52666); Wed, 22 Dec 2021 13:38:01 +0000 Original-Received: (at 52666) by debbugs.gnu.org; 22 Dec 2021 13:37:23 +0000 Original-Received: from localhost ([127.0.0.1]:57117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n01o3-0002ko-JX for submit@debbugs.gnu.org; Wed, 22 Dec 2021 08:37:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n01o2-0002kb-2a for 52666@debbugs.gnu.org; Wed, 22 Dec 2021 08:37:22 -0500 Original-Received: from [2001:470:142:3::e] (port=38922 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n01nv-0001EJ-0b; Wed, 22 Dec 2021 08:37:16 -0500 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=j15YK4r8Z3Mz5+MhCEDwK8YOzKcpDMSUY8JRzeEVxlA=; b=RGKtk9RdqsNA ZybV1rpcHKt2uTvPTkv2U7JK/tHn7r23h1CenaqWGIZlKLPfhoBZWxG/YtqK5zH8UJyU+1KAFkhlX jXBOG4GxJ2anDPZAlpvwocRbnG+iHxbJA2t/SWy7V8vuGWvleGAKd2mAXRawK/h9bD/Q6cdJtxsW+ zeLieAN17IjuDMR5AvVMNdZ/sq7+J2A1TqsR4vraTGlDXqhiML0bxcoxBvmJBzkv7hg8IILfsWQnU zDDIbqmUv4LV5datMGXxndUK+oFK+yER/lgQ5tOIq2Lpps5xn9ay5njE0mm9AnTomp5sUKUy+ogmG 4ug2DiIYdHQm0mJ9ZFiADQ==; Original-Received: from [87.69.77.57] (port=4522 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 1n01nu-0005Zk-UY; Wed, 22 Dec 2021 08:37:15 -0500 In-Reply-To: <1557a1b7-f634-3add-5dde-6326b0b74328@gmx.at> (message from martin rudalics on Wed, 22 Dec 2021 10:22:57 +0100) 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:222939 Archived-At: > Cc: Eli Zaretskii , 52666@debbugs.gnu.org > From: martin rudalics > Date: Wed, 22 Dec 2021 10:22:57 +0100 > > > 39.2 Forcing Redisplay > > ====================== > > > > Emacs normally tries to redisplay the screen whenever it waits for > > input. > > > > In the example that exhibits the flickering, there is no waiting for > > input between the creation of the frame and the change of its width and > > height. > > Maybe that line is confusing. Not really. It says "normally", and that is accurate. There are other situations where Emacs does redisplay, either because some Lisp program forced it to do so, or for other reasons. The ELisp manual has limitations if treated as documentation of the Emacs internals -- that's not its purpose. > Emacs may have to redisplay whenever it > receives a corresponding event (like Map, Visibility, Expose and Focus > notifications). Waiting for user input is only a tangential aspect > there. Not entirely, or at least not always: Emacs ("normally") reads events when it waits for input.