On Fri, 24 Oct 2014, Gregor Zattler wrote:
Hi Charles, org-mode developers
* Charles Berry <ccbe...@ucsd.edu> [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
[rest deleted]
OK, thanks. It had to be something in my init.
I have (defun org-mode-reftex-setup () ... ) from
http://www.mfasold.net/blog/2009/02/using-emacs-org-mode-to-draft-papers/
in my init.
It turns out that
(re-search-forward "^[^%]*\\\\usepackage.*{biblatex}" nil t))
in reftex-using-biblatex-p is the culprit.
So, the ECM is to save a file like that decribed above without the *.org
extension.
Open it (in fundamental mode) and issue
M-: (re-search-forward "^[^%]*\\\\usepackage.*{biblatex}" nil t))
and get
eval: Stack overflow in regexp matcher
So, maybe this is not an org-mode issue. ??
HTH,
Chuck