From: Eric M. Ludlam <eric@si...> - 2003-01-15 15:41:31
A moment ago, I wrote about a syntax table super set idea, or a way
to extend the syntax table to allow more arbitrary syntax weighted in
against various speed or built-in issues.
If we made the following changes
1) modify semantic-lex-token to also
(put-text-property start end 'syntax symbol)
or perhaps an overlay instead
2) Modify semantic-lex to flush all 'syntax text properties
then we could also:
* find beginning/end of an arbitrary piece of syntax quickly.
* update syntax properties in change function quickly, since we know
the local bounds.
* Skip lexical step in all future reparses.
* Store overlay in semantic tokens instead of clipped text when
* Not bother partial-reparse if no lexical add/delete changes occur
as the token name would be updated inside the overlay.
but that means:
* spend a lot of time re-writing the semantic-cache save mechanism.
* spend a lot of time updating partial reparse.
* Push Emacs memory usage way up.
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org