emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] "Stack overflow in regexp matcher" when tangling or noweb refe


From: Ihor Radchenko
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

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>



reply via email to

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