Alan Mackenzie writes:
However, when it drops off the end, update_syntax_cache wrongly sets
its
boundary positions to the ABSOLUTE BEGINNING/END of buffer. This is
clearly wrong.
Do you have a test case that shows actual erroneous behavior fixed by
changing this? While I agree with your intuition, the syntax cache
has a ton of unintuitive code, and the specification for its behavior
is completely undocumented. Patches based on intuition make me very
nervous.
Here is a patch to fix this. Would somebody please check it and
commit
it. This fix is necessary for CC Mode to work.
Does CC mode use narrowing internally? A bug that exhibits in an
never-narrowed buffer should not be fixed by this.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta