unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joe Riel <jriel@maplesoft.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Distinguish inactive windows
Date: Thu, 23 Jun 2011 22:38:25 -0700	[thread overview]
Message-ID: <20110623223825.6e1ce6ca@gauss> (raw)
In-Reply-To: <loom.20110624T045101-528@post.gmane.org>

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	other threads:[~2011-06-24  5:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-24  0:52 Distinguish inactive windows Joe Riel
2011-06-24  2:45 ` Alp Aker
2011-06-25  4:47   ` Joe Riel
2011-06-25 16:00     ` Alp Aker
2011-06-24  2:51 ` Alp Aker
2011-06-24  5:38   ` Joe Riel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110623223825.6e1ce6ca@gauss \
    --to=jriel@maplesoft.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).