Subject: Re: bug#20911: 24.5.3; Syntax should not require font-lock

From: Andreas Röhler <[email-masked]>
Date: Sat, 27 Jun 2015 18:40:10 +0200

Am 27.06.2015 um 18:37 schrieb Dmitry Gutov:
> On 06/27/2015 06:31 PM, Dmitry Gutov wrote:
>
>> Call (syntax-propertize (point-max)) instead.
>
> Further, this call should probably be in the code that relies on the 
> added text properties, not in the test.

Maybe, but this adresses python.el and other probably.

My tests succeed by adding an extra fontify- in test buffer - which is a 
workaround.

>
> Adjust the actual argument as appropriate: most of the time you only 
> need the current buffer propertized until the current position, not 
> necessarily until the end (which might take more time).