bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Andreas Röhler
Subject: bug#20911: 24.5.3; Syntax should not require font-lock
Date: Sat, 27 Jun 2015 18:40:10 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


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).






reply via email to

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