all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: "Sean O'Rourke" <seano@cs.ucla.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Different buffer background depending on if window active
Date: Tue, 19 May 2009 17:50:08 +0200	[thread overview]
Message-ID: <7b501d5c0905190850p148c126eq4658df1e31a486f1@mail.gmail.com> (raw)
In-Reply-To: <m21vqluc7s.fsf@cs.ucsd.edu>

2009/5/19 Sean O'Rourke <seano@cs.ucla.edu>:
> Lennart Borgman <lennart.borgman@gmail.com> writes:
>
>> On Sun, May 17, 2009 at 11:19 PM, Deniz Dogan <deniz.a.m.dogan@gmail.com> 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	other threads:[~2009-05-19 15:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-17 21:19 Different buffer background depending on if window active Deniz Dogan
2009-05-18  3:13 ` Stefan Monnier
2009-05-18 23:26   ` Johan Bockgård
2009-05-19  0:14     ` Miles Bader
2009-05-18 23:55 ` Lennart Borgman
2009-05-19  1:13   ` Sean O'Rourke
2009-05-19 15:50     ` Deniz Dogan [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

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

  git send-email \
    --in-reply-to=7b501d5c0905190850p148c126eq4658df1e31a486f1@mail.gmail.com \
    --to=deniz.a.m.dogan@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=seano@cs.ucla.edu \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.