From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Large verilog file editing with EMACS Date: Fri, 18 Mar 2005 11:37:09 -0500 Organization: Bell Sympatico Message-ID: <878y4k52zs.fsf-monnier+gnu.emacs.help@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111165083 29541 80.91.229.2 (18 Mar 2005 16:58:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 Mar 2005 16:58:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 18 17:58:03 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DCKkI-0005fa-Gm for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Mar 2005 17:54:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DCL0n-0004yK-Cw for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Mar 2005 12:11:49 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:gTK3mqUDnPkBG7c+RwpZ4Ok8eSA= Original-Lines: 20 Original-NNTP-Posting-Host: 67.68.217.141 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1111163830 67.68.217.141 (Fri, 18 Mar 2005 11:37:10 EST) Original-NNTP-Posting-Date: Fri, 18 Mar 2005 11:37:10 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:129367 Original-To: help-gnu-emacs@gnu.org 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24922 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24922 > The Emacs editor hangs when browsing thru large verilog files > say 40,000 lines. Can you be more specific? Try it with "emacs -q" first. If the problem disappears, then try and see which part of your .emacs triggers the problem. Then when Emacs seems to hang, does C-g interrupt it? If yes, set Options -> Enter Debugger on Quit/C-g, try again, and post the (hopefully) resulting backtrace. If C-g doesn't help, then run your Emacs under a debugger (like gdb) and when Emacs hangs, interrupt it in the debugger and look at the backtrace. My wild guess in that case is that it's stuck in a looooonnnng regexp-match. You can figure out which regexp by going up the stack and inspecting the "regexp" argument (using the `xstring' command if you're under gdb). Stefan