[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hi-lock and overlays
From: |
Stefan Monnier |
Subject: |
Re: hi-lock and overlays |
Date: |
Wed, 20 Jan 2010 10:54:47 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
> - Why does hi-lock use two different styles of highlighting? IMO, if
> a user does M-x highlight-regexp RET foo RET hi-yellow RET, he
> expects to get that highlighting even if there are other overlays,
> so creating an overlay (and maybe even setting a priority) is the
> only safe bet.
overlays are implemented inefficiently, so if you have many of them,
redisplay, buffer modifications, and other operations can become
noticeably slower.
Stefan