From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: Two questions Date: 11 Sep 2002 16:01:24 GMT Organization: IBM T.J. Watson Research Center Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1031760966 7231 127.0.0.1 (11 Sep 2002 16:16:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Sep 2002 16:16:06 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17pA9t-0001sV-00 for ; Wed, 11 Sep 2002 18:16:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17pA9z-0006RE-00; Wed, 11 Sep 2002 12:16:11 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!news.chips.ibm.com!newsfeed.btv.ibm.com!news.btv.ibm.com!kgold Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: alpha.watson.ibm.com Original-X-Trace: news.btv.ibm.com 1031760084 13744 9.2.16.245 (11 Sep 2002 16:01:24 GMT) Original-X-Complaints-To: news@btv.ibm.com Original-NNTP-Posting-Date: 11 Sep 2002 16:01:24 GMT X-Newsreader: xrn 9.01 Originator: kgold@watson.ibm.com Original-Xref: nntp.stanford.edu gnu.emacs.help:104754 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1310 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1310 Most experts say that hilit19 is obsolete. My understanding is that there are standard names, like font-lock-comment-face, which are shared by all modes. If you look at cperl-mode.el, you will see the faces used there. The default values are defined in font-lock.el. "Frank Winkler @home" writes: > > Ok, "font-lock-mode" seems to be a good trace. If I enable this mode, my > Perl program gets fontified. But I still don't understand why and how. The > word "perl" doesn't appear in font-lock.el. > So where exactly is the keyword-color mapping defined? Why is this not > coupled to perl-mode.el? > > After some more fiddling: hilit19.el seems to be the interesting point. -- -- Ken Goldman kgold@watson.ibm.com 914-784-7646