Apparently overlays have a "window" property, which when set, will display the overlay only in the relevant window. 

I've noticed however that sometimes it gets set to t.


On Mon, Mar 11, 2013 at 8:59 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Mon, 11 Mar 2013 21:27:16 +0100
>
> So the multiple overlays thingy is actually intended.  But somewhere the
> logic goes wonky and we're acting on the wrong overlay.

What is the "right" overlay?