From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: "Drew Adams" <drew.adams@oracle.com>
Newsgroups: gmane.emacs.help
Subject: RE: Compilation Message Presentation
Date: Wed, 2 Dec 2009 16:14:31 -0800
Message-ID: <4211C26BC6AD434898D8B62B652DA01E@us.oracle.com>
References: <6d649a69-9a67-40d6-a6ff-c30f7cc66b5e@r5g2000yqb.googlegroups.com>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Trace: ger.gmane.org 1259799582 5831 80.91.229.12 (3 Dec 2009 00:19:42 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 3 Dec 2009 00:19:42 +0000 (UTC)
To: "=?iso-8859-1?Q?'Nordl=F6w'?=" <per.nordlow@gmail.com>,
	<help-gnu-emacs@gnu.org>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 03 01:19:34 2009
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
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 1NFzPx-0002RD-IB
	for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Dec 2009 01:19:33 +0100
Original-Received: from localhost ([127.0.0.1]:55203 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1NFzPw-0007Xk-NH
	for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Dec 2009 19:19:32 -0500
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NFzPQ-0007SO-6s
	for help-gnu-emacs@gnu.org; Wed, 02 Dec 2009 19:19:01 -0500
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1NFzPK-0007LO-N2
	for help-gnu-emacs@gnu.org; Wed, 02 Dec 2009 19:18:58 -0500
Original-Received: from [199.232.76.173] (port=36529 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1NFzPK-0007L3-7z
	for help-gnu-emacs@gnu.org; Wed, 02 Dec 2009 19:18:54 -0500
Original-Received: from rcsinet12.oracle.com ([148.87.113.124]:38069
	helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <drew.adams@oracle.com>) id 1NFzLN-0006hf-Lw
	for help-gnu-emacs@gnu.org; Wed, 02 Dec 2009 19:14:49 -0500
Original-Received: from rgminet13.oracle.com (rcsinet13.oracle.com [148.87.113.125])
	by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id
	nB30EaLn019173
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 3 Dec 2009 00:14:37 GMT
Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154])
	by rgminet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id
	nB2FHX5I006299; Thu, 3 Dec 2009 00:14:40 GMT
Original-Received: from abhmt004.oracle.com by acsmt357.oracle.com
	with ESMTP id 757933591259799270; Wed, 02 Dec 2009 18:14:30 -0600
Original-Received: from dradamslap1 (/130.35.178.194)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Wed, 02 Dec 2009 16:14:29 -0800
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <6d649a69-9a67-40d6-a6ff-c30f7cc66b5e@r5g2000yqb.googlegroups.com>
Thread-Index: Acpzqt/OMNQp4k2FTBGeNZLB4U0aAAAAWL5g
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-Source-IP: acsmt354.oracle.com [141.146.40.154]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090209.4B1702F2.000A:SCFMA4539814,ss=1,fgs=0
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1)
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 <help-gnu-emacs.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=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:70344
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/70344>

> Does anybody know of an extensions to grep()/complie() in compile.el
> that highlights messages/warning/errors/notes in the *source-buffer*
> using either *overlays* or *fringes*?

Isn't that what it does already (overlay, not fringe)?
It does for me, at least.

I use compile+.el and grep+.el, but I don't think that makes much difference
here.

Here is the code in `compilation-goto-locus':
(overlay-put compilation-highlight-overlay 'face 'next-error)
See also variable `compilation-highlight-regexp'.

Oh, I also use simple+.el - maybe that has something to do with it. I added
`until-move' as a possible value for option `next-error-highlight'. Otherwise,
the highlighting goes away too quickly for my taste.

(Since I use separate frames, if the value is `t' it goes away even when I just
switch to the source-buffer frame, because a frame switch is considered the next
command.)