From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: text properties in tex mode Date: Sat, 04 Oct 2008 19:02:26 +0200 Message-ID: <48E7A1A2.3070903@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223139812 20524 80.91.229.12 (4 Oct 2008 17:03:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2008 17:03:32 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: k.oikonomou@att.net Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 04 19:04:29 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KmAYI-0004IB-W6 for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Oct 2008 19:04:23 +0200 Original-Received: from localhost ([127.0.0.1]:51725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmAXF-00074N-NH for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Oct 2008 13:03:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmAWx-00074F-1j for help-gnu-emacs@gnu.org; Sat, 04 Oct 2008 13:02:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmAWv-000743-KI for help-gnu-emacs@gnu.org; Sat, 04 Oct 2008 13:02:58 -0400 Original-Received: from [199.232.76.173] (port=45419 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmAWv-000740-Fi for help-gnu-emacs@gnu.org; Sat, 04 Oct 2008 13:02:57 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:50094) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KmAWu-0003Xp-NY for help-gnu-emacs@gnu.org; Sat, 04 Oct 2008 13:02:57 -0400 Original-Received: (qmail invoked by alias); 04 Oct 2008 17:02:53 -0000 Original-Received: from 88-117-40-222.adsl.highway.telekom.at (EHLO [88.117.40.222]) [88.117.40.222] by mail.gmx.net (mp019) with SMTP; 04 Oct 2008 19:02:53 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/ZDlcxgE7Zxnx93yKXfiP1jycsyFgRzB6c220vRl 3d5FxKFH0sL/rt User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) Original-References: 48E78E51.9040102@att.net X-Y-GMX-Trusted: 0 X-FuHaFi: 0.68 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58356 Archived-At: > I use Emacs's plain TeX mode (i.e. not AucTeX), with font-lock deactivated. (And Emacs 22.3.) > > I'd like to be able to change the background color of a piece of text > to, say, yellow, by selecting it with the mouse, and then doing Edit -> > Text Properties -> Background Color. > > However this fails with a message "Face ((:background yellow)) not > configured for latex mode". How do I get around this? How about using (add-hook 'latex-mode-hook (lambda () (set (make-local-variable 'facemenu-add-face-function) nil))) martin