emacs-devel
[Top][All Lists]
Advanced

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

Re: font-lock-syntactic-keywords obsolet?


From: Noam Postavsky
Subject: Re: font-lock-syntactic-keywords obsolet?
Date: Sun, 19 Jun 2016 09:21:23 -0400

On Sun, Jun 19, 2016 at 3:12 AM, Andreas Röhler
<address@hidden> wrote:
> 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.
>
>

I'm not sure if you're objecting to the restriction itself, or just
the phrasing, e.g. would it be okay like this?

"The specified function may call `syntax-ppss' on any position
before END, but it should not call `syntax-ppss-flush-cache',
meaning that it should not modify the buffer at positions earlier
than those on which it called `syntax-ppss'."



reply via email to

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