|
From: | Lennart Borgman (gmail) |
Subject: | Re: Three strikes them out |
Date: | Sun, 01 Jun 2008 01:09:49 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
martin rudalics wrote:
> Does that mean I have to arrange to avoid after-change-functions to be > run during fontification? I'm afraid I don't understand your question. Font-lock routines bind `inhibit-modification-hooks' to t so these won't be run during fontification.
Ah, thanks. That was not clear to me. > I suppose you use some other hook or timer based code
that modifes the buffer and triggers contextual fontification over and over.
This time I happened to change the text property 'fontified (because of a test I forgot to remove). But the hang I experienced during this did not lock up Emacs totally.
Thinking about it again that is what I expect since the loops involved restarting idle timers.
[Prev in Thread] | Current Thread | [Next in Thread] |