[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Idea for syntax-ppss. Is it new? Could it be any good?
From: |
Stefan Monnier |
Subject: |
Re: Idea for syntax-ppss. Is it new? Could it be any good? |
Date: |
Sat, 26 Jul 2008 21:34:45 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> How about reimplementing it thusly?: The current syntax would be cached
> for positions at every N bytes (where N would be, perhaps 1024, possibly
> 8192). A call to syntax-ppss would simply call parse-partial-sexp from
> the latest valid cached position, filling out the cache as it goes. Any
> buffer change would invalidate cached values for N > POS.
Isn't that what syntax-ppss does?
Stefan