From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Bryan W. Lepore" Newsgroups: gmane.emacs.help Subject: Re: How do I setup an extremely simple font-lock mode? Date: Fri, 23 May 2003 11:24:19 -0400 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1053704635 19104 80.91.224.249 (23 May 2003 15:43:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 23 May 2003 15:43:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri May 23 17:43:51 2003 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 19JEYJ-00044q-00 for ; Fri, 23 May 2003 17:33:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19JEVx-0003WB-TV for gnu-help-gnu-emacs@m.gmane.org; Fri, 23 May 2003 11:31:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19JET7-0002Ik-KJ for help-gnu-emacs@gnu.org; Fri, 23 May 2003 11:28:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19JESg-0001uZ-Cb for help-gnu-emacs@gnu.org; Fri, 23 May 2003 11:28:03 -0400 Original-Received: from blanca.unet.brandeis.edu ([129.64.99.169]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19JEP6-0000q2-6P for help-gnu-emacs@gnu.org; Fri, 23 May 2003 11:24:20 -0400 Original-Received: from bragg.rose.brandeis.edu (bragg.rose.brandeis.edu [129.64.32.46])h4NFOJfD027776; Fri, 23 May 2003 11:24:19 -0400 Original-To: kgold In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10122 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10122 i took some lisp from a former lab member and added in particular things - you can see an example on http://people.brandeis.edu/~lepore/dotemacs -bryan ___________________________________________________________________________ Bryan Lepore Brandeis University Petsko/Ringe Laboratory Rosenstiel Basic Medical Sciences Research Center Floor Six MS029 Waltham, MA 02454 http://people.brandeis.edu/~lepore ___________________________________________________________________________ On 23 May 2003, kgold wrote: > > Matt Noel writes: > > I want to setup a very simple mode for colorizing a log file. All I > > need to do is highlight any lines with the string ERROR on them. I've > > tried reading the documentation for font-lock but it's not clear how to > > do this. > > Related question. I use log4j as a Java logger. It prefixes each line with > DEBUG: > INFO: > ERROR: > WARN: > FATAL: > Is there a "log4j" mode which colorizes these. > > -- > -- > Ken Goldman kgold@watson.ibm.com 914-784-7646 > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs >