From: Ihor Radchenko <yantar92@posteo.net>
To: Andrea <andrea-dev@hotmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] "Stack overflow in regexp matcher" when tangling or noweb referencing large blocks [9.7.4 (9.7.4-1387e3 @ /home/andrea/.emacs.d/elpa/org-9.7.4/)]
Date: Sun, 16 Jun 2024 16:30:06 +0000 [thread overview]
Message-ID: <8734pc6eb5.fsf@localhost> (raw)
In-Reply-To: <DU2P193MB2422253B9729A928D0F569F088CC2@DU2P193MB2422.EURP193.PROD.OUTLOOK.COM>
Andrea <andrea-dev@hotmail.com> writes:
> Thanks again for Org Mode!
> I recently moved to Org Mode 9.7 and I have a boring bug to share:
> on tangling or :noweb yes <<referencing>> src blocks, I get "Stack
> overflow in regexp matcher".
>
> This was working with 9.6, maybe the regexp changed in a faulty way?
The change was very small:
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=eaf274909
> Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
> org-babel-where-is-src-block-head()
> org-babel-tangle((4))
> funcall-interactively(org-babel-tangle (4))
> command-execute(org-babel-tangle)
> ...
> Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
> re-search-forward("^[ \11]*#\\+name:[ \11]*xx[ \11]*\\(?:\n[ \11]*#\\+\\S-+:.*\\)*?..." nil t)
Confirmed.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
prev parent reply other threads:[~2024-06-16 16:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-16 15:56 [BUG] "Stack overflow in regexp matcher" when tangling or noweb referencing large blocks [9.7.4 (9.7.4-1387e3 @ /home/andrea/.emacs.d/elpa/org-9.7.4/)] Andrea
2024-06-16 16:30 ` Ihor Radchenko [this message]
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=8734pc6eb5.fsf@localhost \
--to=yantar92@posteo.net \
--cc=andrea-dev@hotmail.com \
--cc=emacs-orgmode@gnu.org \
/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).