So today I decide that it would be nifty if you could spell-check
comments in code, and I discovered the `ispell-comments-and-strings'
function. Actually the context was showing a colleague how XEmacs is
the slickest thing since icy roads, and how it could do *anything*.
Imagine my embarrassment and utter dismay when
M-x ispell-comments-and-strings gave me "Unterminated string or comment". ;-)
{needless to say, the buffer did not contain any unterminated strings
or comments}
I've observed this misbehaviour with 21.1.14 on Solaris and 21.1.12 on Linux.
Searching the archives I see that Hrovje reported the same bug back in
2000
http://list-archive.xemacs.org/xemacs-beta/200005/msg00342.html
and had a possible workaround. Was there ever any follow-up to this
bug report? (Nothing I can find in the archives)
There is also a newer version of ispell.el (3.5) available at
http://kdstevens.com/~stevens/ispell-page.html.
The ispell.el bundled with XEmacs-21.1. is version 3.3. But the newer
version 3.5 still gives me the same "Unterminated string or comment"
bug.
Is this an XEmacs bug (syntax-table breakage) or an ispell.el bug?
Any expert opinions?
------------------------------------------------------------------