Robert Pluim <rpl...@gmail.com> writes: > Ihor> I recommend reporting this to Emacs bug tracker. > > I donʼt think this is a bug: directory-local variables are supposed to > behave the same as file-local variables, and setting > org-startup-folded in a local variable section also doesnʼt get > applied.
This is no different. org-startup-folded controls loading of Org mode. However, Emacs applies directory-local variables and file-local variables _after_ loading Org mode. Org cannot do much about it without hacking Emacs defaults. Best, Ihor