unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kgold@watson.ibm.com (kgold)
Subject: Re: How do I setup an extremely simple font-lock mode?
Date: 23 May 2003 15:02:11 GMT	[thread overview]
Message-ID: <bald5j$ibq$1@news.btv.ibm.com> (raw)
In-Reply-To: mailman.6601.1053636524.21513.help-gnu-emacs@gnu.org


Matt Noel <mgn000@mac.com> 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

  parent reply	other threads:[~2003-05-23 15:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6601.1053636524.21513.help-gnu-emacs@gnu.org>
2003-05-22 23:58 ` How do I setup an extremely simple font-lock mode? Alex Schroeder
2003-05-23 13:50 ` Barman Brakjoller
2003-05-23 15:02 ` kgold [this message]
2003-05-23 15:24   ` Bryan W. Lepore
     [not found] <mailman.6614.1053651042.21513.help-gnu-emacs@gnu.org>
2003-05-23 15:03 ` Stefan Monnier
2003-05-23 15:05   ` Stefan Monnier
2003-05-22 20:47 Matt Noel
2003-05-22 21:11 ` myrkraverk
2003-05-23  0:48   ` Matt Noel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='bald5j$ibq$1@news.btv.ibm.com' \
    --to=kgold@watson.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).