Colin Guthrie <colin(a)caravan-sitefinder.co.uk> wrote:
/.../
Normal single line comments begin // but if you start one with ///
(a
la doxygen) it messes up futher indentation.
/.../
int main()
{
/// This is a comments
int i;
/// This is another comment
int b;
/// This is another comment
int c;
}
This is due to a bug in the XEmacs core, so I'm resending it to
xemacs-beta(a)xemacs.org.
More specifically, forward-comment doesn't work properly in the
backward direction. To reproduce without CC Mode functions: Go to the
beginning of any of the "int" tokens. Evaluate (forward-comment -17).
It stops inside the preceding comment, between the first and second
"/".
Perhaps this is fixed now; I've reported comment skipping bugs like
this earlier, at least. (Haven't got the cvs version running, so I
haven't checked.)
IMPORTANT NOTICE
The information contained in this email and any attached files,
including replies and forwarded copies, are confidential and
intended solely for the addressee(s) and may be legally privileged
or prohibited from disclosure and unauthorised use.
If you are not the named addressee you may not use, copy or disclose
this information to any other person.
/... blah blah .../
I gleefully ignore this bullshit and resend it anyway.