From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Unfreezing the display during auto-repeated scrolling. Date: Mon, 27 Oct 2014 05:36:32 +0200 Message-ID: <8361f6420v.fsf@gnu.org> References: <87y4s9rgi9.fsf@fencepost.gnu.org> <83zjcpa11g.fsf@gnu.org> <20141021171403.GB3035@acm.acm> <83oat59ucc.fsf@gnu.org> <20141021183807.GD3035@acm.acm> <20141026124333.GA4397@acm.acm> <83h9yq4w5g.fsf@gnu.org> <20141026200313.GE4397@acm.acm> <20141026221530.GF4397@acm.acm> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1414381027 21450 80.91.229.3 (27 Oct 2014 03:37:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2014 03:37:07 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 27 04:36:58 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xib74-0001h6-2y for ged-emacs-devel@m.gmane.org; Mon, 27 Oct 2014 04:36:58 +0100 Original-Received: from localhost ([::1]:59086 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xib73-0003bm-Ko for ged-emacs-devel@m.gmane.org; Sun, 26 Oct 2014 23:36:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xib6v-0003bT-Qy for emacs-devel@gnu.org; Sun, 26 Oct 2014 23:36:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xib6q-0005vo-O5 for emacs-devel@gnu.org; Sun, 26 Oct 2014 23:36:49 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:47778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xib6q-0005vh-G1 for emacs-devel@gnu.org; Sun, 26 Oct 2014 23:36:44 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NE300A002QPLK00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Mon, 27 Oct 2014 05:36:43 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NE300A343D6LZ10@a-mtaout21.012.net.il>; Mon, 27 Oct 2014 05:36:43 +0200 (IST) In-reply-to: <20141026221530.GF4397@acm.acm> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:175887 Archived-At: > Date: Sun, 26 Oct 2014 22:15:30 +0000 > Cc: Eli Zaretskii , emacs-devel@gnu.org > From: Alan Mackenzie > > Maybe Eli's suggestion of rewriting scroll-up and scroll-down from > scratch in Elisp could work, but if I'm not mistaken, there's no > infrastructural support for window lines, etc., which doesn't involve > fontification. This would have to be written. Since you don't really care about accuracy here, you could simply move in physical lines. That's fast and doesn't need any support from the display engine. > If movement on a window absolutely requires fontified characters, then > some means will need to be found for the display code to tell jit-lock > HOW MUCH needs fontifying, and for that amount to be much less than 500 > bytes in the non-display case. There already is such a parameter, you just need to use it. > One might argue that CC Mode fontification should be speeded up. Yes, it > should, but it's not ever going to be speeded up by an order of > magnitude. I don't see why not. We could rewrite that stuff in C.