>>>>> On Wed, 04 May 2022 21:46:14 +0800, Ihor Radchenko <yanta...@gmail.com> >>>>> said:
Ihor> 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. Ihor> This is no different. org-startup-folded controls loading of Org mode. Ihor> However, Emacs applies directory-local variables and file-local Ihor> variables _after_ loading Org mode. Org cannot do much about it without Ihor> hacking Emacs defaults. Weʼre in agreement there. My point is that itʼs not a bug (although I guess you could ask for a feature to apply local/directory variables before applying the mode, but in this case thereʼs an easy workaround). Robert --