From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregor Zattler Subject: Re: Stack overflow in regexp matcher Date: Fri, 24 Oct 2014 21:51:01 +0200 Message-ID: <20141024195101.GH11946@boo.workgroup> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xhktl-00088K-KU for emacs-orgmode@gnu.org; Fri, 24 Oct 2014 15:51:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xhktg-0006Yv-EV for emacs-orgmode@gnu.org; Fri, 24 Oct 2014 15:51:45 -0400 Received: from mout.gmx.net ([212.227.15.18]:53129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xhktg-0006Yk-5Y for emacs-orgmode@gnu.org; Fri, 24 Oct 2014 15:51:40 -0400 Received: from boo.workgroup ([87.185.174.97]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MJk04-1XiqpK3MFY-001CAe for ; Fri, 24 Oct 2014 21:51:38 +0200 Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Hi Charles, org-mode developers * Charles Berry [24. Oct. 2014]: > I do. Try this. Start emacs 24.4.1. > > 1) Copy this line: > > CLOCK: [2013-07-22 Mon 12:29]--[2013-07-22 Mon 15:26] => 2:57 > > into a new *.org file. > > 2) Save and close the file and reopen. > > 3) If no such error, kill the text in the buffer, and yank it twice. > > 4) Repeat 2 and 3 till the message > > File mode specification error: (error "Stack overflow in regexp matcher") > > shows up. > > 5) prune lines from the file and try step 2 till the error disappears. > > > For me somewhere between 400 and 500 lines is the difference between opening > with no error message and opening with the message. > > Emacs 24.3.1 does not show this behavior - no error message. I cannot reproduce this. I even tried with a file with 8264216 such lines. It took less than 4 minutes to open the file, less than 24 minutes to recalculate the second to last line. Then there was a message in the echo area: "Buffer test.org has shrunk a lot; auto save disabled in that buffer until next real save", but the buffer was actually as large as before (520645608 bytes). Mine is GNU Emacs 24.4.51.1 (i686-pc-linux-gnu, GTK+ Version 3.14.3) of 2014-10-24 and Org-mode version 8.2.10 (release_8.2.10 @ /usr/local/stow/emacs-snapshot/share/emacs/24.4.51/lisp/org/) Ciao, Gregor -- -... --- .-. . -.. ..--.. ...-.-