help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: set background color without using faces


From: fxbois
Subject: Re: set background color without using faces
Date: Mon, 8 Apr 2013 12:26:42 -0700 (PDT)
User-agent: G2/1.0

> What's wrong with the same technique, i.e. using font-lock-fontify-region?

For my keyword rules I almost never set the "override" element to t 
So if i use a first keyword that set all the entire region (".*") to a face 
that set the background, the other rules won't work.

An other issue with this kind of "background rule", my code that shows the 
whitespaces would not work either.

Is it possible for a (point) in the buffer to have a face and a background 
color that is different from the background property of the face ? This way I 
would be able to set the background of the region and after that play with 
faces.


reply via email to

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