[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
C mode fontification took 50 seconds
From: |
Richard Stallman |
Subject: |
C mode fontification took 50 seconds |
Date: |
Sat, 28 Apr 2007 14:35:30 -0400 |
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.
- C mode fontification took 50 seconds,
Richard Stallman <=