Fold persistence for org and others

2025-04-04 Thread Jacob Fong
Hello friends. I've created a small package that persists folds made by a number of different modes, including org-mode. It supports overlay-based folding as well as the newer text prop style. It may be of interest here. https://github.com/jcfk/savefold.el Best, Jacob

[BUG] org-format-latex not respecting org-format-latex-options :matchers

2024-02-03 Thread Jacob Fong
Hey everyone, It appears that the math-matching regexes are hard-coded in `org-format-latex`, as seen in this line: ``` (let* ((math-regexp "\\$\\|[([]\\|^[ \t]*begin{[A-Za-z0-9*]+}") ``` As a result of this, :matchers does not work as documented, for example with `org-latex-preview`. Th