>>>>> On Wed, 04 May 2022 18:37:47 +0800, Ihor Radchenko <yanta...@gmail.com> 
>>>>> said:

    Ihor> Max Fujimoto <max.fujim...@rogers.com> writes:
    >> 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.

    Ihor> This is because Emacs loads directory-local variables _after_ Org mode
    Ihor> is loaded. That is, you set org-startup-folded after startup is
    Ihor> complete.

    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.

Robert
-- 

Reply via email to