From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gga Newsgroups: gmane.emacs.help Subject: Slowdown (hang) with large c++ files Date: 23 Apr 2007 08:39:54 -0700 Organization: http://groups.google.com Message-ID: <1177342794.805291.48600@o5g2000hsb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1177346116 20407 80.91.229.12 (23 Apr 2007 16:35:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2007 16:35:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 23 18:35:10 2007 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 1Hg1VA-0004AS-9Y for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Apr 2007 18:34:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg1aZ-00080q-W9 for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Apr 2007 12:40:32 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!o5g2000hsb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 11 Original-NNTP-Posting-Host: 201.255.56.104 Original-X-Trace: posting.google.com 1177342795 10860 127.0.0.1 (23 Apr 2007 15:39:55 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 23 Apr 2007 15:39:55 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: o5g2000hsb.googlegroups.com; posting-host=201.255.56.104; posting-account=9UR21AwAAAC3dGaXO27bGkLgNeK5V6DN Original-Xref: shelby.stanford.edu gnu.emacs.help:147417 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:43021 Archived-At: I am trying to fix an issue with GNU emacs that is driving me insane which is a severe slow-down (a hang of 10 seconds or more) whenever I've loaded a large C++ buffer (100,000+ lines or more -- a file autogenerated by swig). The hang happens sporadically for no reason (no user action triggers it) and happens even if the buffer is not being displayed. It may be font-lock issue, but I am unsure how to limit font-lock to parse only a couple of lines. Can anyone help me out or suggest stuff to try?