From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11068: 24.0.94; Face-remapped background does not extend to end of window Date: Fri, 23 Mar 2012 12:36:31 +0200 Message-ID: <83ty1fvc28.fsf@gnu.org> References: <1BE52A40-0403-433F-8164-DFDBD6771F80@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1332499042 4973 80.91.229.3 (23 Mar 2012 10:37:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Mar 2012 10:37:22 +0000 (UTC) Cc: 11068@debbugs.gnu.org To: Ivan Andrus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 23 11:37:21 2012 Return-path: Envelope-to: geb-bug-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 1SB1s0-0006gZ-IN for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Mar 2012 11:37:20 +0100 Original-Received: from localhost ([::1]:51188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SB1rz-0005cJ-WE for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Mar 2012 06:37:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SB1rx-0005bt-Fv for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2012 06:37:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SB1rr-0003wZ-8a for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2012 06:37:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SB1rr-0003wV-5k for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2012 06:37:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SB2Li-0004bn-Dx for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2012 07:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Mar 2012 11:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11068 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11068-submit@debbugs.gnu.org id=B11068.133250084117589 (code B ref 11068); Fri, 23 Mar 2012 11:08:02 +0000 Original-Received: (at 11068) by debbugs.gnu.org; 23 Mar 2012 11:07:21 +0000 Original-Received: from localhost ([127.0.0.1]:34206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SB2L3-0004Zd-1l for submit@debbugs.gnu.org; Fri, 23 Mar 2012 07:07:21 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:34595) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SB2L0-0004ZV-Ga for 11068@debbugs.gnu.org; Fri, 23 Mar 2012 07:07:19 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M1C00E002O8F400@a-mtaout23.012.net.il> for 11068@debbugs.gnu.org; Fri, 23 Mar 2012 12:36:25 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.241.151]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M1C00EBA2SO7TI0@a-mtaout23.012.net.il>; Fri, 23 Mar 2012 12:36:25 +0200 (IST) In-reply-to: <1BE52A40-0403-433F-8164-DFDBD6771F80@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:58003 Archived-At: > From: Ivan Andrus > Date: Thu, 22 Mar 2012 21:49:10 +0100 > > Run emacs -Q and then evaluate (e.g. in *scratch*) the following > > (face-remap-add-relative 'default '(:background "dark green")) > > Notice that the dark green background only appears on the lines which > actually contain text. Most of the window still has the white > background since the buffer only consists of a few lines. This is > annoying for my use case of different backgrounds to signify different > modes (e.g. read only). > > It is also a problem when using :stipple e.g. > > (face-remap-add-relative 'default '(:stipple "/Users/gvol/.emacs.d/local/pic/b-rock-grey.jpg")) Thanks. This is how Emacs display engine always worked: the non-text parts of the window display are drawn in the default face. (Remapping does not change the default face, as far as Emacs internals are concerned, it just substitutes a different face in its stead, leaving the literal DEFAULT_FACE_ID intact.) So this bug has rather low priority at this time, as it's not a regression wrt Emacs 23. Time permitting, I will at the very least try to figure out what changes are needed to make this work as expected.