[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock-syntactic-keywords obsolet?
From: |
Stefan Monnier |
Subject: |
Re: font-lock-syntactic-keywords obsolet? |
Date: |
Sun, 19 Jun 2016 10:36:52 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> 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.
That presumes that font-lock-syntactic-keywords does not suffer from
tricky interactions with syntax-ppss. Of course, that's not the case,
instead these are simply undocumented.
Stefan
- 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, 2016/06/19
- Re: font-lock-syntactic-keywords obsolet?, Andreas Röhler, 2016/06/19
- Re: font-lock-syntactic-keywords obsolet?,
Stefan Monnier <=
- 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
- Re: font-lock-syntactic-keywords obsolet?, Dmitry Gutov, 2016/06/20
- Re: font-lock-syntactic-keywords obsolet?, Andreas Röhler, 2016/06/20