From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: can't press ret without error
Date: Sun, 17 Jul 2016 11:59:31 +0200 [thread overview]
Message-ID: <87shv8h9fg.fsf@saiph.selenimh> (raw)
In-Reply-To: <CAJcAo8t7hyVxVqU4dHAKU0dGwjbFBL2d+UiM3qyWTBVTUQmDzw@mail.gmail.com> (Samuel Wales's message of "Sat, 9 Jul 2016 21:52:18 -0700")
Hello,
Samuel Wales <samologist@gmail.com> 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.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2016-07-17 9:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-10 4:52 can't press ret without error Samuel Wales
2016-07-17 9:59 ` Nicolas Goaziou [this message]
2016-07-17 19:24 ` Samuel Wales
2016-07-17 20:09 ` Nicolas Goaziou
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87shv8h9fg.fsf@saiph.selenimh \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=samologist@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).