[Top][All Lists]

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

Re: [O] can't press ret without error

From: Nicolas Goaziou
Subject: Re: [O] can't press ret without error
Date: Sun, 17 Jul 2016 11:59:31 +0200


Samuel Wales <address@hidden> writes:

> all i did was press return.  this followed trying to comment
> a blank line (which i wish emacs would just do).
> i cannot do a thorough bug report or q/a at this time but
> thought this might be useful.
> Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
>   re-search-forward("^\\(?:\\*+
> \\|\\[\\(?:[0-9]+\\|fn:[-_[:word:]]+\\)\\]\\|%%(\\|[
>       ]*\\(?:$\\||\\|\\+\\(?:-+\\+\\)+[       ]*$\\|#\\(?:
> \\|$\\|\\+\\(?:BEGIN_\\S-+\\|\\S-+\\(?:\\[.*\\]\\)?:[
>       ]*\\)\\)\\|:\\(?: \\|$\\|[-_[:word:]]+:[        ]*$\\)\\|-\\{5,\\}[
> ]*$\\|\\\\begin{\\([A-Za-z0-9*]+\\)}\\|CLOCK:\\|\\(?:[-+*]\\|\\(?:[0-9]+\\)[.)]\\)\\(?:[
>       ]\\|$\\)\\)\\)" 422741 move)
>   org-element-paragraph-parser(422741 (211182))

It seems you are using very long lines. 

In particular one of them is ambiguous and the parser has to match too
much (hence the stack overflow) to decide what is that line.

It would help to see that line. Could you make an ECM?

Thank you.


Nicolas Goaziou

reply via email to

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