all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Gregor Zattler <telegraph@gmx.net>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Stack overflow in regexp matcher
Date: Sat, 25 Oct 2014 10:00:06 -0700	[thread overview]
Message-ID: <alpine.OSX.2.00.1410250946210.480@charles-berrys-macbook.local> (raw)
In-Reply-To: <20141024195101.GH11946@boo.workgroup>

On Fri, 24 Oct 2014, Gregor Zattler wrote:

> Hi Charles, org-mode developers
> * Charles Berry <ccberry@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

  reply	other threads:[~2014-10-25 17:00 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24  6:41 Stack overflow in regexp matcher Alan Schmitt
2014-10-24 19:02 ` Charles Berry
2014-10-24 19:51   ` Gregor Zattler
2014-10-25 17:00     ` Charles C. Berry [this message]
2014-10-25 18:34       ` Charles C. Berry
2014-11-28 18:33         ` Alan Schmitt
2014-10-26 11:11       ` Alan Schmitt
2014-10-25  9:24   ` Alan Schmitt
     [not found] <mailman.0.1296989279.10345.help-gnu-emacs@gnu.org>
2011-02-07 20:24 ` Stefan Monnier
2011-02-08 22:58   ` Dan Davison
  -- strict thread matches above, loose matches on Subject: below --
2011-02-06 10:47 Dan Davison
2011-02-06 13:31 ` Stephen Berman
2011-02-06 14:01   ` guivho
2011-02-06 14:17   ` Eli Zaretskii
2011-02-06 14:30     ` Dan Davison
2011-02-06 16:02     ` Stephen Berman
2010-11-20 16:03 Michael Brand
2010-11-28 20:08 ` Matt Lundin
2009-12-16 17:15 akaiser
2009-12-17 17:01 ` Barry Margolin
2009-12-17 22:10   ` Ilya Zakharevich
2009-12-17 22:13   ` akaiser
2003-10-16 16:35 Sam Steingold
2003-10-16 18:56 ` Stefan Monnier
2003-10-17  6:13   ` Stephen J. Turnbull
2003-10-17 13:55     ` Stefan Monnier
2003-10-17 14:24       ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.OSX.2.00.1410250946210.480@charles-berrys-macbook.local \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=telegraph@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.