Ralf Angeli <angeli(a)caeruleus.net> writes:
* David Kastrup (2007-03-11) writes:
> Ralf Angeli <angeli(a)caeruleus.net> writes:
>
>> That's due to a bug in XEmacs 21.5 related to the function
>> `with-syntax-table' I reported over two years ago to the XEmacs
>> project. See <
URL:http://mid.gmane.org/cp7323$qm7$1%40sea.gmane.org>.
Removing the call to `copy-syntax-table' from the macro seems to fix it.
Which macro, which call? The problem you reported was
Using a fresh CVS checkout of XEmacs trunk the following snippet
returns "1" when evaluated whereas it returns "5" in GNU Emacs
21.3,
CVS GNU Emacs and XEmacs 21.4.15.
(with-temp-buffer
(with-syntax-table (make-syntax-table)
(insert "foo bar")
(backward-sexp 1)
(point)))
If `set-syntax-table' is used instead of `with-syntax-table', CVS
XEmacs returns "5" as well, so I suppose that there is a problem in
`with-syntax-table' or a function called by it.
You presumably mean the macro `with-syntax-table', but it might be a
good idea to explicitly say so and quote the code in question.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta