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: Window background color Date: Mon, 06 Oct 2008 13:06:28 +0900 Message-ID: References: <83D6BD74-198E-4ABF-8F2C-2F4A09D31912@gmail.com> 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 1223266017 31773 80.91.229.12 (6 Oct 2008 04:06:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Oct 2008 04:06:57 +0000 (UTC) Cc: Emacs-Devel devel To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 06 06:07:54 2008 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 1KmhNw-0001GJ-Uc for ged-emacs-devel@m.gmane.org; Mon, 06 Oct 2008 06:07:53 +0200 Original-Received: from localhost ([127.0.0.1]:47730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmhMq-0002XX-O3 for ged-emacs-devel@m.gmane.org; Mon, 06 Oct 2008 00:06:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmhMm-0002Ue-B3 for emacs-devel@gnu.org; Mon, 06 Oct 2008 00:06:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmhMk-0002RW-M9 for emacs-devel@gnu.org; Mon, 06 Oct 2008 00:06:39 -0400 Original-Received: from [199.232.76.173] (port=58066 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmhMk-0002RK-Hd for emacs-devel@gnu.org; Mon, 06 Oct 2008 00:06:38 -0400 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:41203) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KmhMi-0000VU-La; Mon, 06 Oct 2008 00:06:37 -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 m9646NlK026925; Mon, 6 Oct 2008 13:06:29 +0900 (JST) Original-Received: from relay31.aps.necel.com ([10.29.19.24] [10.29.19.24]) by relay21.aps.necel.com with ESMTP; Mon, 6 Oct 2008 13:06:29 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.112.215] [10.114.112.215]) by relay31.aps.necel.com with ESMTP; Mon, 6 Oct 2008 13:06:28 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id ADCEB3E6; Mon, 6 Oct 2008 13:06:28 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <83D6BD74-198E-4ABF-8F2C-2F4A09D31912@gmail.com> (David Reitter's message of "Sun, 5 Oct 2008 23:47:39 -0400") Original-Lines: 21 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:104363 Archived-At: David Reitter writes: > It appears that only a frame parameter is used and that the frame is > cleared using a rif->clear_frame_area call, which is not specific to > windows. I haven't found the right fix for this so far. Would it be > sensible to change clear_frame_area to establish the right background > color, i.e. the one associated with the default face appropriate for > the buffer shown in the window (updated_window), and only default to > the frame's background? In my "tiling" branch, I've fixed some of that by adding a "clear window area" operation that can do window-specific handling, and changing appropriate callers to use that. Maybe I should merge some of the more generic changes such as that to the trunk. -Miles -- Infancy, n. The period of our lives when, according to Wordsworth, 'Heaven lies about us.' The world begins lying about us pretty soon afterward.