help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs hang on heavily templated .H file


From: jrwats
Subject: Re: Emacs hang on heavily templated .H file
Date: Sat, 11 Jul 2009 11:15:29 -0700 (PDT)
User-agent: G2/1.0

On Jul 11, 11:06 am, jrwats <jrw...@gmail.com> wrote:
> When I open up file Sequence.h of the Loki template library (http://
> sysinf0.klabs.be/usr/include/loki/Sequence.h?dist=%3Barch=)
>
> in emacs, it hangs when attempting to scroll (C-v) the file around the
> time it hits 58%.  When I run top it is shown to be hogging the CPU @
> 99%.  I believe the cause to be some poor template parsing (bad loop
> of some sort?) mechanism in C++-mode.  Is there any way to debug
> through something like this?

Also note the behavior is notably worse when navigational commands are
queued up (like holding down C-n to scroll down).


reply via email to

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