all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: emacs suspension
Date: Wed, 10 Dec 2003 03:12:23 GMT	[thread overview]
Message-ID: <jwv4qw9pdy5.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca> (raw)
In-Reply-To: br2b8u$dc6$1@home.itg.ti.com

> I am using emacs-21.2 in vip mode.  I have a large file that I am working
> with (450Kbytes) and it occasionally suspends when I go into insert mode or
> if I do a line copy/paste.  The suspension can last around 30 minutes.

Take a look at emacs/etc/DEBUG where you'll see how to run Emacs under
a debugger and interrupt it every once in a while to see what it's doing
doing this time.

> I changed my buffer size to:

> (setq font-lock-maximum-size 524288)

That does not change the buffer size.  What gave you the impression that
your problem is related to font-lock?  Does the problem disappear if
font-lock is turned off?

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


        Stefan

  parent reply	other threads:[~2003-12-10  3:12 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 [this message]
2003-12-10 17:47   ` Michelle Roderick
2003-12-11 14:56     ` Stefan Monnier
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

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

  git send-email \
    --in-reply-to=jwv4qw9pdy5.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.
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.