From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: harven Newsgroups: gmane.emacs.help Subject: Re: text properties in tex mode Date: Sun, 05 Oct 2008 19:57:52 +0200 Organization: erewhon Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223232051 20633 80.91.229.12 (5 Oct 2008 18:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2008 18:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 05 20:41:49 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 1KmYY1-0007XK-RC for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 20:41:41 +0200 Original-Received: from localhost ([127.0.0.1]:33580 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmYWy-0002Y5-G9 for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 14:40:36 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp13-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) Cancel-Lock: sha1:+gbtOrTBjG58EqUdNubSEW9Ujao= Original-Lines: 26 Original-NNTP-Posting-Date: 05 Oct 2008 19:57:53 MEST Original-NNTP-Posting-Host: 82.240.200.149 Original-X-Trace: 1223229473 news-1.free.fr 12768 82.240.200.149:51692 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:163051 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:58393 Archived-At: Kostas Oikonomou writes: > Harven, > I have indeed disabled font-lock mode everywhere by > > (global-font-lock-mode -1) > > in my init.el file. I don't mind losing font-lock coloring in my > Latex buffer. > But when I then do Edit -> Text Properties -> Background color, I get > the error I posted. > Are you saying above that this should not be happening? If I disable font-lock-mode, I get back the yellow face in the Background color menu, and it works. Do you get the error when you click on the Background color button ? Does it give you the menu with entries yellow/other ? Maybe you can try to redefine the yellow face in TeX mode, by putting in your .emacs: (add-hook 'tex-mode-hook (lambda () (make-face 'yellow) (set-face-background 'yellow "yellow"))) Hope that helps