emacs-devel
[Top][All Lists]
Advanced

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

Re: JIT stealth font-lock tuning parameters


From: Stefan Monnier
Subject: Re: JIT stealth font-lock tuning parameters
Date: Sun, 18 Nov 2001 22:08:29 -0500

>     > It could return some special value which the caller could check for.
> 
>     OK, so syntax-ppss should check for that value.  What should it do with 
> it ?
> 
> syntax-ppss should probably return that special value too.
> The jit-lock code, which would have bound the flag to ask
> parse-partial-sexp to check for input, would notice this special
> value and give up.

OK, so syntax-ppss need to check for such a special return value
and when found, should pass it up to font-lock which should also check
for it and pass it up to jit-lock.

Why would that be better than using a non-local exit like `throw'
or `signal' ?


        Stefan




reply via email to

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