From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: colorizing empty space Date: Wed, 26 Jan 2011 01:28:26 -0500 Message-ID: References: <87oc8la5u2.fsf@lifelogs.com> <8739og5rfu.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1296023419 5407 80.91.229.12 (26 Jan 2011 06:30:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 Jan 2011 06:30:19 +0000 (UTC) Cc: dan.colascione@gmail.com, tzz@lifelogs.com, lennart.borgman@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, stephen@xemacs.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 26 07:30:13 2011 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.69) (envelope-from ) id 1PhytO-0007Ph-GJ for ged-emacs-devel@m.gmane.org; Wed, 26 Jan 2011 07:30:10 +0100 Original-Received: from localhost ([127.0.0.1]:46273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Phys2-0008G7-Aa for ged-emacs-devel@m.gmane.org; Wed, 26 Jan 2011 01:28:46 -0500 Original-Received: from [140.186.70.92] (port=37392 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Phyrr-0008Fq-MZ for emacs-devel@gnu.org; Wed, 26 Jan 2011 01:28:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Phyro-0000M8-SM for emacs-devel@gnu.org; Wed, 26 Jan 2011 01:28:34 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:53593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Phyro-0000M4-PR for emacs-devel@gnu.org; Wed, 26 Jan 2011 01:28:32 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Phyri-0004bC-TQ; Wed, 26 Jan 2011 01:28:27 -0500 In-reply-to: (message from Miles Bader on Wed, 26 Jan 2011 13:46:12 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:134989 Archived-At: > From: Miles Bader > System-Type: x86_64-unknown-linux-gnu > Date: Wed, 26 Jan 2011 13:46:12 +0900 > Cc: Daniel Colascione , > "Stephen J. Turnbull" , > Lennart Borgman , > Ted Zlatanov , emacs-devel@gnu.org > > Stefan Monnier writes: > > OTOH with face-remapping-alist you should be able to do just what you > > want: remap the `default' face to something with > > a different background. It works for text-scale-increase. > > Using face-remapping-alist with `default' doesn't do the proper thing > after EOB though. I think this is because the area after EOB is handled > specially in various ways, instead of by the general redisplay code > path. > > It's a bug (I tried for a while to fix it, but got too confused by the > redisplay code), but I suppose doesn't show up for typical uses of > face-remapping-alist, which tend to only modify font attributes that > affect the text itself. Would adding a call to extend_face_to_end_of_line in a couple of more places solve this? Does face-remapping work on a tty in this case? Anyway, if someone can post a spec for the feature that is being requested, I'll try to see how hard is it to implement that.