From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angus M Subject: Re: long code blocks making Org Mode very slow Date: Wed, 22 Jul 2015 10:09:30 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHqy7-0004Hx-DV for emacs-orgmode@gnu.org; Wed, 22 Jul 2015 06:09:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHqy3-0004VE-DQ for emacs-orgmode@gnu.org; Wed, 22 Jul 2015 06:09:43 -0400 Received: from plane.gmane.org ([80.91.229.3]:34993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHqy3-0004UY-6k for emacs-orgmode@gnu.org; Wed, 22 Jul 2015 06:09:39 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZHqy0-0006Sz-FP for emacs-orgmode@gnu.org; Wed, 22 Jul 2015 12:09:37 +0200 Received: from wifi-nat.bl.uk ([wifi-nat.bl.uk]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jul 2015 12:09:36 +0200 Received: from anguscmelville by wifi-nat.bl.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jul 2015 12:09:36 +0200 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: emacs-orgmode@gnu.org > When I have the cursor inside of the code block for the code, moving > up or done one line or one page takes 2-3 seconds. > Grant Rettke > -- Thanks for confirming that you also experience the slow-down. I think that the only way to remedy this is to modify the 'org-src-font-lock-fontify-block' function in org-src.el to allow just-in-time fontification, (rather than the current complete re-fontification of the whole code block upon any changes). Does anyone know of a list of 'nice-to-have' features that this could be added to to allow possible development sometime in the future? (Unfortunately I am new to eLisp, and so making such changes is currently beyond my capabilities.)