[Top][All Lists]

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

Re: Bug #22983 (syntax-ppss returns wrong result) is still open. Could w

From: Dmitry Gutov
Subject: Re: Bug #22983 (syntax-ppss returns wrong result) is still open. Could we fix it before the release, please.
Date: Sun, 12 Jun 2016 01:21:24 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2

On 06/12/2016 12:44 AM, Alan Mackenzie wrote:

Use cases for font-lock-dont-widen, existing or not, HAVE NO BEARING on
that determination of the parse-partial-sexp equivalent.  So why are we
talking about them here?

Because `widen' is viral: if any callees of the current function call it, the current narrowing is busted. If you don't want to support narrowing in syntax-ppss, we can't support it in font-lock either.

I propose one third of us should now fix syntax-ppss so that it conforms
to its (new) specification, and that syntax-ppss-base should comprise an
integral part of this fix.

Please read the other messages.

reply via email to

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