all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Michelle Roderick" <michelle.roderick@ti.com>
Subject: Re: emacs suspension
Date: Thu, 11 Dec 2003 11:30:52 -0700	[thread overview]
Message-ID: <bracmd$eb7$1@home.itg.ti.com> (raw)
In-Reply-To: jwv8yljwgs4.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca


"Stefan Monnier" <monnier@iro.umontreal.ca> 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

  reply	other threads:[~2003-12-11 18:30 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
2003-12-11 18:30       ` Michelle Roderick [this message]
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

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

  git send-email \
    --in-reply-to='bracmd$eb7$1@home.itg.ti.com' \
    --to=michelle.roderick@ti.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.