help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distinguish inactive windows


From: Joe Riel
Subject: Re: Distinguish inactive windows
Date: Thu, 23 Jun 2011 22:38:25 -0700

On Fri, 24 Jun 2011 02:51:41 +0000 (UTC)
Alp Aker <alp.tekin.aker@gmail.com> wrote:

> I just thought of another, potentially much simpler expedient, one
> which will work for a particular window.  You can use an overlay to
> put a light shading over the contents of the window.  E.g., 
> 
>   (setq o (make-overlay (window-start w) (window-end w t)))
>   (overlay-put o 'face '(:background "gray97"))
> 
> where `w' is the window of interest.  

Thanks for both ideas, I'll see which I prefer.  I'm already
customizing the mode-line, but the overlay is simple to implement.

-- 
Joe Riel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]