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 16:16:13 +0200

>>>>> On Wed, 04 May 2022 21:46:14 +0800, Ihor Radchenko <yantar92@gmail.com> 
>>>>> said:

    Ihor> Robert Pluim <rpluim@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
-- 



reply via email to

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