From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Michelle Roderick" Newsgroups: gmane.emacs.help Subject: Re: emacs suspension Date: Thu, 11 Dec 2003 11:30:52 -0700 Organization: Texas Instruments Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1071168547 27947 80.91.224.253 (11 Dec 2003 18:49:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2003 18:49:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 11 19:49:04 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AUVrz-0006RT-00 for ; Thu, 11 Dec 2003 19:49:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AUWml-0006yw-TB for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Dec 2003 14:47:43 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news2.telebyte.nl!in.100proofnews.com!in.100proofnews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!attdl1!ip.att.net!news.ti.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 58 Original-NNTP-Posting-Host: pc146l.lsdo.design.ti.com Original-X-Trace: home.itg.ti.com 1071166989 14695 158.218.79.76 (11 Dec 2003 18:23:09 GMT) Original-X-Complaints-To: usenet@news.ti.com Original-NNTP-Posting-Date: 11 Dec 2003 18:23:09 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Original-Xref: shelby.stanford.edu gnu.emacs.help:119224 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15164 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15164 "Stefan Monnier" wrote in message news:jwv8yljwgs4.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca... > > I didn't know why emacs was taking so long to load this file and also it was > > suspending (the problem I'm currently inquiring about). > > I'm not sure I understand what you mean by "suspending" (it normally means > to stop working by relinquising the CPU, like when you hit C-z or when > you close a laptop). It temporarily hangs. I can't click on the screen. Sometimes the screen blacks out. I can't move the cursor. It hangs but then comes back, but after about 30 minutes.... extremely unproductive. > > > So I did a search on emacs and fontifying. > > That still does not explain why "fontifying". Was it just a strange gut > feeling or was there some indication that it was related ? > > > It looks like emacs is fontifying this file which > > is a perl script. The search mentioned increasing this font-lock parameter > > to handle larger files sizes. I didn't know if this would or was suppose to > > help with the suspension problem. Thus is why I brough it up here. > > It only changes the maximum file size past which fontification is > turned off. And by default in Emacs-21, jit-lock is turned on in which > case font-lock-maximum-size is ignored anyway. > Good to know... > >> > and it still locks up. Has anybody had this problem??? > >> > >> It could simply be hitting a bad regexp that has an exponential behavior. > >> Setting debug-on-quit to t and hitting C-g during the hang might help > >> figure out what's going on. > > > I will try to play with the debug. > > What is the major-mode used for this file ? CPerl > Can you try the M-: (setq debug-on-error t) RET and then use C-g ? > I'll try... Regards, Michelle