emacs22 takes almost 4 minutes to load large C file

Bug #420688 reported by Brad Lucier
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
emacs22 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: emacs22-common

To reproduce: Download and gunzip the file

http://www.math.purdue.edu/~lucier/launchpad/1/_num.c.gz

Loading into emacs22 with

emacs _num.c

takes about 4 minutes of CPU time on a 2.33GHz Core 2 Duo until the text appears. I have not .emacs file.

Ubuntu 9.04

The package is emacs22-common 22.20ubuntu2.

Uninstalling emacs22 and installing

emacs21 21.4a+1-5.6

fixes the problem (the file loads instantly).

Revision history for this message
era (era) wrote :

Confirmed with emacs -Q, emacs22-gtk 22.2-0ubuntu2 on Jaunty (stopped counting after 5 minutes; it did finish loading eventually, and load decreased significantly at that point).

I have a vague recollection that I saw an upstream bug which looked a lot like this one, but wasn't able to find it in the Emacs bug tracker in spite of spending an hour browsing around. http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3032 is not the one I was looking for, but might actually be the correct upstream bug for this particular case.

Changed in emacs22 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.