https://bugzilla.novell.com/show_bug.cgi?id=383475 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=383475#c7 --- Comment #7 from Mike Fabian <mfabian@novell.com> 2008-04-25 07:33:03 MST --- If you rename the file from x.cc to x.c, C mode font-locking is used which probably uses simpler regular expressions for fontification than those used for C++ mode. I wonder whether the regular expressions used for C++ can be simplified without introducing inaccuracies in C++ font-locking. I.e. is the slowness of C++ font-locking something which can not be avoided or is there a stupid bug in the regular expressions used for C++ font-locking. Harald found that this also happens with older versions of Emacs. That it happens the same way for both GNU Emacs and XEmacs is probably another indicator that the problem is in code for C++ font-locking shared by both versions of Emacs which has not changed for many years. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.