================================================================
Dear Bug Team!
It appears that cc-mode running in xemacs gets confused by triple slashes.
Here's how you should be able to repeat the problem I'm seeing
1) Start up xemacs. (I'm running in Windows XP by double clicking
the icon.)
2) Create a new file "MyNewFile.cpp"
The way I created it was C-x C-f NewFile.cpp <ret>
At this point the mode line says C++
3) Type the following into the NewFile.cpp buffer
class Foo
{
///
/// Just foo it
///
4) Move the cursor to the "Just foo it" line
5) Hit C-c C-s
In the mini-buffer XEmacs will print
syntactic analysis: ((topmost-intro-cont 18) (comment-intro))
If we had run this test in Emacs it would have printed
syntactic analysis: ((inclass 15) (topmost-intro 17) (comment-intro))
For some reason the "///" will make cc-mode in xemacs think we've left
the class definition.
If I use "//" for the comment instead of "///" then xemacs
returns the same result from c-show-syntactic-information as what
emacs returns.
================================================================
System Info to help track down your bug:
---------------------------------------
OS version:
Microsoft Windows XP [Version 5.1.2600]
OS: Windows_NT
XEmacs 21.4.19 "Constant Variable" configured for `i586-pc-win32'.
Building XEmacs in
"e:\\acs\\software\\XEmacsWindowsKit\\xemacs-21.4-2006-01-28\\nt".
Using compiler "cl -nologo -W3 -O2 -G5 -MD".
Installing XEmacs in "c:\\XEmacs-built\\XEmacs-21.4.19".
Package path is
"~\\.xemacs;;c:\\XEmacs-built\\site-packages;c:\\XEmacs-built\\xemacs-packages".
Compiling in support for Microsoft Windows native GUI.
Compiling in support for XPM images.
Compiling in support for GIF images.
Compiling in support for PNG images.
Compiling in support for TIFF images.
Compiling in support for JPEG images.
Compiling in support for toolbars.
Compiling in support for dialogs.
Compiling in support for widgets.
Compiling in support for native sounds.
Compiling in fast dired implementation.
Using portable dumper.
Using system malloc.
Using DLL version of C runtime library
Load-Path Lisp Shadows:
----------------------
(c:\DOCUME~1\cts\.elisp\tempo c:\Program
Files\XEmacs\xemacs-packages\lisp\edit-utils\tempo
c:\DOCUME~1\cts\.elisp\gnuserv c:\Program
Files\XEmacs\XEmacs-21.4.19\lisp\gnuserv)
Installed XEmacs Packages:
-------------------------
(xemacs-devel ver: 1.72 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.03 upstream: No-Upstream-Ver)
(w3 ver: 1.32 upstream: 4.0pre47)
(vm ver: 7.22 upstream: 7.17)
(vc ver: 1.41 upstream: No-Upstream-Ver)
(tm ver: 1.38 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(text-modes ver: 1.9 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(speedbar ver: 1.28 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sieve ver: 1.18 upstream: No-Upstream-Ver)
(sh-script ver: 1.21 upstream: 2.0f)
(semantic ver: 1.19 upstream: 1.4.2)
(sasl ver: 1.16 upstream: 1.14.4)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.07 upstream: No-Upstream-Ver)
(pgg ver: 1.06 upstream: 0.1)
(perl-modes ver: 1.08 upstream: No-Upstream-Ver)
(pcl-cvs ver: 1.66 upstream: R-2_9_9)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.37 upstream: No-Upstream-Ver)
(net-utils ver: 1.48 upstream: N/A)
(mh-e ver: 1.29 upstream: 7.4.2)
(mew ver: 1.19 upstream: 1.94.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.76 upstream: No-Upstream-Ver)
(ispell ver: 1.32 upstream: 3.6)
(ilisp ver: 1.33 upstream: 5.12.0)
(gnus ver: 1.9 upstream: 5.10.7)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.33 upstream: 1.23)
(edit-utils ver: 2.34 upstream: No-Upstream-Ver)
(ediff ver: 1.62 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecrypto ver: 0.2 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(dired ver: 1.17 upstream: 7.13)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.23 upstream: No-Upstream-Ver)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(bbdb ver: 1.29 upstream: 2.34)
(apel ver: 1.32 upstream: 10.6)
(ada ver: 1.14 upstream: 2.27)
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 env efs-dired
efs-x19.15 efs-fnh efs-ovwrt efs-netrc efs-defun efs efs-dump
package-ui package-get package-admin config dabbrev ediff ediff-util
ediff-merg ediff-diff ediff-wind ediff-tbar ediff-help ediff-mult
ediff-init dired-faces dired-xemacs dired paren blink-paren gnuserv
gpsim setup_w3 w3-auto gud tags etags comint ring psvn edmacro overlay
avltree stack-m elib-node msvc-doxygen-template xml parse-time
timezone time-date timelog efs-cu ada-mode csharp-mode byte-optimize
bytecomp byte-compile cc-langs compile cc-mode cc-fonts cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt
font-lock disp-table time cus-face calendar latlong-utm
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads vm-autoloads
vc-autoloads tm-autoloads time-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads speedbar-autoloads
sounds-wav-autoloads sieve-autoloads sh-script-autoloads
semantic-autoloads sasl-autoloads rmail-autoloads ps-print-autoloads
prog-modes-autoloads pgg-autoloads perl-modes-autoloads
pcl-cvs-autoloads pc-autoloads os-utils-autoloads net-utils-autoloads
mh-e-autoloads mew-autoloads mailcrypt-autoloads mail-lib-autoloads
ispell-autoloads ilisp-autoloads gnus-autoloads fsf-compat-autoloads
eterm-autoloads emerge-autoloads elib-autoloads eieio-autoloads
efs-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
ecrypto-autoloads ecb-autoloads dired-autoloads debug-autoloads
cc-mode-autoloads calendar-autoloads c-support-autoloads
bbdb-autoloads apel-autoloads ada-autoloads lisp-autoloads loadhist
auto-show fontl-hooks code-cmds gutter-items menubar-items x-menubar
dragdrop mode-motion mouse itimer auto-save lisp-mode easymenu
iso8859-1 page buff-menu lib-complete help-nomule cus-file derived
frame text-props obsolete cus-start custom widget cl-extra mini-cl cl
cl-19 packages backquote very-early-lisp file-coding
mswindows-scrollbars mswindows toolbar native-sound scrollbar
network-streams subprocesses menu-accelerator-support menubar md5
xemacs gutter tiff png gif jpeg xpm xbm lisp-float-type windows-nt
dragdrop-api dialog devices window-system base64)
Recent keystrokes:
-----------------
r y > RET button1 button1up misc-user button1 button1up
left C-x = button1 button1up C-c s C-c C-s C-h c C-c
C-s C-c C-s button1 button1up BS down home DEL SPC
down left SPC DEL up TAB C-c C-s button1 button1up
C-c C-s button1 button1up button1 button1up f6 C-x
2 C-x C-f f o o . c p p RET down down down down down
down down down down down up up down TAB C-c C-s C-x
5 2 misc-user misc-user C-s n e t C-s right left ESC
x r e p o TAB r TAB x TAB RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Creating package list ...
Updated package database
Got 123 package-get database entries
/anonymous@ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...done
ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...100% (20.0 KB/s)
@ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...95% (20.1 KB/s)
@ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...90% (19.8 KB/s)
@ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...87% (20.5 KB/s)
@ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...82% (20.3 KB/s)
@ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...77% (20.0 KB/s)
@ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...75% (20.2 KB/s)
@ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...72% (19.5 KB/s)
@ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...70% (19.4 KB/s)
@ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...67% (19.1 KB/s)
@ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...65% (17.0 KB/s)
@ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...62% (16.6 KB/s)
@ftp.xemacs.org:/pub/xemacs/packages/package-index.LATEST.gpg...60% (16.9 KB/s)