From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Last steps for pretesting (font-lock-extend-region-function) Date: Tue, 25 Apr 2006 07:27:18 +0000 (GMT) Message-ID: References: <878xpuekad.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1145964657 6533 80.91.229.2 (25 Apr 2006 11:30:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Apr 2006 11:30:57 +0000 (UTC) Cc: Richard Stallman , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 25 13:30:55 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 1FYLkb-00053y-04 for ged-emacs-devel@m.gmane.org; Tue, 25 Apr 2006 13:30:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYLka-0000ss-87 for ged-emacs-devel@m.gmane.org; Tue, 25 Apr 2006 07:30:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYLjw-0000b0-6q for emacs-devel@gnu.org; Tue, 25 Apr 2006 07:29:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYLju-0000Yb-0p for emacs-devel@gnu.org; Tue, 25 Apr 2006 07:29:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYLjt-0000YA-Oy for emacs-devel@gnu.org; Tue, 25 Apr 2006 07:29:53 -0400 Original-Received: from [193.149.49.134] (helo=acm.acm) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYLmJ-0005YJ-P0; Tue, 25 Apr 2006 07:32:24 -0400 Original-Received: from localhost (root@localhost) by acm.acm (8.8.8/8.8.8) with SMTP id HAA00678; Tue, 25 Apr 2006 07:27:19 GMT X-Sender: root@acm.acm Original-To: Stefan Monnier In-Reply-To: <878xpuekad.fsf-monnier+emacs@gnu.org> 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:53369 Archived-At: Hi, Stefan! On Mon, 24 Apr 2006, Stefan Monnier wrote: >> 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: So do I. :-) I'm still not 100% sure that we're arguing about exactly the same thing. >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. It has already been added. I'm desperately trying to stop you from taking it away again, because that would make my (Emacs) life much more difficult. >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 don't. I merely need to point out that Richard specifically asked for this hook to be installed. When he did so, he was aware that it was called from an after-change function. > Stefan -- Alan.