I created a custom fold using
+fold/open-all) stopped opening structured folds.
zr) to open all folds in the buffer, including
Create a test file
cat > /tmp/foldit.py <<XXX import this import that import the as other def foo(): pass def bar(): pass XXX
Doom sandbox seems to be broken, so use workaround to open test file in vanilla doom sandbox:
DOOMDIR=/does/not/exist emacs /tmp/foldit.py &
+fold/open-allclose and open structured code (
zm: observe the function definitions being folded
zr: observe the function definitions being unfolded
- repeat the two above steps an arbitrary number of times: they continue to work.
Create a custom fold (
zrno longer opens structured (
hideshow) folds, only custom ones (
zm… ad boredom
C-c @ C-adoes still open structured folds.
Note, this example happens to use Python, but the same problem occurs in at least Rust, elisp, C and C++ code/modes too.
Loading data dump...