Hi, Stephen
On Wed, Aug 03, 2011 at 06:49:23PM +0900, Stephen J. Turnbull wrote:
Alan Mackenzie writes:
> Hi, XEmacs!
> In the following minimal AWK program, using an unreleased AWK
Mode,
> 1. # Commentary
> 2. /regexp/ {
> 3. }
> ab cd
> ,there are "string" (7) syntax-table properties in
extents on both the
> slashes. forward-sexp and backward-sexp go wrong.
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.
BTW, this is the report you refer to later, about C-M-b and C-M-f,
right?
Yes.
Here are the results of some investigations. The primitive which
corrupts the syntax_cache is `looking-at'.
1. Build XEmacs configured with --with-debug.
2. Load the above AWK file using the released AWK Mode. Note that there
are "string" (7) syntax-table properties in extents on both the
slashes.
3. C-M-f C-M-b move correctly from slash to slash and back again.
4. Narrow the buffer so that the opening brace is the first accessible
character.
5. M-: (syntax-cache-info) shows that the syntax-cache is valid.
6. With point at EOB, M-: (looking-at "\\s \\|[\n\r]").
7. M-: (syntax-cache-info) shows that the syntax-cache is corrupt. In
particular, the syntax_cache.start/end markers bound the entire buffer,
wiping out the effect of the "string" properties.
8. C-M-f C-M-b now wrongly ignore the slashes.
Note that you can automatically create a tracker issue by including
the string "[issue] " as the first thing in your Subject, or by using
M-x report-xemacs-bug to create a standard bug report header. This
helps me in keeping track. Unfortunately the tracker issue is not
otherwise linked to xemacs-beta at present.
Will do.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta