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.
1. Place point at position a on L2 and do C-M-f. It goes to d, as
expected.
2. On L3, do C-c C-s (`c-show-syntactic-information').
3. Repeat 1. Point now falsely goes to c. Place point at d and do
C-M-b. Point falsely goes to b.
Indeed, the pattern is that XEmacs behaves as though the /s were just
ordinary characters rather than string delimiters.
I've tried dumping the extents on and between the slashes before and
after 2. Here are the results:
(a) on the first slash:
(14 . 15) (detachable t start-open t end-open t syntax-table (7))
(b) on the second slash:
(21 . 22) (detachable t start-open t end-open t syntax-table (7))
(c) on the characters in between:
(15 . 21) (detachable t end-open t face font-lock-string-face text-prop face)
(15 . 21) (detachable t end-open t text-prop font-lock font-lock t)
These extents do not change between steps 1 and 3. There are no further
extents on any character in "regexp".
I'm stumped. Would somebody please suggest to me what might be recording
whatever state it is which is fouling things up? TIA.
--
Alan Mackenzie (Nuremberg, Germany).
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta