emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Göktuğ Kayaalp" <self@gkayaalp.com>
To: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Issues w/ hacking Org font-lock for variable pitch prose
Date: Sun, 06 Dec 2015 00:41:23 +0200	[thread overview]
Message-ID: <87oae4o6wc.fsf@gkayaalp.com> (raw)
In-Reply-To: <87a8ppqc4d.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 05 Dec 2015 14:05:38 +0100")

Hello,

On Sat, Dec 05 2015 at 03:05:38 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Hello,
>
> Göktuğ Kayaalp <self@gkayaalp.com> writes:
>
>> […]
>
> 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’t get fontified,
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  ‘debug-on-error’ as ‘t’  during these  tests.  In both,  the file
ended with a single final newline.  If  there are more, I do not have an
error.

Best,
-- 
İ. Göktuğ Kayaalp.
http://gkayaalp.com/

      reply	other threads:[~2015-12-05 22:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-30 22:27 Issues w/ hacking Org font-lock for variable pitch prose Göktuğ Kayaalp
2015-12-05 13:05 ` Nicolas Goaziou
2015-12-05 22:41   ` Göktuğ Kayaalp [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oae4o6wc.fsf@gkayaalp.com \
    --to=self@gkayaalp.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).