From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Last steps for pretesting (font-lock-extend-region-function) Date: Mon, 24 Apr 2006 17:33:00 -0400 Message-ID: <878xpuekad.fsf-monnier+emacs@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145914404 17921 80.91.229.2 (24 Apr 2006 21:33:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Apr 2006 21:33:24 +0000 (UTC) Cc: Richard Stallman , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 24 23:33:20 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 1FY8gE-0008N3-1J for ged-emacs-devel@m.gmane.org; Mon, 24 Apr 2006 23:33:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FY8gD-0002R7-8z for ged-emacs-devel@m.gmane.org; Mon, 24 Apr 2006 17:33:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FY8g4-0002Qz-5D for emacs-devel@gnu.org; Mon, 24 Apr 2006 17:33:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FY8g3-0002Qe-4N for emacs-devel@gnu.org; Mon, 24 Apr 2006 17:33:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FY8g2-0002Qb-Ut for emacs-devel@gnu.org; Mon, 24 Apr 2006 17:33:02 -0400 Original-Received: from [209.226.175.74] (helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FY8iL-0007T4-L4; Mon, 24 Apr 2006 17:35:25 -0400 Original-Received: from alfajor ([70.55.144.118]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060424213300.NBHZ16051.tomts20-srv.bellnexxia.net@alfajor>; Mon, 24 Apr 2006 17:33:00 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 09EEDD7855; Mon, 24 Apr 2006 17:33:01 -0400 (EDT) Original-To: Alan Mackenzie In-Reply-To: (Alan Mackenzie's message of "Mon, 24 Apr 2006 19:28:44 +0000 (GMT)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:53359 Archived-At: > I say to you again - your solution is not robust. I don't think it's > been tried at all (correct me if I'm wrong). A variant form of > f-l-extend-region-f (the advice on the f-l a-c-functions, as implemented > for AWK Mode) has been in use since June 2003, and so far no bugs related > to it have been reported by users. We are both aware of a refinement > which is needed, namely calling some sort of f-l-extend-region-f from > f-l-d-f-r and j-l-f-n. > So - please leave the better tested mechanism in place. I feel like Alice in wonderland: you talk as if I wanted to remove a well-established hook in favor of some new fangled feature, whereas the font-lock-multiline property is the one that's been in Emacs since 21.1, whereas your hook is the one that's new and that you want to add to Emacs-22. I think in order to justify this new hook you need to show that the pre-existing font-lock-multiline solution is not good enough in some cases. I know you have a distaste for it, but I find it to be a far cry from showing that it's not good enough. Stefan