From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregory Stark Newsgroups: gmane.emacs.bugs Subject: Re: Font Lock Mode only highlights strings Date: Wed, 30 Aug 2006 09:51:46 +0100 Organization: EnterpriseDB Message-ID: <87ac5mzjvh.fsf@enterprisedb.com> References: <87r6z7iyut.fsf@enterprisedb.com> <877j0rg6td.fsf@enterprisedb.com> <87u03u4nhx.fsf_-_@enterprisedb.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156927920 12451 80.91.229.2 (30 Aug 2006 08:52:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2006 08:52:00 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 30 10:51:58 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GILnc-0005s7-BF for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Aug 2006 10:51:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GILnb-00036x-Ok for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Aug 2006 04:51:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GILnX-000363-O5 for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2006 04:51:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GILnV-00034l-Te for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2006 04:51:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GILnV-00034S-MM for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2006 04:51:45 -0400 Original-Received: from [62.232.55.118] (helo=localhost.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GILwq-00023b-13; Wed, 30 Aug 2006 05:01:24 -0400 Original-Received: from localhost ([127.0.0.1] helo=localhost.localdomain) by localhost.localdomain with esmtp (Exim 4.62) (envelope-from ) id 1GILnW-0001MG-H8; Wed, 30 Aug 2006 09:51:46 +0100 Original-To: rms@gnu.org In-Reply-To: <87u03u4nhx.fsf_-_@enterprisedb.com> (Gregory Stark's message of "Wed, 30 Aug 2006 09:49:14 +0100") X-Draft-From: ("nnml+archive:sent" 145) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15290 Archived-At: Gregory Stark writes: > The only code in my .emacs that seems to relate to font-lock-mode is this > which I do in my c-mode-hook: > > (font-lock-mode 1) > (set-face-foreground 'font-lock-string-face "cyan") and when I remove that set-face-foreground then *nothing* gets highlighted. it's as if font-lock-mode isn't actually setting up its faces. It just leaves them set to the default green on black. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com