Raymond Toy writes:
>>>>> "Peter" == Peter Brown
<rendhalver(a)users.sourceforge.net> writes:
Peter> Charles G Waldman writes:
>>
>> We have font-lock, fast-lock, lazy-lock, and lazy-shot, all of which do the
>> same thing, with different bugs
>>
>> Does anybody besides me think that maybe all of these but one should be
deprecated?
>>
>>
Peter> i thought they did things differently ??
Yes. font-lock is the original and rather slow for large buffers (but
machines are much faster now). I think fast-lock cached the
information in a file somewhere so visiting the file again was fast,
but some people don't like random cache files around.
i can understand that
i use font-lock and its a bit slow on large files
but thats to be expected i guess
Peter> doesnt lazy-* only fontify the visible bit in the
buffer ?
Yes.
I vaguely remember someone saying lazy-lock is deprecated because
lazy-shot did everything lazy-lock did and better. At least that's
what motivated me to use lazy-shot way back when.
My major complaint is that lazy-shot doesn't fontify as well as it
used to and now frequently makes mistakes when comment markers (like
#| in lisp) don't fit entirely within the window. It seems this
happened right after the great syntax modification.
maybe there should be some kind of amalgamation of them
and having an option to use either "do it all first" or "do it as you
go"
--
-------------------------------------------------------------------------
Peter (Rendhalver)
XEmacs Advocate
Perl Hacker
Apache God
FreeBSD Devote
rendhalver(a)users.sourceforge.net
There are only two things that are infinite,
the universe and human stupidity,
and i am not certain about the former
- Albert Einstein
-------------------------------------------------------------------------