emacs-devel
[Top][All Lists]
Advanced

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

Re: Window background color


From: Eli Zaretskii
Subject: Re: Window background color
Date: Mon, 06 Oct 2008 06:11:40 +0200

> From: David Reitter <address@hidden>
> Date: Sun, 5 Oct 2008 23:47:39 -0400
> 
> How does one set the background color of a window?

You can't, AFAIK.

> I use `face-remapping-alist' to define a `default' face for a buffer,  
> with a specific background color.  This works fine unless the buffer  
> is small and does not fill the whole window, or if I scroll to the  
> end.  The area between the last line of the buffer and the bottom of  
> the window is drawn in the frame's background color, rather than in  
> the background color assigned with the default face in that buffer.

That's the expected behavior.

> 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?

I wouldn't do that, at least not now now, since this is how Emacs
behaved since the introduction of faces, and we are in feature freeze.




reply via email to

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