unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* C mode fontification took 50 seconds
@ 2007-04-28 18:35 Richard Stallman
  2007-04-30  1:38 ` Glenn Morris
  2007-05-01 18:39 ` Alan Mackenzie
  0 siblings, 2 replies; 5+ messages in thread
From: Richard Stallman @ 2007-04-28 18:35 UTC (permalink / raw)
  To: emacs-devel, bug-cc-mode

Using the latest version of Emacs 22 files, in a 48-line Linux console,
I visited the file xdisp.c and typed C-u 23402 C-n.
Then I typed C-v and waited.

After it had gone on for 30 seconds, I stopped the process and looked
at it with GDB.  xbacktrace gives c-syntactic-skip-backward,
c-in-knr-argdecl, c-beginning-of-decl-1, further up
c-beginning-of-defun, further up, c-parse-state,
c-font-lock-complex-decl-prepare.  This was called
from font-lock-fontify-keywords-region.

It looks like c-in-knr-argdecl has the infinite loop.

After I continued, it eventually finished, but yuck!

This is reproducible.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-05-02  0:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-28 18:35 C mode fontification took 50 seconds Richard Stallman
2007-04-30  1:38 ` Glenn Morris
2007-05-01 17:25   ` Richard Stallman
2007-05-02  0:13     ` Richard Stallman
2007-05-01 18:39 ` Alan Mackenzie

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).