From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joseph Shraibman Newsgroups: gmane.emacs.help Subject: Re: Random "Regular expression too big" Date: Tue, 19 Aug 2008 22:44:56 -0400 Message-ID: <96OdneyHop20GDbVnZ2dnUVZ_tninZ2d@posted.docknet> References: <20080708093646.GA2770@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219206078 29991 80.91.229.12 (20 Aug 2008 04:21:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Aug 2008 04:21:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 20 06:22:11 2008 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 1KVfCy-0001Pr-Sm for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Aug 2008 06:22:09 +0200 Original-Received: from localhost ([127.0.0.1]:39900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVfC1-00066y-3m for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Aug 2008 00:21:09 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.posted.docknet!news.posted.docknet.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 19 Aug 2008 21:44:57 -0500 User-Agent: Thunderbird 2.0.0.16 (X11/20080707) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 86 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 66.166.198.124 Original-X-Trace: sv3-pgXxfuLqGpuQPMRwFX3dzjBHDz2IB4jb81LhXAkCxwGXsB3va46T+NdBcKfX+gk1ytAOJR/8hk41EO1!+zWlSnonftMSICnwAiTKyCrpfByBFGcTWQ6Z8YgofhHAfcGPq0FUGrM4v8IxBpRaFZriI/barOPT!q/biaYFCfhKE X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:161455 X-Mailman-Approved-At: Wed, 20 Aug 2008 00:18:04 -0400 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:56805 Archived-At: In the last couple of days this starting being a problem for me, I don't know why. I'm getting it most of the time. Sometimes I can't even exit emacs because the quit command fails with "Regular expression too big" Rob Emanuele wrote: > So far the error still happens, with no stack trace even after > --debug-init and M-: (setq debug-on-error t). It happens lets say 1 > in 4 times of starting emacs. > > On Tue, Jul 8, 2008 at 2:36 AM, Alan Mackenzie wrote: >> Hi, Rob! >> >> On Mon, Jul 07, 2008 at 12:03:31PM -0700, Rob Emanuele wrote: >>> Greetings, >>> Every now and again I've been getting an error "Regular expression too >>> big". This seems to occur randomly. Sometimes it can occur on startup >>> and emacs never opens. Other times emacs opens and these messages >>> below are listed out. Yet other times it'll happen in the middle of my >>> work while I'm saving, setting the fontset, or doing some otherwise >>> innocuous task. >> Does it happen: >> (i) a lot - so often that you can hardly get your work done; >> (ii) sometimes - once or twice a week, but you're continually on edge >> about it. >> (iii) once a blue moon? >> >> Hopefull it's (i) or (ii). :-) >> >> A good thing to do would be to start your Emacs as >> >> emacs --debug-init >> >> , and once you've started OK, do >> >> M-: (setq debug-on-error t) >> >> . One of these will generate a lisp stack dump when the error happens >> again. >> >>> This is with emacs: >>> GNU Emacs 22.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.12.5) of >>> 2008-05-23 on xenbuilder2.fedora.redhat.com >>> This will still happen even if I remove my .emacs and even if I remove >>> /usr/share/emacs/site-lisp. >> Hmmm... That suggests that some other initialisation file is giving you >> grief. There's a list of these files on the page "Init File" in the >> Emacs manual. Try doing >> >> M-x locate-library default >> >> . If this locates a default.el, the problem may be there. >> >>> ("emacs" "production/main.cpp") >>> Loading /usr/share/emacs/site-lisp/site-start.d/focus-init.el (source)...done >>> Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el (source)...done >>> Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...done >>> Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)...done >>> Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el >>> (source)...done >>> For information about the GNU Project and its goals, type C-h C-p. >>> Loading cc-mode...done >>> File mode specification error: (invalid-regexp "Regular expression too big") >> This error occurs in the function `normal-mode', which was in the course >> of determining the major mode for the file you were trying to visit >> (whatever that might be). Seeing as how CC Mode has just been loaded, >> this could well be a C, C++, ... file. >> >>> Loading vc-svn...done >>> Loading vc...done >>> vc-svn-parse-status: Invalid regexp: "Regular expression too big" >>> mouse-drag-region: Invalid regexp: "Regular expression too big" [2 times] >> byte-code: Beginning of buffer >>> Error in menu-bar-update-hook: (invalid-regexp Regular expression too big) >>> Thank you for any help fixing this or working around it! >> You do seem to like big regular expressions rather a lot. ;-) >> >> Anyhow, please activate these things which will generate a stack dump. >> That might well enable you to fix the problem yourself. If not, post the >> dump here. >> >>> --Rob >> -- >> Alan Mackenzie (Nuremberg, Germany). >> > >