From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: set background color without using faces Date: Mon, 08 Apr 2013 20:26:13 +0300 Message-ID: <83d2u5aq8a.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1365445507 1255 80.91.229.3 (8 Apr 2013 18:25:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Apr 2013 18:25:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 08 20:25:09 2013 Return-path: Envelope-to: geh-help-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 1UPGkb-0004Y8-Gb for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Apr 2013 20:25:05 +0200 Original-Received: from localhost ([::1]:55266 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPFpl-0006qa-NQ for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Apr 2013 13:26:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPFpZ-0006qE-5O for help-gnu-emacs@gnu.org; Mon, 08 Apr 2013 13:26:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPFpV-000219-66 for help-gnu-emacs@gnu.org; Mon, 08 Apr 2013 13:26:09 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:53972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPFpU-00020d-Qx for help-gnu-emacs@gnu.org; Mon, 08 Apr 2013 13:26:05 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MKY00D005OSM200@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Mon, 08 Apr 2013 20:26:03 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MKY00C1V5RFW8G0@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Mon, 08 Apr 2013 20:26:03 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90039 Archived-At: > From: Bois Francois-Xavier > Date: Mon, 8 Apr 2013 18:38:13 +0200 > > For my project [1] I am wondering if it is possible to achieve this : after > I have fontified the various blocks [2] (with direct use of > font-lock-fontify-region [3]) But font-lock-fontify-region does use faces. > can I force the background for specific regions (ie. the server > blocks and not the client ones) ? What's wrong with the same technique, i.e. using font-lock-fontify-region?