From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: Different buffer background depending on if window active Date: Tue, 19 May 2009 17:50:08 +0200 Message-ID: <7b501d5c0905190850p148c126eq4658df1e31a486f1@mail.gmail.com> References: <7b501d5c0905171419y12d4ff28n8bec12cdcedb93a5@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1242748236 10151 80.91.229.12 (19 May 2009 15:50:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 May 2009 15:50:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Sean O'Rourke" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 19 17:50:26 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M6RaA-00013D-LF for ged-emacs-devel@m.gmane.org; Tue, 19 May 2009 17:50:22 +0200 Original-Received: from localhost ([127.0.0.1]:41146 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6RaA-0003Xi-6H for ged-emacs-devel@m.gmane.org; Tue, 19 May 2009 11:50:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6Ra5-0003XD-5q for emacs-devel@gnu.org; Tue, 19 May 2009 11:50:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6Ra0-0003Wc-NX for emacs-devel@gnu.org; Tue, 19 May 2009 11:50:16 -0400 Original-Received: from [199.232.76.173] (port=60919 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6Ra0-0003WZ-J9 for emacs-devel@gnu.org; Tue, 19 May 2009 11:50:12 -0400 Original-Received: from mail-fx0-f169.google.com ([209.85.220.169]:51811) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6RZy-0007Jv-1t for emacs-devel@gnu.org; Tue, 19 May 2009 11:50:10 -0400 Original-Received: by fxm17 with SMTP id 17so4224590fxm.42 for ; Tue, 19 May 2009 08:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=5t1T0ViAog+ImsNYXEP0wysRXksWMZhEYBM874YDxDs=; b=VeF+qYhRZ17KwCWOuU2swAuh3OE0TbLjssbLMEqovA/L8QD1ruevqZkuZrZvD+OcET ECbtQ61gK8O2tRWBp7p5K6fmMsVg57uWNyBPR15ydvkJyvyBKn5cVxpeAraTHprRtw8X PN62IxGNeMpJTWXPKFTQH7JQblu7RtYdC3J6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=aW3ExdOf6xLUBr5vBGGEUYSm6Jk0ZT12/c1HZz7kprsLYQy4GEd3n8ZWRCd3+VPgBy edaJIlnG/7a+yl00ioL7ZlVwLghbKwvmmPzK0KWHypgH1k1xS4j0SrpgGkaAi5lhk63M 1rgmK53uSSK7mdXjEEL9lVFHxZWrBs+w6qMY8= Original-Received: by 10.204.57.81 with SMTP id b17mr156345bkh.186.1242748208134; Tue, 19 May 2009 08:50:08 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:110987 Archived-At: 2009/5/19 Sean O'Rourke : > Lennart Borgman writes: > >> On Sun, May 17, 2009 at 11:19 PM, Deniz Dogan 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. >>> =A0One 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? =A0Would it be cumbersome to >>> implement? =A0Is it desirable at all? =A0Can this be hacked together us= ing >>> 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. =A0I have > > =A0 =A0(frame-parameter (selected-frame) 'alpha) ;; =3D> (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.