Subject: Re: 26.1; Region highlight has lower priority than flymake overlays

From: Eli Zaretskii <[email-masked]>
Date: Fri, 11 Jan 2019 21:14:52 +0200

> From: João Távora <[email-masked]>
> Cc: Johann Klähn <[email-masked]>, [email-masked]
> Date: Fri, 11 Jan 2019 09:33:33 +0000
> 
> In Flymake multiple overlays (error, warning, note) can overlap and
> priorities are used so that an error is never hidden by a note.  I based
> thosed priorities in the 100's range (so note = 101, warning=102,
> error=103, sth like that). 100 was a number chosen quite arbitrarily
> which worked fine until Johann noticed the bug (I do think it's a bug).

Would it still DTRT if you use priorities around 50?

> >In particular, how is Flymake different from any other package which
> >uses overlays to mark portions of text?
> 
> Perhaps it isn't.  Can you point me to other packages that leave
> persistent region-resisting overlays in the buffer?

Wht do you mean by "region-resisting"?

> (or that "play nice" with the region, for some meaning of "nice").

What is the meaning of "playing nice" in this context?