all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs locks up after $('
Date: Sat, 23 May 2009 14:35:58 +0300	[thread overview]
Message-ID: <83fxewt5k1.fsf@gnu.org> (raw)
In-Reply-To: <e41d198e-1ba5-4357-83e9-351a714cd871@j18g2000prm.googlegroups.com>

> From: Dave Cohen <google@dave-cohen.com>
> Date: Fri, 22 May 2009 16:18:13 -0700 (PDT)
> 
> I'm editing a file in "JavaScript Moz" mode, and I type, in the middle
> of a long file of javascript code:
> $('
> 
> followed by some characters (depending on how quickly I type them).
> Then emacs stops accepting input, and hogs all the system CPU.  Until
> I have to kill the process, losing whatever I was in the middle of.

If you type C-g when this happens, does it help to unlock Emacs,
so you don't lose your edits?

If C-g does unlock Emacs, try typing (' again, after setting
debug-on-quit to t.  Then, when you type C-g, Emacs should present a
backtrace, which might help to find the code that hangs.

Anyway, what version of Emacs is that, and what .el file do you use
for the "JavaScript Moz" mode?




  parent reply	other threads:[~2009-05-23 11:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-22 23:18 emacs locks up after $(' Dave Cohen
2009-05-22 23:24 ` Dave Cohen
2009-05-23  6:25   ` Xah Lee
2009-05-23 11:35 ` Eli Zaretskii [this message]
2009-05-25  7:14 ` Anselm Helbig

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=83fxewt5k1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.