emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: colorizing empty space


From: Eli Zaretskii
Subject: Re: colorizing empty space
Date: Wed, 26 Jan 2011 01:28:26 -0500

> From: Miles Bader <address@hidden>
> System-Type: x86_64-unknown-linux-gnu
> Date: Wed, 26 Jan 2011 13:46:12 +0900
> Cc: Daniel Colascione <address@hidden>,
>       "Stephen J. Turnbull" <address@hidden>,
>       Lennart Borgman <address@hidden>,
>       Ted Zlatanov <address@hidden>, address@hidden
> 
> Stefan Monnier <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]