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#42406: Mouse-wheel scrolling can be flickering Date: Mon, 14 Dec 2020 18:17:12 +0200 Message-ID: <833608cqgn.fsf@gnu.org> References: <20200722201659.GA1541@breton.holly.idiocy.org> <969D8DEC-6837-4DD4-93E9-F359DADE1EAB@univie.ac.at> <20201010095100.GG60347@breton.holly.idiocy.org> <9849711D-8DBE-4030-8020-84D86E72505B@univie.ac.at> <83czzg3ge1.fsf@gnu.org> <83sg89cyrq.fsf@gnu.org> <0FD2AAC6-BA1C-483F-9967-3E18B4ADD4D3@univie.ac.at> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19251"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alan@idiocy.org, 42406@debbugs.gnu.org To: Konrad Podczeck Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 14 17:24:14 2020 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 1koqdx-0004tU-Ut for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Dec 2020 17:24:13 +0100 Original-Received: from localhost ([::1]:52480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koqdw-0005yn-TV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Dec 2020 11:24:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koqXy-0008U6-KX for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 11:18:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42407) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koqXy-000589-D7 for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 11:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koqXy-0002Hq-9W for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 11:18: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: Mon, 14 Dec 2020 16:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42406 X-GNU-PR-Package: emacs Original-Received: via spool by 42406-submit@debbugs.gnu.org id=B42406.16079626568721 (code B ref 42406); Mon, 14 Dec 2020 16:18:02 +0000 Original-Received: (at 42406) by debbugs.gnu.org; 14 Dec 2020 16:17:36 +0000 Original-Received: from localhost ([127.0.0.1]:53946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koqXY-0002Ga-C1 for submit@debbugs.gnu.org; Mon, 14 Dec 2020 11:17:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koqXP-00026T-8b for 42406@debbugs.gnu.org; Mon, 14 Dec 2020 11:17:35 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54693) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koqXI-000557-Fk; Mon, 14 Dec 2020 11:17:20 -0500 Original-Received: from [176.228.60.248] (port=4475 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1koqXI-00089h-0S; Mon, 14 Dec 2020 11:17:20 -0500 In-Reply-To: <0FD2AAC6-BA1C-483F-9967-3E18B4ADD4D3@univie.ac.at> (message from Konrad Podczeck on Mon, 14 Dec 2020 01:20:39 +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:196072 Archived-At: > From: Konrad Podczeck > Date: Mon, 14 Dec 2020 01:20:39 +0100 > Cc: Eli Zaretskii , > 42406@debbugs.gnu.org > > In view of the comments made by Eli, I made a shoot in the dark, and, in window.c, commented out the occurrences of wset_update_mode_line on lines 1850, 4011, 5630, 5819, 6079, as well as the respective line after the three statements lines where "Bug#15957" is written. With these (actually I have not testes which of these (out-commentings are relevant) the problem has completely gone. I am aware that this is not a real solution, but it shows that there is some room. Which are the risks caused by these changes of the code? As explained in my other message, avoiding to call wset_update_mode_line will cause subtle redisplay bugs.