emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Stack overflow in regexp matcher


From: Gregor Zattler
Subject: Re: [O] Stack overflow in regexp matcher
Date: Fri, 24 Oct 2014 21:51:01 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi Charles, org-mode developers
* Charles Berry <address@hidden> [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
-- 
 -... --- .-. . -.. ..--.. ...-.-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]