GNU bug report logs - #25841
25.2; Highlighting not being updated in some modes.

Previous Next

Package: emacs;

Reported by: Paul Whittaker <emacs <at> pdw.org.uk>

Date: Wed, 22 Feb 2017 21:46:02 UTC

Severity: minor

Tags: notabug

Found in version 25.2

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Paul Whittaker <emacs <at> pdw.org.uk>
Cc: 25841 <at> debbugs.gnu.org
Subject: bug#25841: 25.2; Highlighting not being updated in some modes.
Date: Wed, 22 Feb 2017 17:02:47 -0500
Paul Whittaker wrote:

> In major modes that do not use syntax highlighting, the highlighting
> from highlight-regexp is not updated when the buffer content is changed.
> The highlighting appears to be static, based only on what was visible at
> the time that highlight-regexp was called.

This is the documented way highlight-regexp behaves:

    Use Font lock mode, if enabled, to highlight REGEXP.  Otherwise,
    use overlays for highlighting.  If overlays are used, the
    highlighting will not update as you type.




This bug report was last modified 5 years and 337 days ago.

Previous Next


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