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: Fri, 18 Dec 2020 22:42:52 +0200 Message-ID: <83tusi6e2b.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> <837dpkcqpa.fsf@gnu.org> <83im9070x6.fsf@gnu.org> <83ft446uh7.fsf@gnu.org> <837dpf7e5n.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8260"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alan@idiocy.org, konrad.podczeck@univie.ac.at, 42406@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 18 21:44:09 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 1kqMbh-000231-KH for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Dec 2020 21:44:09 +0100 Original-Received: from localhost ([::1]:42536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqMbg-0004zH-IC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Dec 2020 15:44:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqMba-0004z7-Lk for bug-gnu-emacs@gnu.org; Fri, 18 Dec 2020 15:44:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqMba-0007mh-E1 for bug-gnu-emacs@gnu.org; Fri, 18 Dec 2020 15:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqMba-00064Q-94 for bug-gnu-emacs@gnu.org; Fri, 18 Dec 2020 15:44: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: Fri, 18 Dec 2020 20:44: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.160832418423263 (code B ref 42406); Fri, 18 Dec 2020 20:44:02 +0000 Original-Received: (at 42406) by debbugs.gnu.org; 18 Dec 2020 20:43:04 +0000 Original-Received: from localhost ([127.0.0.1]:40111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqMad-000639-Sw for submit@debbugs.gnu.org; Fri, 18 Dec 2020 15:43:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqMaZ-00062a-7H for 42406@debbugs.gnu.org; Fri, 18 Dec 2020 15:43:02 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40321) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqMaR-0007QI-JB; Fri, 18 Dec 2020 15:42:51 -0500 Original-Received: from [176.228.60.248] (port=4343 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kqMaQ-0003Uu-Sg; Fri, 18 Dec 2020 15:42:51 -0500 In-Reply-To: (message from Stefan Monnier on Fri, 18 Dec 2020 11:22:40 -0500) 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:196347 Archived-At: > From: Stefan Monnier > Cc: alan@idiocy.org, konrad.podczeck@univie.ac.at, 42406@debbugs.gnu.org > Date: Fri, 18 Dec 2020 11:22:40 -0500 > > To be clear: I have no intention to push this to `emacs-27`, but > I can't see any good reason not to push it to master (after fixing its > FIXME, obviously). I thought I already explained why I'm not interested in such "fixes". I'd welcome a thorough redesign of the flags and introduction of new flags to allow us to redraw specific parts like frame titles and menu bars (or new values of existing flags to the same effect). Then it will be worth our while to risk breaking some use cases. But I don't want to increase the existing mess by lumping more and more logic on top of what we already have, because that brings the same risks without any benefits. Sorry. Oh, and your question about where the change in mode-line dimensions is handled? it's here: display_mode_lines (w); /* If mode line height has changed, arrange for a thorough immediate redisplay using the correct mode line height. */ if (window_wants_mode_line (w) && CURRENT_MODE_LINE_HEIGHT (w) != DESIRED_MODE_LINE_HEIGHT (w)) { f->fonts_changed = true; w->mode_line_height = -1; MATRIX_MODE_LINE_ROW (w->current_matrix)->height = DESIRED_MODE_LINE_HEIGHT (w); } [...] if (f->fonts_changed) goto need_larger_matrices;