From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Fix verbatim block fontification to end blocks on headlines Date: Wed, 12 Feb 2020 09:38:31 +0100 Message-ID: <87d0aknqt4.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38216) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1nXX-0002kM-L5 for emacs-orgmode@gnu.org; Wed, 12 Feb 2020 03:38:36 -0500 In-Reply-To: (Tom Gillespie's message of "Fri, 13 Dec 2019 15:25:17 -0800") 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Tom Gillespie Cc: emacs-orgmode@gnu.org Hi Tom, Tom Gillespie writes: > An unrelated question. > > I've written some basic tests for this and I couldn't find any other > tests that seemed to deal with fontification at all. In order to get > fontification tests to work I added a call to `font-lock-ensure' inside > `org-test-with-temp-text' (see excerpted patch bit below). Given how > frequently `org-test-with-temp-text' is used, does it make sense to > create a separate version of that macro just for testing with > fontification? I have no idea what the performance impact would be, so > any guidance is appreciated. I tested this patch for a week or so, running tests not as often as I should (obviously), but I noticed to performance issue. I applied it in master. Thanks! -- Bastien