From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Unfreezing the display during auto-repeated scrolling. Simpler approach. Date: Mon, 24 Nov 2014 12:53:55 +0100 Organization: Organization?!? Message-ID: <87fvd84xws.fsf@fencepost.gnu.org> References: <20141029212525.GD2953@acm.acm> <20141030220919.GB2721@acm.acm> <83oasszn9e.fsf@gnu.org> <20141121154420.GA24582@acm.acm> <87vbm6z1lc.fsf@thinkpad-t440p.tsdh.org> <20141123104038.GA3542@acm.acm> <87egstaehk.fsf@thinkpad-t440p.tsdh.org> <20141123220441.GA3628@acm.acm> <87sih8x25d.fsf@thinkpad-t440p.tsdh.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416830074 3028 80.91.229.3 (24 Nov 2014 11:54:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2014 11:54:34 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 24 12:54:27 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 1XssDq-0006mn-83 for ged-emacs-devel@m.gmane.org; Mon, 24 Nov 2014 12:54:26 +0100 Original-Received: from localhost ([::1]:52142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XssDp-00015x-Sz for ged-emacs-devel@m.gmane.org; Mon, 24 Nov 2014 06:54:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XssDi-00015T-BM for emacs-devel@gnu.org; Mon, 24 Nov 2014 06:54:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XssDd-0004iR-1k for emacs-devel@gnu.org; Mon, 24 Nov 2014 06:54:18 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:55646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XssDc-0004i4-Qq for emacs-devel@gnu.org; Mon, 24 Nov 2014 06:54:12 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XssDZ-0006bG-Hu for emacs-devel@gnu.org; Mon, 24 Nov 2014 12:54:09 +0100 Original-Received: from x2f4e6ef.dyn.telefonica.de ([2.244.230.239]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Nov 2014 12:54:09 +0100 Original-Received: from dak by x2f4e6ef.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Nov 2014 12:54:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x2f4e6ef.dyn.telefonica.de X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:Y9oIiZuppjE5udiqUYhBEpphvMk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:178164 Archived-At: Tassilo Horn writes: > Alan Mackenzie writes: > >> It's CC Mode's fontification, rather than the display engine, which is >> slow here. But in a large window, even Emacs Lisp Mode can only just >> keep up: On my 2.6 GHz Athlon II, with a 66 line window, and the >> keyboard auto-repeating every 0.024s, fontifying and displaying a >> screen took ~0.018s. There's not a lot of spare time for fancier >> fontification. > > Indeed. > >>> But still I think the variable's name is a bit misleading. I >>> expected to see the text that scrolls by black on white, i.e., using >>> the default face similar to having `jit-lock-defer-time' set to some >>> non-nil value. But instead the text that scrolls by and is visible >>> is fontified using the normal font-lock faces. >> >> :-). I had quite some trouble coming up with a name for the option. >> Something like >> `assume-default-face-for-nondisplayed-screens-in-scrolling' would be >> more accurate, but a bit of a mouthful. If you've any suggestions for >> improvement, post them! > > Maybe something like `font-lock-omit-nondisplayed-screens-on-scoll'? font-lock-preempt-when-scrolling -- David Kastrup