Dieter Deyke <[email protected]> writes:
> I still get the error even after running:
>
> emacs -Q -l ~/tmp/minimal-org.el -l ~/tmp/add-fitness.el
>
> My data is:
>
> Emacs : GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
> 3.24.52, cairo version 1.18.4)
> of 2026-04-11
> Package: Org mode version 9.8.1 (release_9.8.1 @
> /usr/local/emacs/share/emacs/31.0.50/lisp/org/)
> ...
> Debugger entered--Lisp error: (error "Invalid search bound (wrong side of
> point)")
> re-search-forward("^\\*+ \\|\\\\end{[A-Za-z0-9*]+}[ \11]*$\\|^[
> \11]*\\(?:#\\+END\\(?:_\\|:?[ \11]*$\\)\\|^[
> \11]*\\(\\(?:[-+*]\\|\\(?:[0-9]+\\|[A-Za-z]\\)[.)]\\)\\(?:[
> \11]+\\|$\\)\\)\\(?:\\[@\\(?:start:\\)?\\([0-9]+\\|[A-Za-z]\\)\\][
> \11]*\\)?\\(?:\\(\\[[ X-]\\]\\)\\(?:[ \11]+\\|$\\)\\)?\\(?:\\(.*\\)[
> \11]+::\\(?:[ \11]+\\|$\\)\\)?\\|:\\(?: \\|$\\)\\|:\\(?:\\w\\|[-_]\\)+:[
> \11]*$\\)" 40236 t)
> org-element--cache-before-change(46737 40162)
> org-element--cache-after-change(46737 40162 92)
> run-hook-with-args(org-element--cache-after-change 46737 40162 92)
> combine-change-calls-1(46737 #<marker in no buffer> #f(compiled-function ()
> #<bytecode 0x1a126d0fb0505640>))
> org-table-recalculate(nil)
> funcall-interactively(org-table-recalculate nil)
> call-interactively(org-table-recalculate)
> org-ctrl-c-star()
That's a bug!
Any chance you can create a self-contained example with minimal Org file
that triggers the problem with emacs -Q? (So that you can share the full
reproducer, including minimal-org.el, add-fitness.el, and the required
.org file).
--
Ihor Radchenko // yantar92,
Org mode maintainer,
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>