[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font-lock-syntactic-keywords obsolet?

From: Andreas Röhler
Subject: Re: font-lock-syntactic-keywords obsolet?
Date: Sun, 19 Jun 2016 09:12:41 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.1.0

On 18.06.2016 21:41, Noam Postavsky wrote:
On Sat, Jun 18, 2016 at 2:13 PM, Stefan Monnier
<address@hidden> wrote:
"Alan" == Alan Mackenzie <address@hidden> writes:
CC Mode (in particular C++ Mode) does several scans to apply
syntax-table text properties,
That way, it's easier to debug, easier to understand, and
less error prone.
I rest my case,

Your case seems to be as invisible as Andreas Röhler's.

The question is if `font-lock-syntactic-keywords' really should be declared obsolete.

From docu of `syntax-propertize-function':

"The specified function may call `syntax-ppss' on any position
before END, but it should not call `syntax-ppss-flush-cache',
which means that it should not call `syntax-ppss' on some
position and later modify the buffer on some earlier position."

So "on any position" but not "on some position"?

IMHO that's not ready.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]