From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: performance of scrolling in large example blocks is poor Date: Sat, 22 Mar 2014 08:50:50 +0100 Message-ID: <8738iak6xx.fsf@bzg.ath.cx> References: <532D20F0.6090007@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRGhr-0001g6-Lo for emacs-orgmode@gnu.org; Sat, 22 Mar 2014 03:51:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WRGhk-0003FQ-Ot for emacs-orgmode@gnu.org; Sat, 22 Mar 2014 03:51:03 -0400 Received: from rs249.mailgun.us ([209.61.151.249]:52783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRGhk-0003Ez-KG for emacs-orgmode@gnu.org; Sat, 22 Mar 2014 03:50:56 -0400 In-Reply-To: <532D20F0.6090007@gmail.com> (Ian Kelling's message of "Fri, 21 Mar 2014 22:34:40 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ian Kelling Cc: "'emacs-orgmode@gnu.org'" Hi Ian, Ian Kelling writes: > Testcase: 1 megabyte of text lines in an example block, drag the scrollbar to a > location you haven't been to yet. > > It often freezes for a few seconds, and doing things while its frozen like > scrolling more can quickly make it freeze for a minute or so. Remove the example > block enclosure, and it becomes totally interactive. Yes, there is room for improvement in the fontification engine of Org, but this requires a lot of rewrite. For now I suggest not to add 1 megabyte of text in a source code block... -- Bastien