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#52332: 29.0.50; Invisible button in the mode line Date: Tue, 21 Dec 2021 14:21:12 +0200 Message-ID: <83wnjyywqv.fsf@gnu.org> References: <87pmq9d6vn.fsf@protesilaos.com> <83fsr51wvk.fsf@gnu.org> <87czm9bo4f.fsf@protesilaos.com> <83bl1t1tb6.fsf@gnu.org> <87v8zjmoyi.fsf@gnus.org> <87a6gujzfc.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23800"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52332@debbugs.gnu.org, info@protesilaos.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 21 13:23:33 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 1mzeB3-00061G-JO for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Dec 2021 13:23:33 +0100 Original-Received: from localhost ([::1]:59898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzeB2-0004Vs-Cs for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Dec 2021 07:23:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mze9b-0002nE-Mr for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2021 07:22:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41089) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mze9a-0007oC-Kc for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2021 07:22:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mze9a-0008H2-Hb for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2021 07:22: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: Tue, 21 Dec 2021 12:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52332 X-GNU-PR-Package: emacs Original-Received: via spool by 52332-submit@debbugs.gnu.org id=B52332.164008928031736 (code B ref 52332); Tue, 21 Dec 2021 12:22:02 +0000 Original-Received: (at 52332) by debbugs.gnu.org; 21 Dec 2021 12:21:20 +0000 Original-Received: from localhost ([127.0.0.1]:52635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mze8t-0008Fo-LK for submit@debbugs.gnu.org; Tue, 21 Dec 2021 07:21:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mze8s-0008FZ-Co for 52332@debbugs.gnu.org; Tue, 21 Dec 2021 07:21:18 -0500 Original-Received: from [2001:470:142:3::e] (port=46768 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 1mze8m-0007dX-Jy; Tue, 21 Dec 2021 07:21:12 -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=W+VJmt0pxvEJNLg8YvDOBS76p872N8hqAyvIgqa7r/Y=; b=dz1wbDtbOAcZ /m1XrtoFeKoWcPLwV+6+yt3tMNicBlef/gIjSY3vriCepyaLxET3Yn/7J5odnNFgz+5eQaWsKZq0j qKusL3EB3hDLqjiMP4aUGYJ6V7E7Smjcl8c/S93DZdaiQYNldlsWGSIBOWYxwYKhLgw1siiA6TIz2 Vgm3j+cNy4ckPeFYlSNYU/zR7ZkyGUmUEoTcfGavw11D5yvfGJxajrK6lYzURtjH8hM5rhdnkdszm lUlleCIniGNzoa/hOAYjc1/wgAQqD7vE6Laeu4njYLEszTdcfnz+F0tM3pi1FLtOJU1KN5yCXlsVY qzyaAMtqss3XiTgFALeoKw==; Original-Received: from [87.69.77.57] (port=2013 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 1mze8m-0002g7-DM; Tue, 21 Dec 2021 07:21:12 -0500 In-Reply-To: <87a6gujzfc.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 21 Dec 2021 06:32:23 +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:222875 Archived-At: > From: Lars Ingebrigtsen > Cc: 52332@debbugs.gnu.org, Protesilaos Stavrou > Date: Tue, 21 Dec 2021 06:32:23 +0100 > > By the way, I wanted to mention -- while poking at this stuff, I noticed > that apparently the mode line is redisplayed multiple times when doing > some common things. > > For instance, hitting page-down seems to render the mode line twice? > Mouse-clicking something also renders it twice. Hm... oh, it renders > once on mouse-down and once on mouse-up, so I guess that's OK. So I > guess the only mysterious one is the page-down/page-up double render. This is normal. Scrolling commands first see if point is inside the window, and that requires redisplay of the mode line (because its spec could have changed in the meanwhile). Then the scrolling commands determine the appropriate window-start point, and then redisplay kicks in with the second update of the mode line.