emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Last steps for pretesting (font-lock-extend-region-function)


From: Alan Mackenzie
Subject: Re: Last steps for pretesting (font-lock-extend-region-function)
Date: Tue, 25 Apr 2006 07:27:18 +0000 (GMT)

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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]