Bug: (forward-comments -1) gets confused by insignificant comment delimiters.

Stephen J. Turnbull stephen at xemacs.org
Thu Aug 10 00:21:56 EDT 2006


>>>>> "Alan" == Alan Mackenzie <acm at muc.de> writes:

    Alan> 2    ///

I'll take a look at this, if only to classify it.  It may not be the
same as the existing bugs in comment detection, but (unfortunately)
they are legion.  The big problem is that there are really broken
heuristics for moving backward in text that we use, especially when
detecting comments and parenthesized material.  You can see a few of
the resulting bugs documented at the end of
./tests/automated/syntax-tests.el in the XEmacs 21.5 sources.  (Only
if you're really curious; I don't think looking at it will help fix
things.)

I don't know when somebody will have time to actually analyze and fix
these properly, and I'm not sure how long it will take to get a fix
into 21.4 because it's likely to be quite destabilizing.

-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.




More information about the XEmacs-Beta mailing list