From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Mouse highlight in *compilation* buffers Date: Sat, 05 Feb 2005 16:04:53 +0200 Message-ID: <01c50b8b$Blat.v2.4$cfc9dd80@zahav.net.il> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1107612632 11797 80.91.229.2 (5 Feb 2005 14:10:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Feb 2005 14:10:32 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 05 15:10:32 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CxQdl-0003sa-Ur for ged-emacs-devel@m.gmane.org; Sat, 05 Feb 2005 15:10:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CxQrV-0006f9-CX for ged-emacs-devel@m.gmane.org; Sat, 05 Feb 2005 09:24:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CxQq8-0005qO-LR for emacs-devel@gnu.org; Sat, 05 Feb 2005 09:23:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CxQq2-0005mm-0t for emacs-devel@gnu.org; Sat, 05 Feb 2005 09:23:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CxQq1-0005mV-NI for emacs-devel@gnu.org; Sat, 05 Feb 2005 09:23:05 -0500 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CxQca-0002aV-Hd for emacs-devel@gnu.org; Sat, 05 Feb 2005 09:09:12 -0500 Original-Received: from zaretski (tony04-57-217.inter.net.il [80.230.57.217]) by legolas.inter.net.il (MOS 3.5.6-GR) with ESMTP id DRW87624 (AUTH halo1); Sat, 5 Feb 2005 16:09:08 +0200 (IST) Original-To: emacs-devel@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:32904 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32904 The mouse-face highlighting of compiler messages is sometimes too greedy, I think. For example, if the message text is foo.c:5: warning: implicit declaration of function `bar' then the mouse-face property extends up to and excluding the colon that is after the "warning" part. Do we want that, or is the intent to highlight only the file name and the line number? I think it's the latter, because an error message, like this: foo.c:11: error: conflicting types for 'bar' does _not_ have the "error" part highlighted, i.e. mouse-face ends at the colon after the line number. So for consistency's sake, the "warning" part should not be highlighted as well. (It looks like "warning" is treated specially due to its appearance in compilation-error-regexp-alist-alist.)