emacs-orgmode
[Top][All Lists]
Advanced

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

Re: (jit-lock-function 1) signaled (error "Stack overflow in regexp matc


From: Ihor Radchenko
Subject: Re: (jit-lock-function 1) signaled (error "Stack overflow in regexp matcher")
Date: Sun, 18 Feb 2024 16:01:48 +0000

William Denton <william@williamdenton.org> writes:

> On Thursday, February 15th, 2024 at 15:40, William Denton 
> <william@williamdenton.org> wrote:
>
>> I am having a problem I've never seen before: Org can't handle anything more 
>> in a large file I have!
>> 
>> This file is where I keep my notes day to day for work, with headings for 
>> months and days and categories of work, with a lot of notes and clocking in 
>> and out. It has about 10,000 lines and is about 550K in size.
>
> Update: moving the 600-line clock table in that file to another file fixed 
> the problem.  (In that new file, it generates its clock table from the 
> clocking in the remote file, the old one.)

It means that Org gives Emacs too complex regexp somewhere.
There is no easy way to fix such issues without having a reproducer and
trying to play around with the problematic regexp.
Emacs regexp engine has some rough edges when regexps get complex.

-- 
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]