GNU bug report logs - #20911
24.5.3; Syntax should not require font-lock

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Sat, 27 Jun 2015 15:21:03 UTC

Severity: normal

Tags: notabug

Found in version 24.5.3

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 20911-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>,
 20911-done <at> debbugs.gnu.org
Subject: Re: bug#20911: 24.5.3; Syntax should not require font-lock
Date: Sat, 27 Jun 2015 19:37:41 +0300
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.

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




This bug report was last modified 10 years and 25 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.