From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 2Dh3NvF2zmXLRQAAqHPOHw:P1 (envelope-from ) for ; Thu, 15 Feb 2024 21:41:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2Dh3NvF2zmXLRQAAqHPOHw (envelope-from ) for ; Thu, 15 Feb 2024 21:41:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=williamdenton.org header.s=protonmail header.b=Ld9SQcUR; dmarc=pass (policy=none) header.from=williamdenton.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708029681; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=d2CGlXmXS6uDdQtkXAdgBnHTfAvaD26cyTi4+HvL2DA=; b=C/TI7zSDdHj/y4qPoS1rhsW0bH3AY1F9fTw2Lluq5jJRHcsp6pqQ7ezy1qSvtE+pVZ9uiK 8nQcfzw+4zhWcGyTK7NOb7Te0sdfOrMmhD9Wh1V5wFWJYU1ZiGV9jxRBc0FItFChty265r R3MXKNrtO2exWHZsfAPLuxhVRb990LZUCHNr5U9NcsgNF0jt40wcrZ51ag1JVkXxQBNka4 a7Y7DinQ7XMLk+vtAjdh7NM+XLTAuCMkx/mz8b9/GocKaiAHIPqYI9c47YdHc1lkg8HrHn fuTPruhiyggdvpzsGOMtnKXCeVIL6gkB33ZjHN5sOdR0MDgDPN8AEX/ALwbmPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=williamdenton.org header.s=protonmail header.b=Ld9SQcUR; dmarc=pass (policy=none) header.from=williamdenton.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708029681; a=rsa-sha256; cv=none; b=lvctydDEO04e/yk92nJfWJGwIxwUuBNmBz9fqg+t2tTzj6bipbrqBtwRRtb0e2HuvHj+/Y S8dt0JqL+FYFLcf+7or7jOWMUUl10oKngPK1ZO+Rlf5K2zjyh+UIGLoxUG3VGZgGQa//Y5 npf85oHNy+2Tb3AFvx1BdQmz9paS0ZIuu7JmeCcvY7U0guniXLhA80dKeoTvZD+01NFkef VKrJOt/MyC0QzXR9YS8s/hbgxflRNRmIJJgzmHgR4uUmVA81xe9tuLILOqkc9jMMplFda3 YsdGcnOV9qPlOfrz6ZsRfx/r3KYcBS3xA0B+MdsWSGpv/qYVwN7w1rtPPkC0Kw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5279B45D09 for ; Thu, 15 Feb 2024 21:41:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raiWt-00068G-HA; Thu, 15 Feb 2024 15:40:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raiWq-00067x-7x for emacs-orgmode@gnu.org; Thu, 15 Feb 2024 15:40:21 -0500 Received: from mail-4018.proton.ch ([185.70.40.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raiWm-00029T-PQ for emacs-orgmode@gnu.org; Thu, 15 Feb 2024 15:40:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=williamdenton.org; s=protonmail; t=1708029608; x=1708288808; bh=d2CGlXmXS6uDdQtkXAdgBnHTfAvaD26cyTi4+HvL2DA=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=Ld9SQcURtRxhnnXH62BOB8COhN/9n2mWdW5R3+HKqeFdXiniZEaz0o+IqGWV7uDcA C9tfy+XkrD9nevBkiraO/CjHfl+HtUtp29Iqn56bYG3jeSSE5WlIirkKysbGk57vkU byT9Fg+3sw+CF2IpZLwdCF9CwHZLERgfTsAze4K3ruOTffxDs+gCKC+HHhQjUAuDh4 ggUFM1HyN/Yn25gAJEgssHG7cSQXJ5piON//Vi4C0TojIY6cKouimOxkxuQTTSsisq 9391Iflxn7xYMNo25OJ8jc4oL0lGtYJWDSdC/ZrT6hjnFfdtbGY4IQPlND47HyN0Nu j6CtISNjL3kDw== Date: Thu, 15 Feb 2024 20:40:02 +0000 To: Emacs Org mode mailing list From: William Denton Subject: (jit-lock-function 1) signaled (error "Stack overflow in regexp matcher") Message-ID: Feedback-ID: 95794763:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.18; envelope-from=william@williamdenton.org; helo=mail-4018.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.68 X-Spam-Score: -7.68 X-Migadu-Queue-Id: 5279B45D09 X-Migadu-Scanner: mx13.migadu.com X-TUID: EnbrMLOb0EKA I am having a problem I've never seen before: Org can't handle anything mor= e in a large file I have! This file is where I keep my notes day to day for work, with headings for m= onths 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. When I add today's notes to the file (fifty lines and ten clockings), it st= arts throwing these errors: File mode specification error: (error Stack overflow in regexp matcher) Error during redisplay: (jit-lock-function 1) signaled (error "Stack overfl= ow in regexp matcher") Error during redisplay: (jit-lock-function 1501) signaled (error "Stack ove= rflow in regexp matcher") Error during redisplay: (jit-lock-function 3001) signaled (error "Stack ove= rflow in regexp matcher") Org works, but it's not displaying properly: no fancy bullets, no proportio= nal spacing, no font size differences---it looks like I was running it in t= erminal mode. This makes sense if the problem is with font locking. If I remove today's notes and reload, everything looks fine. If I add in e= ven one more heading and reload, it chokes again and the formatting is all = lost. I turned on debugging and restarted, and got a big stack trace, which I wil= l paste in below. If "marker at 770" means line 770 then I don't know what= 's going on, because it's just regular stuff there and around it. What can I do to determine where the problem is? Any help appreciated. Bill -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada Debugger entered--Lisp error: (error "Stack overflow in regexp matcher") re-search-forward("^[ \11]*\\(\\\\begin{\\([a-zA-Z0-9\\*]+\\)\\(?:.\\|\n\= \)+?\\\\end{\\2}\\)\\|\\([^$]\\|^\\)\\(\\$[^ \11\15\n,;.$]\\$\\)\\(\\s.\\|\= \s-\\|\\s(\\|\\s)\\|\\s\"\\|'\\|$\\)\\|\\([^$]\\|^\\)\\(\\(\\$\\([^ \11\n,;= .$][^$\n\15]*?\\(\n[^$\n\15]*?\\)\\{0,2\\}[^ \11\n,.$]\\)\\$\\)\\)\\(\\s.\\= |\\s-\\|\\s(\\|\\s)\\|\\s\"\\|'\\|$\\)\\|\\\\(\\(?:.\\|\n\\)*?\\\\)\\|\\\\\= \[\\(?:.\\|\n\\)*?\\\\\\]\\|\\$\\$\\(?:.\\|\n\\)*?\\$\\$" nil t) org-do-latex-and-related(#) font-lock-fontify-keywords-region(522 # = nil) font-lock-default-fontify-region(522 # n= il) font-lock-fontify-region(522 #) #f(compiled-function (beg end) #)(522 #) font-lock-ensure(522 #) org-table-align() org-table-map-tables(org-table-align t) org-mode() set-auto-mode-0(org-mode nil) set-auto-mode--apply-alist((("\\.yml$" . yaml-mode) ("\\.\\(r\\(?:ng\\|ss= \\)\\|s\\(?:ch\\|vg\\)\\|x\\(?:ml\\|s\\(?:d\\|lt\\)\\)\\)\\'" . nxml-mode) = ("\\.[pP][dD][fF]\\'" . pdf-view-mode) ("README\\.md\\'" . gfm-mode) ("\\(?= :\\(?:\\.\\(?:b\\(?:\\(?:abel\\|ower\\)rc\\)\\|json\\(?:ld\\)?\\)\\|compose= r\\.lock\\)\\'\\)" . json-mode) ("\\.hva\\'" . LaTeX-mode) ("\\.tsv\\'" . t= sv-mode) ("\\.[Cc][Ss][Vv]\\'" . csv-mode) ("\\.[Ss][Aa][Ss]\\'" . SAS-mode= ) ("\\.Sout\\'" . S-transcript-mode) ("\\.[Ss]t\\'" . S-transcript-mode) ("= \\.Rd\\'" . Rd-mode) ("DESCRIPTION\\'" . conf-colon-mode) ("/Makevars\\(\\.= win\\)?\\'" . makefile-mode) ("\\.[Rr]out\\'" . ess-r-transcript-mode) ("CI= TATION\\'" . ess-r-mode) ("NAMESPACE\\'" . ess-r-mode) ("\\.[rR]profile\\'"= . ess-r-mode) ("\\.[rR]\\'" . ess-r-mode) ("/R/.*\\.q\\'" . ess-r-mode) ("= \\.[Jj][Aa][Gg]\\'" . ess-jags-mode) ("\\.[Bb][Mm][Dd]\\'" . ess-bugs-mode)= ("\\.[Bb][Oo][Gg]\\'" . ess-bugs-mode) ("\\.[Bb][Uu][Gg]\\'" . ess-bugs-mo= de) ("/git-rebase-todo\\'" . git-rebase-mode) ("\\.\\(?:md\\|markdown\\|mkd= \\|mdown\\|mkdn\\|mdwn\\)\\'" . markdown-mode) ("\\.\\(e?ya?\\|ra\\)ml\\'" = . yaml-mode) ("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" nil epa-file) ("\\.elc\\'" = . elisp-byte-code-mode) ("\\.zst\\'" nil jka-compr) ("\\.dz\\'" nil jka-com= pr) ("\\.xz\\'" nil jka-compr) ("\\.lzma\\'" nil jka-compr) ("\\.lz\\'" nil= jka-compr) ("\\.g?z\\'" nil jka-compr) ("\\.bz2\\'" nil jka-compr) ("\\.Z\= \'" nil jka-compr) ("\\.vr[hi]?\\'" . vera-mode) ("\\(?:\\.\\(?:rbw?\\|ru\\= |rake\\|thor\\|axlsx\\|jbuilder\\|rabl\\|gemspec\\|podspec\\)\\|/\\(?:Gem\\= |Rake\\|Cap\\|Thor\\|Puppet\\|Berks\\|Brew\\|Fast\\|Vagrant\\|Guard\\|Pod\\= )file\\)\\'" . ruby-mode) ("\\.re?st\\'" . rst-mode) ("/\\(?:Pipfile\\|\\.?= flake8\\)\\'" . conf-mode) ("\\.py[iw]?\\'" . python-mode) ("\\.m\\'" . oct= ave-maybe-mode) ("\\.less\\'" . less-css-mode) ("\\.scss\\'" . scss-mode) (= "\\.cs\\'" . csharp-mode) ("\\.awk\\'" . awk-mode) ("\\.\\(u?lpc\\|pike\\|p= mod\\(\\.in\\)?\\)\\'" . pike-mode) ("\\.idl\\'" . idl-mode) ("\\.java\\'" = . java-mode) ...) nil nil) set-auto-mode() normal-mode(t) after-find-file(nil nil) find-file-noselect-1(# "~/york/shared/work-diaries= /work-diary.org" :nowarn nil "~/york/shared/work-diaries/work-diary-2023-20= 24.org" (10227922 66310)) find-file-noselect("/home/wdenton/york/shared/work-diaries/work-diary.org= " :nowarn) desktop-restore-file-buffer("/home/wdenton/york/shared/work-diaries/work-= diary.org" "work-diary.org" nil) desktop-create-buffer(208 "/home/wdenton/york/shared/work-diaries/work-di= ary.org" "work-diary.org" org-mode (org-superstar-mode font-lock-mode visua= l-line-mode corfu-mode anzu-mode yas-minor-mode undo-tree-mode git-gutter-m= ode) 498814 (nil nil) nil nil ((tab-width . 8) (buffer-display-time 26062 2= 9404 998251 639000) (buffer-file-coding-system . utf-8-unix) (truncate-line= s)) ((mark-ring nil))) load-with-code-conversion("/home/wdenton/.emacs.d/.emacs.desktop" "/home/= wdenton/.emacs.d/.emacs.desktop" t t) load("/home/wdenton/.emacs.d/.emacs.desktop" t t t) desktop-read() #f(compiled-function () #)() run-hooks(after-init-hook delayed-warnings-hook) command-line() normal-top-level()