[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Different buffer background depending on if window active
From: |
Johan Bockgård |
Subject: |
Re: Different buffer background depending on if window active |
Date: |
Tue, 19 May 2009 01:26:57 +0200 |
User-agent: |
Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.90 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> I've always wanted to have the currently active window in Emacs have a
>> different background color to see which one I'm currently "in" easier.
>> One could imagine this as a part of a much larger change to have a
>> whole set of different parameters depending on the currently active
>> window.
>
>> Has this feature been requested before? Would it be cumbersome to
>> implement? Is it desirable at all? Can this be hacked together using
>> simple Emacs Lisp?
>
> It can probably be hacked together with a post-command-hook (or
> a timer), together with face-remapping-alist.
Changing the background through face-remapping-alist currently only
works for the text portion of the buffer, not for the actual window.