Gustavo Barros <gusbrs.2...@gmail.com> writes: > On Fri, 29 Oct 2021 at 15:53, Gustavo Barros <gusbrs.2...@gmail.com> wrote: > >> Currently, trying to set `org-link-descriptive' as file-local-variable >> is not honored by Org, and doing so, leads to one of mismatched states >> between `org-link-descriptive' and the invisibility specs. > > a respectful bump. > Despite the changes made to `org-link-descriptive` by Kyle in a > related thread (https://list.orgmode.org/87im4ypu9v....@kyleam.com/), > the failing recipe in this report can still be reproduced in Org 9.5.5 > and Emacs 28.2.
This is because setting things up for links is a part of Org loading process. And file-local variables are only loaded after major mode by Emacs. See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57003 -- 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>