Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6)
The variable org-startup-folded does not work expected in .dir-locals.el.
The option "#+startup: fold" works as expected.
To replicate
- start emacs -q
- create a test dir
- create or copy an .org file with a few headers, sub headers and some content in(to) the test dir.
- add "((org-mode . ((org-startup-folded . t))))" to "./.dir-locals.el"
- open the org file
- check M-x describe-variable to confirm variable org-startup-folded is set to t and not default value
thanks