From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: emacs rendering comparisson between emacs23 and emacs26.3 Date: Mon, 6 Apr 2020 12:26:42 +0000 Message-ID: <20200406122642.GC7100@ACM> References: <20200404104553.GA5329@ACM> <07fe3b69-3ab2-3173-0696-cb17809e2b91@gmx.at> <83blo7v68b.fsf@gnu.org> <1845d7aa-9ae4-3d95-6a30-c7b1d8d8adec@gmx.at> <83a73qt6zs.fsf@gnu.org> <97c4254e-ff43-8402-3645-f713c408c245@gmx.at> <83y2r9syby.fsf@gnu.org> <20200405195753.GG5049@ACM> <83k12ts60l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="5403"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, rrandresf@gmail.com, emacs-devel@gnu.org, rms@gnu.org, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 06 14:27:25 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jLQqX-0001El-FL for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Apr 2020 14:27:21 +0200 Original-Received: from localhost ([::1]:59612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLQqW-0001Er-Ic for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Apr 2020 08:27:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40648) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLQq3-0000nu-Fw for emacs-devel@gnu.org; Mon, 06 Apr 2020 08:26:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLQq1-0006kk-JR for emacs-devel@gnu.org; Mon, 06 Apr 2020 08:26:50 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:45307 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1jLQq1-0006jf-0U for emacs-devel@gnu.org; Mon, 06 Apr 2020 08:26:49 -0400 Original-Received: (qmail 86922 invoked by uid 3782); 6 Apr 2020 12:26:47 -0000 Original-Received: from acm.muc.de (p4FE15D4F.dip0.t-ipconnect.de [79.225.93.79]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Mon, 06 Apr 2020 14:26:42 +0200 Original-Received: (qmail 8282 invoked by uid 1000); 6 Apr 2020 12:26:42 -0000 Content-Disposition: inline In-Reply-To: <83k12ts60l.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246517 Archived-At: Hello, Eli. On Mon, Apr 06, 2020 at 05:27:22 +0300, Eli Zaretskii wrote: > > Date: Sun, 5 Apr 2020 19:57:53 +0000 > > From: Alan Mackenzie > > Cc: martin rudalics , Eli Zaretskii , > > rrandresf@gmail.com, rms@gnu.org, emacs-devel@gnu.org > > Try this: > > diff --git a/src/window.c b/src/window.c > > index 8cdad27b66..b23ae41aba 100644 > > --- a/src/window.c > > +++ b/src/window.c > > @@ -5475,7 +5475,9 @@ window_scroll (Lisp_Object window, EMACS_INT n, bool whole, bool noerror) > > wset_redisplay (XWINDOW (window)); > > - if (whole && Vfast_but_imprecise_scrolling) > > + if (Vfast_but_imprecise_scrolling > > + && (whole > > + || EQ (Vthis_command, Qmwheel_scroll))) > > specbind (Qfontification_functions, Qnil); > That's just to make a point, no? You don't seriously propose such a > change, right? Well, the point is that extending the domain of fast-but-imprecise-scrolling isn't difficult. As to whether or not it's a good idea, probably not in such a crude manner. I think I would favour such an extension, yes, but I don't feel strongly about it. It would solve the problem of the 10 second wait at the end of crazed mouse wheel scrolling, though. -- Alan Mackenzie (Nuremberg, Germany).