From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michal Newsgroups: gmane.emacs.help Subject: font lock customization does not work for me Date: Thu, 05 Jun 2008 17:59:44 +0200 Organization: education Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212764092 24292 80.91.229.12 (6 Jun 2008 14:54:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2008 14:54:52 +0000 (UTC) To: emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 06 16:55:35 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 1K4dLh-0002Cf-HX for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jun 2008 16:55:25 +0200 Original-Received: from localhost ([127.0.0.1]:44769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4dKu-0003IP-UI for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jun 2008 10:54:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4I1h-0004xV-Ex for help-gnu-emacs@gnu.org; Thu, 05 Jun 2008 12:09:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4I1g-0004vq-1y for help-gnu-emacs@gnu.org; Thu, 05 Jun 2008 12:09:20 -0400 Original-Received: from [199.232.76.173] (port=36197 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4I1f-0004vR-Mf for help-gnu-emacs@gnu.org; Thu, 05 Jun 2008 12:09:19 -0400 Original-Received: from cg-01.tenbit.pl ([213.180.131.136]:36070 helo=tenbit.pl) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K4I1f-0002UE-Hb for help-gnu-emacs@gnu.org; Thu, 05 Jun 2008 12:09:19 -0400 Original-Received: from [157.25.157.162] (account rabbit50 HELO localhost.localdomain) by tenbit.pl (CommuniGate Pro SMTP 4.1.8) with ESMTP id 84407463 for help-gnu-emacs@gnu.org; Thu, 05 Jun 2008 18:06:06 +0200 X-MAILER: KMail/1.7.1 User-Agent: mozilla news reader X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-Mailman-Approved-At: Fri, 06 Jun 2008 10:50:14 -0400 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:54516 Archived-At: Hallo Group Members I am using emacs 22.1. To the end of file I added: ;; Local Variables: ** ;; comment-start: ";; " ** ;; comment-end:"**" ** ;; font-lock-keywords: '(("Wed" . font-lock-warning-face)) ** ;; End: ** then saved and reopened file, but "Wed" strings in my file did not change their face. >From within my buffer I have: font-lock-keywords is a variable defined in `font-lock.el'. Its value is '(("Wed" . font-lock-warning-face)) Local in buffer readme.txt; global value is nil font-lock-maximum-decoration is a variable defined in `font-lock.el'. Its value is t global-font-lock-mode is a variable defined in `font-core.el'. Its value is t The: ;; font-lock-keywords: (("Wed" . font-lock-warning-face)) ** as well as: ;; font-lock-keywords: ("Wed" . font-lock-warning-face) ** also does not work Did I overlooked something? have You got some ideas? Regards, Michal