emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-startup-folded does not work with directory local variables


From: Robert Pluim
Subject: Re: org-startup-folded does not work with directory local variables
Date: Wed, 04 May 2022 15:17:29 +0200

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

    Ihor> Max Fujimoto <max.fujimoto@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

[Prev in Thread] Current Thread [Next in Thread]