[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in font-lock-syntactic-keywords handling?
From: |
Stefan Monnier |
Subject: |
Re: Bug in font-lock-syntactic-keywords handling? |
Date: |
Mon, 06 Oct 2014 09:14:21 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> As you can see, for the third iteration start moves back to the
> beginning of the second chunk and it tries to re-propertize it without
> unfontifying which causes an bug in lua-mode's syntactic keyword
> handling. I do know that I (ab-)used a deprecated variable to maintain
> compatibility with Emacs23 and using `syntax-propertize-function`
> should fix that for Emacs24, but I'd be grateful if anyone pointed me
> to a simple fix for Emacs23.
That seems like a performance bug (it re-fontifies something that's
already been fontified), indeed, but I don't see why that would cause
something to "fail".
If it really causes a failure, I suspect that the failure is really
caused by an underlying bug in the specific syntactic-keywords rules,
which merely gets triggered by this performance bug.
Stefan