From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: ChangeLog fontifications Date: 13 May 2004 18:25:22 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87r7to3rog.fsf-monnier+emacs@gnu.org> References: <200405132050.00109.bruno@clisp.org> <871xloxezs.fsf@wesley.springies.com> <20040513.233755.258207743.wl@gnu.org> <20040513215623.GA14133@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084487889 14133 80.91.224.253 (13 May 2004 22:38:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 May 2004 22:38:09 +0000 (UTC) Cc: Werner LEMBERG , ats@acm.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 14 00:37:59 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOOpy-0005cI-00 for ; Fri, 14 May 2004 00:37:58 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOOpy-0002m4-01 for ; Fri, 14 May 2004 00:37:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOOf4-0000oZ-Rx for emacs-devel@quimby.gnus.org; Thu, 13 May 2004 18:26:42 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BOOeO-0000dx-Kc for emacs-devel@gnu.org; Thu, 13 May 2004 18:26:00 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BOOdr-0000Xm-2y for emacs-devel@gnu.org; Thu, 13 May 2004 18:25:59 -0400 Original-Received: from [209.226.175.34] (helo=tomts13-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOOdq-0000Xa-QJ; Thu, 13 May 2004 18:25:26 -0400 Original-Received: from alfajor ([67.68.218.161]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040513222526.UXRP20937.tomts13-srv.bellnexxia.net@alfajor>; Thu, 13 May 2004 18:25:26 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id CA906D74ED; Thu, 13 May 2004 18:25:22 -0400 (EDT) Original-To: Miles Bader In-Reply-To: <20040513215623.GA14133@fencepost> Original-Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23359 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23359 >> What on earth was the reason to invent such a convention? > Because (1) it's more friendly to line-oriented parsers (like font-lock, but > also external tools [*]), and (2) it looks quite nice. Indeed, I strongly suspect that the convention was designed before font-lock existed. In any case we have to live with the fact that many projects don't follow this part of the convention (and thus lived without complaining with font-lock not highlighting things the way they wanted). I think fixing font-lock to follow their use would go in the wrong direction unless it is decided to change the convention. What would be better would indeed be things like teaching fill&auto-fill how to do things right. OTOH adding a big fat font-lock-warning-face where the convention is not followed (like I do) would probably result in a massive popular revolt. Stefan