From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: emacs locks up after $(' Date: Sat, 23 May 2009 14:35:58 +0300 Message-ID: <83fxewt5k1.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1243078673 11625 80.91.229.12 (23 May 2009 11:37:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 May 2009 11:37:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 23 13:37:46 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M7pXt-0004gR-GO for geh-help-gnu-emacs@m.gmane.org; Sat, 23 May 2009 13:37:45 +0200 Original-Received: from localhost ([127.0.0.1]:51762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7pXs-0003DO-Oy for geh-help-gnu-emacs@m.gmane.org; Sat, 23 May 2009 07:37:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M7pWF-0002Mn-51 for help-gnu-emacs@gnu.org; Sat, 23 May 2009 07:36:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M7pWD-0002MS-MK for help-gnu-emacs@gnu.org; Sat, 23 May 2009 07:36:02 -0400 Original-Received: from [199.232.76.173] (port=60448 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7pWD-0002MM-FQ for help-gnu-emacs@gnu.org; Sat, 23 May 2009 07:36:01 -0400 Original-Received: from mtaout2.012.net.il ([84.95.2.4]:34426) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M7pWC-0002yt-Qs for help-gnu-emacs@gnu.org; Sat, 23 May 2009 07:36:01 -0400 Original-Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KK300M00HAJTS00@i_mtaout2.012.net.il> for help-gnu-emacs@gnu.org; Sat, 23 May 2009 14:35:59 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.115.215]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KK3002SJHJYZ3H0@i_mtaout2.012.net.il> for help-gnu-emacs@gnu.org; Sat, 23 May 2009 14:35:59 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64655 Archived-At: > From: Dave Cohen > 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?