Stephen J. Turnbull writes:
Alan Mackenzie writes:
> Hi, XEmacs!
> In the following minimal AWK program, using an unreleased AWK Mode,
I can't reproduce by adding the syntax-table properties by hand and
using c-show-syntactic-information from the version of awk-mode in the
XEmacs packages. C-M-f and C-M-b do the right thing before and after.
Normally, the only Lisp-accessible state is `lookup-syntax-properties'.
I doubt your code changes that though. Unfortunately, there's a ton
of state in something called the syntax cache, but it's only even
partly accessible from Lisp if you configure --with-debug. Then you
can get your hands on the mirror table (which contains only integral
syntax codes, not random Lisp cruft, so lookups there are fast) using
the function `mirror-syntax-table', and on some information about the
syntax cache using `syntax-cache-info'.
I suspect this is a known bug (one of the tests that fails in
tests/automated/syntax-tests.el). I'll try to follow up soon.
This is not necessarily the known bug, since I can reproduce that one,
but not this one.
XEmacs-Beta mailing list