emacs-devel
[Top][All Lists]
Advanced

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

Re: Different buffer background depending on if window active


From: Deniz Dogan
Subject: Re: Different buffer background depending on if window active
Date: Tue, 19 May 2009 17:50:08 +0200

2009/5/19 Sean O'Rourke <address@hidden>:
> Lennart Borgman <address@hidden> writes:
>
>> On Sun, May 17, 2009 at 11:19 PM, Deniz Dogan <address@hidden> wrote:
>>> 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?
>>
>> An alternative that you can use is to customize the faces mode-line
>> and mode-line-inactive.
>
> At least on Cocoa/NextStep, you can set the frame parameter
> `alpha' to a two-element list to have different alpha channels on
> active and inactive frames.  I have
>
>    (frame-parameter (selected-frame) 'alpha) ;; => (100 85)
>
> which makes my other frame(s) slightly transparent.
>
> I don't remember where I learned this, and have no idea where it
> is documented.

I extremely rarely use more than one frame, but very often more than
one window. It would be great if something like this was possible with
Emacs.




reply via email to

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