From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: `auto-dim-other-windows` -- scrutiny invited Date: Wed, 03 Apr 2013 15:03:02 +0200 Message-ID: <878v4zg41l.fsf@web.de> References: <87vc84shhw.fsf@wanadoo.es> <87r4issey8.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364994202 5145 80.91.229.3 (3 Apr 2013 13:03:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Apr 2013 13:03:22 +0000 (UTC) Cc: =?utf-8?Q?=C3=93scar?= Fuentes , help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 03 15:03:49 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UNNLx-0004aJ-Ew for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Apr 2013 15:03:49 +0200 Original-Received: from localhost ([::1]:40515 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNNLY-0006O6-Kv for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Apr 2013 09:03:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNNLI-0006Mp-Vc for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 09:03:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNNLH-0000uU-DZ for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 09:03:08 -0400 Original-Received: from mout.web.de ([212.227.17.11]:59658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNNLH-0000uC-3y for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 09:03:07 -0400 Original-Received: from drachen.dragon ([92.74.136.91]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MbhNZ-1U51fu27wj-00IlAM; Wed, 03 Apr 2013 15:03:04 +0200 Mail-Followup-To: help-gnu-emacs@gnu.org, =?utf-8?Q?=C3=93scar?= Fuentes , help-gnu-emacs@gnu.org In-Reply-To: (Steven Degutis's message of "Tue, 2 Apr 2013 18:19:47 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V02:K0:ei35eOpTk6hp3dP5yz3wEa/tEHo2fppnDbN7VrOfidx lr8mNDp7uhfXzdH5MctSVwF5BLeR/NlM9sVp8gjYcHhxKZnr/p W3YQ4VSnGjgG04WomHfdn0T9uQ4HfT/Ek0LEtk/AKVki/V4CqJ pVJB8UTHJI0msWz/PvZHbYkLDGq5F4JjD0DiYe9U3Fl9yKUuTe rkrZ4CBaaBzMZ+ovOuaBlLQMyYMJRMKP5zC5NR5UIY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.11 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89928 Archived-At: Steven Degutis writes: > Originally I wanted to make it change the face per-window, so I could > easily know which window I'm editing in. I even named it > auto-dim-other-windows at first. > > Then I realized emacs only allows us to set per-buffer faces. It > doesn't allow us to set per-window faces. Please file a bug asking > for the feature to set per-window faces. For now, this is the best we > can do with what emacs gives us. You can use the `window' overlay property for that - see (elisp) Overlay Properties. Apropos color: To get a dim color that is always derived live from the current background color, you can (optionally) use "hexrgb" by Drew Adam's for color transformation. I can help with the coding if you are interested. Regards, Michael.