unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: emacs suspension
Date: Thu, 11 Dec 2003 14:56:33 GMT	[thread overview]
Message-ID: <jwv8yljwgs4.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca> (raw)
In-Reply-To: br7lo7$rgd$1@home.itg.ti.com

> 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).

> 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.

>> > 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 ?
Can you try the M-: (setq debug-on-error t) RET and then use C-g ?

> Also the next time it suspends I'll just post the results of the "top"

Nah, the output of "top" is just useless.


        Stefan

  reply	other threads:[~2003-12-11 14:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-08 17:17 emacs suspension Michelle Roderick
2003-12-08 19:42 ` gebser
     [not found] ` <mailman.1364.1070916279.399.help-gnu-emacs@gnu.org>
2003-12-10  0:08   ` Michelle Roderick
2003-12-10  2:02     ` gebser
2003-12-10  3:12 ` Stefan Monnier
2003-12-10 17:47   ` Michelle Roderick
2003-12-11 14:56     ` Stefan Monnier [this message]
2003-12-11 18:30       ` Michelle Roderick
2003-12-12  0:53         ` Stefan Monnier
     [not found] <mailman.1457.1071025491.399.help-gnu-emacs@gnu.org>
2003-12-10 23:53 ` Michelle Roderick
2003-12-11  2:16   ` gebser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv8yljwgs4.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca \
    --to=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).