[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: Sat, 11 Jun 2016 19:32:44 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2

On 06/11/2016 01:24 PM, Alan Mackenzie wrote:

font-lock-dont-widen is ugly indeed.  Maybe syntax-ppss-base could be a
bit less ugly.

The latter can't be the full replacement for the former:

a) font-lock-dont-widen is used well before syntax-ppss-base would take effect. In particular, it affects the result of font-lock-extend-region-functions.

b) font-lock-dont-widen helps with both upper and lower bounds on the buffer position. syntax-ppss-base would only describe one.

reply via email to

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