unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: emacs-devel@gnu.org, bug-cc-mode@gnu.org
Subject: C mode fontification took 50 seconds
Date: Sat, 28 Apr 2007 14:35:30 -0400	[thread overview]
Message-ID: <E1Hhrla-0001VV-KF@fencepost.gnu.org> (raw)

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/


             reply	other threads:[~2007-04-28 18:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-28 18:35 Richard Stallman [this message]
2007-04-30  1:38 ` C mode fontification took 50 seconds Glenn Morris
2007-05-01 17:25   ` Richard Stallman
2007-05-02  0:13     ` Richard Stallman
2007-05-01 18:39 ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Hhrla-0001VV-KF@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=bug-cc-mode@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).