From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: subtle problem of font-lock in *compilation* buffer Date: Wed, 13 Sep 2006 13:07:08 +0900 Message-ID: References: <87ejujxg42.fsf@furball.mit.edu> <87fyewpun5.fsf@stupidchicken.com> <87vensh1ol.fsf@furball.mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1158120529 2481 80.91.229.2 (13 Sep 2006 04:08:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2006 04:08:49 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 13 06:08:47 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GNM3I-0006vZ-Pp for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2006 06:08:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNM3I-0003vJ-8D for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2006 00:08:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNM37-0003uw-U5 for emacs-devel@gnu.org; Wed, 13 Sep 2006 00:08:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNM32-0003su-SC for emacs-devel@gnu.org; Wed, 13 Sep 2006 00:08:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNM32-0003sr-Nw for emacs-devel@gnu.org; Wed, 13 Sep 2006 00:08:28 -0400 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GNM4e-0004Qb-Qj; Wed, 13 Sep 2006 00:10:09 -0400 Original-Received: from smtp2.aist.go.jp ([150.29.246.12]) by mx1.aist.go.jp with ESMTP id k8D48KQe004383; Wed, 13 Sep 2006 13:08:20 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id k8D48J32023879; Wed, 13 Sep 2006 13:08:19 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1GNM1k-0004KY-00; Wed, 13 Sep 2006 13:07:08 +0900 Original-To: Chong Yidong In-reply-to: <87vensh1ol.fsf@furball.mit.edu> (message from Chong Yidong on Tue, 12 Sep 2006 23:42:50 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) 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 Xref: news.gmane.org gmane.emacs.devel:59753 Archived-At: In article <87vensh1ol.fsf@furball.mit.edu>, Chong Yidong writes: > On further consideration, it's impossible to handle this perfectly: Of course! A simple way to cheat font-lock is to use "@echo ..." in Makefile. > consider compiling a file named "foo -version-info 1", which gives > rise to the error message > foo -version-info 1:0: blah blah > ^^^^^^^^^^^^^^^^^^^ The question is which is important, to handle the above extremely rare case correctly (and fail in more general case), or to handle the more general case correctly (and fail in rarer case). --- Kenichi Handa handa@m17n.org