From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?G=C3=B6ktu=C4=9F_Kayaalp?= Subject: Re: Issues w/ hacking Org font-lock for variable pitch prose Date: Sun, 06 Dec 2015 00:41:23 +0200 Message-ID: <87oae4o6wc.fsf@gkayaalp.com> References: <87oaebm8be.fsf@gkayaalp.com> <87a8ppqc4d.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5LIL-00081f-Iy for emacs-orgmode@gnu.org; Sat, 05 Dec 2015 17:27:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a5LII-0007ei-DV for emacs-orgmode@gnu.org; Sat, 05 Dec 2015 17:27:09 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:37567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5LII-0007ea-90 for emacs-orgmode@gnu.org; Sat, 05 Dec 2015 17:27:06 -0500 Received: from xenophon (unknown [88.235.48.216]) by mail.messagingengine.com (Postfix) with ESMTPA id CA89E68015F for ; Sat, 5 Dec 2015 17:27:03 -0500 (EST) In-Reply-To: <87a8ppqc4d.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 05 Dec 2015 14:05:38 +0100") 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: Org-mode mailing list Hello, On Sat, Dec 05 2015 at 03:05:38 PM, Nicolas Goaziou wrote: > Hello, > > G=C3=B6ktu=C4=9F Kayaalp writes: > >> [=E2=80=A6] > > Your code is probably not buggy. You are encountering a cache error. > Does it happen on a fresh buffer (e.g., open a new buffer, and copy > contents there, then let your code apply appropriate fontification)? > When I copied the contents of a file to a fresh buffer, then run M-x org-mode in it, the last heading and its contents didn=E2=80=99t get fonti= fied, and I got this error (the last entry was a level-1 entry): Error during redisplay: (jit-lock-function 9029) signaled (end-of-buffer) Another time with the last entry a level-3, immediate child of a level-2, last two did not render: Error during redisplay: (jit-lock-function 9490) signaled (end-of-buffer) Error during redisplay: (jit-lock-function 9418) signaled (end-of-buffer) font-lock-default-fontify-region: End of buffer I had =E2=80=98debug-on-error=E2=80=99 as =E2=80=98t=E2=80=99 during thes= e tests. In both, the file ended with a single final newline. If there are more, I do not have an error. Best, --=20 =C4=B0. G=C3=B6ktu=C4=9F Kayaalp. http://gkayaalp.com/