Hello Max,
On Tuesday, 3 May 2022 at 00:37, Max Fujimoto wrote: > Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo > version 1.17.6) I must apologise for, I haven't made the jump to emacs 28 yet: GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24) of 2022-01-16. I'm on the following version of Org mode version 9.5.3 (release_9.5.3-467-g2bd34e @ /home/djj/src/org-mode/lisp/) and I don't know where is .dir-locals.el. but, with the following unfoled file /tmp/test.org * Some Heading Title [0/2] ** TODO Some Todo Item ** TODO heading 3 the following command $ emacs -Q -L ./lisp -l org --eval "(setq org-startup-folded t)" /tmp/test.org Produces your desired results * Some Heading Title [0/2] ... HTH, Jeremie