Alan Mackenzie writes:
In the AWK file, a looking-at was done with the buffer narrowed.
This did an update_syntax_cache which spuriously set the cache over
the entire buffer,
This seems like a bad thing to do anyway. Why should a function that
mutates nothing and doesn't move point invalidate a cache? It's
probably cheaper to copy the cache ....
(This isn't relevant to your suggested patch, which I've convinced
myself is correct. Any update_syntax_cache will exercise the bug, and
in fact in the automated test I developed, I use forward-sexp rather
than looking-at.)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta