[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with font-lock-add-keywords
From: |
Marcin Borkowski |
Subject: |
Re: Help with font-lock-add-keywords |
Date: |
Fri, 13 Mar 2015 15:52:06 +0100 |
On 2015-03-13, at 15:37, Drew Adams <drew.adams@oracle.com> wrote:
>> Emacs tried to evaluate the unquoted (and undefined) symbol in the midst
>> of fontifying, so there as an error and the fontifying routine crashed.
>> (Just my suspicion, but seems reasonable.)
>
> In general, errors that occur during font locking are swallowed, on
> purpose. Font lock is pretty much an invisible, background genie that
> does its thing whenever it feels like it, independently of what else
> you might think is going on.
>
> It would generally be inappropriate for such an error to be raised,
> so font lock just gives up at that point, instead of raising it.
Of course. Still, this seems to explain the behavior I saw.
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University