From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Could bgex patch or similar be added? Date: Thu, 25 Jun 2009 14:26:15 +0900 Message-ID: References: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1245907742 358 80.91.229.12 (25 Jun 2009 05:29:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jun 2009 05:29:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ivan Andrus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 25 07:28:55 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 1MJhW2-0007Om-BC for ged-emacs-devel@m.gmane.org; Thu, 25 Jun 2009 07:28:54 +0200 Original-Received: from localhost ([127.0.0.1]:37119 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJhW1-0000lS-6Y for ged-emacs-devel@m.gmane.org; Thu, 25 Jun 2009 01:28:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJhTg-0008E6-MX for emacs-devel@gnu.org; Thu, 25 Jun 2009 01:26:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJhTb-0008A8-5B for emacs-devel@gnu.org; Thu, 25 Jun 2009 01:26:27 -0400 Original-Received: from [199.232.76.173] (port=55328 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJhTa-00089y-U1 for emacs-devel@gnu.org; Thu, 25 Jun 2009 01:26:22 -0400 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:58362) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MJhTY-0006Rp-Dg; Thu, 25 Jun 2009 01:26:21 -0400 Original-Received: from relay21.aps.necel.com ([10.29.19.50]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n5P5QEke012826; Thu, 25 Jun 2009 14:26:15 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.24] [10.29.19.24]) by relay21.aps.necel.com with ESMTP; Thu, 25 Jun 2009 14:26:15 +0900 Original-Received: from dhlpc061 ([10.114.112.173] [10.114.112.173]) by relay21.aps.necel.com with ESMTP; Thu, 25 Jun 2009 14:26:15 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id 3169452E238; Thu, 25 Jun 2009 14:26:15 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: (Ivan Andrus's message of "Wed, 24 Jun 2009 22:21:59 -0600") Original-Lines: 34 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) 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:111711 Archived-At: Ivan Andrus writes: > I was wondering if there are any plans for something like this to be > integrated into emacs. Miles Bader's transparent emacs branch may have > done this, but I could never find it, so I assume it died. No, it's still alive, in some sense at least. The debate over whether it should be merged into emacs centered largely over whether it was a useful feature, i.e., whether its benefits justified adding more complexity to the Emacs display engine. That debate (a few years ago) petered out without any obvious resolution. Of course if it _is_ worthwhile, I'd rather like to see my patch merged instead of someone else's, unless their patch is obviously superior... :) >From my brief look at the bgex patch, it only lets you define window backgrounds. The tiling patch uses what I think is a somewhat more flexible and powerful approach -- it lets you associate images with _faces_, so e.g., your region can have a different background image than normal text, etc. As recent Emacs allows buffer-specific versions of faces (using face-remapping), this lets you define per-buffer backgrounds too. The tiling patch also allows some simple run-time image filtering so that you can, e.g., make an image "dimmer" without changing the actual image file (something that's particularly handy when defining backgrounds for non-default faces -- you can, for instance, make the `region' face's background image a tweaked version of the default face's background image). -Miles -- The key to happiness is having dreams. [from a fortune cookie]