[Top][All Lists]

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

Re: Advising in cc-awk.el and namespace

From: Richard Stallman
Subject: Re: Advising in cc-awk.el and namespace
Date: Thu, 17 Jul 2003 19:55:15 -0400

    The only problem for is that we don't really have that info right now.
    The only thing that jit-lock knows is whether to do the "contextual
    refontification" or not.  Font-lock and syntax.el know a little bit more,
    in that they know how to find the previous start-of-defun, but not the next
    one (although depending on the value of 
    and/or syntax-begin-function, the next-start-of-defun can be inferred).

It won't be hard to add a function for them to call to find the next
start-of-defun.  In most cases, pretty much the same code that finds
te previous start-of-defun can be used to find the next one.

If that's enough to make jit-lock much more efficient in most cases,
how about doing it?

reply via email to

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