Chang Xiaoduan <dr...@sina.com> writes: >> This is known. >> #+STARTUP options are handled before buffer-local variables take effect. >> See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57003 >> Handled. >> > > I have read the thread but I can not figure a solution. I tried to > search "early local" you proposed in the org-mode manual or Emacs manual > but find nothing related. So currently if I use STARTUP options to > enable org-num-mode on visiting the file, there is no way to make > org-num-mode apply file local variables such as `org-num-max-level'? Is > that right?
Yes, you are right. The Emacs bug I linked to is not resolved. In other words, your issue is not new, known, but not solved yet. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>