GNU bug report logs - #12136
24.1; Allow faces specified by property lists in `compilation-error-regexp-alist'.

Previous Next

Package: emacs;

Reported by: Oleksandr Manzyuk <manzyuk <at> gmail.com>

Date: Sat, 4 Aug 2012 14:16:01 UTC

Severity: normal

Tags: patch

Found in version 24.1

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 12136 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Oleksandr Manzyuk <manzyuk <at> gmail.com>
Cc: 12136 <at> debbugs.gnu.org
Subject: Re: bug#12136: 24.1; Allow faces specified by property lists in
	`compilation-error-regexp-alist'.
Date: Sun, 16 Sep 2012 12:31:20 +0800
Oleksandr Manzyuk <manzyuk <at> gmail.com> writes:

> Unlike Emacs 23 in which fontification of compilation errors is handled
> by `font-lock.el', in Emacs 24, it is performed by `compile.el' itself,
> in a rather ad hoc fashion.  In particular, it doesn't handle the faces
> specified by property list of the form (face FACE PROP1 VAL1 PROP2 VAL2
> ...).
>
> (REGEXP FILE [LINE COLUMN TYPE HYPERLINK HIGHLIGHT...]).
>
> Additional HIGHLIGHTs take the shape (SUBMATCH FACE), where FACE is an
> expression returning the face to use for the submatch.  If fact, only
> symbols are supported by the current version of `compile.el' and lists
> error out with the error message "Don't know how to handle face ...".

Thanks.  I committed a slightly amended version of the suggested fix.




This bug report was last modified 12 years and 255 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.