unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Paul Whittaker <emacs@pdw.org.uk>
Cc: 25841@debbugs.gnu.org
Subject: bug#25841: 25.2; Highlighting not being updated in some modes.
Date: Wed, 22 Feb 2017 17:02:47 -0500	[thread overview]
Message-ID: <gwpoi9q3y0.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <231f3b41-7ba1-58d9-a1d4-2e0af37d0ac7@drisq.com> (Paul Whittaker's message of "Wed, 22 Feb 2017 21:39:53 +0000")

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.





  reply	other threads:[~2017-02-22 22:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-22 21:39 bug#25841: 25.2; Highlighting not being updated in some modes Paul Whittaker
2017-02-22 22:02 ` Glenn Morris [this message]
2017-02-23 12:21   ` Paul Whittaker
2017-02-23 15:00     ` Stephen Berman
2019-08-21  2:09 ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gwpoi9q3y0.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=25841@debbugs.gnu.org \
    --cc=emacs@pdw.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).