[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make-mode "hanging"

From: Trent Buck
Subject: make-mode "hanging"
Date: Tue, 17 May 2005 18:04:28 +1000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)


        Upon opening, some makefiles are causing Emacs to begin 100% CPU
        utilization for an unacceptably long time (minutes).


        - Open a new buffer and put it in make-mode.
        - Type "foo:" and a new line.
        - Type "        echo *".
        - Keep typing asterisks.  After each asterisk, Emacs hogs the CPU for
          an increasingly long time.

        Thirty-two asterisks causes emacs to hog the CPU (uninterruptibly) for
        over a minute on a 3GHz P4, at which time I lost patience and killed it.

This problem manifests with CVS 2005-05-17, but not with CVS 2005-04-28.  I note
that Daniel Pfeiffer made changes to make-mode.el on the 13th and 16th of this
month; possibly one of these commits has introduced the problem.

The real-world makefile that brought this bug to my attention is attached below.

Attachment: Functions.mk
Description: Text document

PS: I am not currently on this list, please CC replies to me
(address@hidden) if possible.

In GNU Emacs (i386-pc-linux-gnu)
 of 2005-05-17 on malambruno, modified by Debian
configured using `configure '--build' 'i386-linux' '--host' 'i386-linux' 
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' 
'--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' 
'--with-pop=yes' '--with-gif' '--with-x=no' 'CFLAGS=-DDEBIAN -g -O2' 
'build_alias=i386-linux' 'host_alias=i386-linux''

Trent Buck, Student Errant

reply via email to

[Prev in Thread] Current Thread [Next in Thread]