From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#42406: Mouse-wheel scrolling can be flickering Date: Thu, 17 Dec 2020 14:56:40 -0500 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35049"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: alan@idiocy.org, konrad.podczeck@univie.ac.at, 42406@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 17 20:58:12 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 1kpzPg-00091A-Ef for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Dec 2020 20:58:12 +0100 Original-Received: from localhost ([::1]:47020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpzPf-0005zP-00 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Dec 2020 14:58:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpzPW-0005zH-41 for bug-gnu-emacs@gnu.org; Thu, 17 Dec 2020 14:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpzPV-0002OB-Sh for bug-gnu-emacs@gnu.org; Thu, 17 Dec 2020 14:58:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kpzPV-0004H1-QO for bug-gnu-emacs@gnu.org; Thu, 17 Dec 2020 14:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Dec 2020 19:58:01 +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.160823502516350 (code B ref 42406); Thu, 17 Dec 2020 19:58:01 +0000 Original-Received: (at 42406) by debbugs.gnu.org; 17 Dec 2020 19:57:05 +0000 Original-Received: from localhost ([127.0.0.1]:37040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpzOM-0004F2-MF for submit@debbugs.gnu.org; Thu, 17 Dec 2020 14:57:05 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:5703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpzOK-0004El-OW for 42406@debbugs.gnu.org; Thu, 17 Dec 2020 14:56:49 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 13C73441A7E; Thu, 17 Dec 2020 14:56:43 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0FC0C441A59; Thu, 17 Dec 2020 14:56:41 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1608235001; bh=og/u7akFn34m76X4bYnelA0ITZYMhrVV2sd6DQgUgs4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=KmBeJPA0eiXsVkd7RzjpcA6j+LB0hPun4or59arC3RcyM3Y5iPP8cPIqobjaJCs8b wybHW2lVKlG1fsRxGzO/fuke8hU/w98ue2GBcz1NEIa8xsB8sEzNeFPfWfT9nqnMv6 skCy6pNqdpXAOEfQMhIV3NGOiNRSdPmwLouYEGXRBQ0Dl9TmBY2NTJ3RukZn4ZfXxy Nur4Kt4tR2EWSH1iFtDZr9xoedSjGPoras+LPpySXJNTCivCiPukbO2luqVLusS6OC y72guWLHEimO2eWqJltfAbKLvKIQlCP4OwLnL7jlJUivl8OaWsMpgW3iPZ8UId7MQM +J31yA3NTPXoA== Original-Received: from alfajor (69-165-136-52.dsl.teksavvy.com [69.165.136.52]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id BEC0C12030D; Thu, 17 Dec 2020 14:56:40 -0500 (EST) In-Reply-To: <83im9070x6.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 17 Dec 2020 20:16:53 +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:196276 Archived-At: >> But in the present case, the only change is the w->start >> an the position of point: these are important enough to need to update >> the mode line (for the column&line number), but I don't think these are >> important enough to justify setting `update_mode_lines` to 42: >> not only other frames can't be affected, but even the current frame's >> title should basically never be affected either because it would be very >> unusual to have the line/column number as part of the frame title. > > "Unusual" doesn't mean "unsupported". I just tried to test my proposed patch to see if it breaks this feature, and it turns out that it's very definitely unusual: I don't know if it's supposed to be supported, but at least I can say that it doesn't work ;-) At least: emacs -Q --eval '(setq frame-title-format "(%l,%c)")' shows me "(,)" as the frame title with the code in `master` as well as with Emacs-25 and Emacs-27. So maybe the better approach to fix this performance problem is indeed not with the patch I proposed (which might still be a good idea in general) but with some other change which refrains from setting `update_mode_lines` at all just because we're scrolling. Stefan