[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'."
- font-lock-syntactic-keywords obsolet?, Andreas Röhler, 2016/06/16
- Re: font-lock-syntactic-keywords obsolet?, Stefan Monnier, 2016/06/17
- Re: font-lock-syntactic-keywords obsolet?, Andreas Röhler, 2016/06/18
- Re: font-lock-syntactic-keywords obsolet?, Noam Postavsky, 2016/06/18
- Re: font-lock-syntactic-keywords obsolet?, Alan Mackenzie, 2016/06/18
- Re: font-lock-syntactic-keywords obsolet?, Stefan Monnier, 2016/06/18
- Re: font-lock-syntactic-keywords obsolet?, Noam Postavsky, 2016/06/18
- Re: font-lock-syntactic-keywords obsolet?, Andreas Röhler, 2016/06/19
- Re: font-lock-syntactic-keywords obsolet?,
Noam Postavsky <=
- Re: font-lock-syntactic-keywords obsolet?, Andreas Röhler, 2016/06/19
- Re: font-lock-syntactic-keywords obsolet?, Stefan Monnier, 2016/06/19
- Re: font-lock-syntactic-keywords obsolet?, Alan Mackenzie, 2016/06/19
- Re: font-lock-syntactic-keywords obsolet?, Dmitry Gutov, 2016/06/19
- Re: font-lock-syntactic-keywords obsolet?, Alan Mackenzie, 2016/06/19
- Re: font-lock-syntactic-keywords obsolet?, Dmitry Gutov, 2016/06/19
- Re: font-lock-syntactic-keywords obsolet?, Stefan Monnier, 2016/06/19
- Re: font-lock-syntactic-keywords obsolet?, Stefan Monnier, 2016/06/19
- Re: font-lock-syntactic-keywords obsolet?, Alan Mackenzie, 2016/06/20
- Re: font-lock-syntactic-keywords obsolet?, Stefan Monnier, 2016/06/20