From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jrwats Newsgroups: gmane.emacs.help Subject: Emacs hang on heavily templated .H file Date: Sat, 11 Jul 2009 11:06:30 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1247337707 32248 80.91.229.12 (11 Jul 2009 18:41:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jul 2009 18:41:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 11 20:41:40 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MPhVz-00065q-Iq for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Jul 2009 20:41:39 +0200 Original-Received: from localhost ([127.0.0.1]:43243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPhVy-0004FK-Vk for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Jul 2009 14:41:39 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!o7g2000yqb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 9 Original-NNTP-Posting-Host: 71.231.6.129 Original-X-Trace: posting.google.com 1247335590 22414 127.0.0.1 (11 Jul 2009 18:06:30 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 11 Jul 2009 18:06:30 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o7g2000yqb.googlegroups.com; posting-host=71.231.6.129; posting-account=bFjqRgoAAAA1g2eFs8HouoaeO5EHoWR2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11) Gecko/2009060309 Ubuntu/9.04 (jaunty) Firefox/3.0.11, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:170761 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65962 Archived-At: 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?