Hi all, I like to use the `highlight-nonselected-windows' option, but it becomes very annoying for the case when I have the same buffer in a few windows. Please check the attached patch. Maybe there's a better way to solve the problem, or maybe this one is good enough. If there aren't objections, I'll apply this one. regards, Oleh