Re: [BUG] org-link-descriptive not honored as file-local-variable [9.5 (9.5-g0a86ad @ /home/gustavo/.emacs.d/elpa/org-9.5/)]

2022-10-24 Thread Gustavo Barros
Hi Ihor,

On Mon, 24 Oct 2022 at 01:52, Ihor Radchenko  wrote:

> 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

Ah, I had presumed this one would be a load order issue, and indeed it
is a general one. Agreed that this report should stay on standby until
it's been decided what to do in general terms.

And thank you for raising the issue in the Emacs list. Good discussion, btw.

Best regards,
Gustavo.



Re: [BUG] org-link-descriptive not honored as file-local-variable [9.5 (9.5-g0a86ad @ /home/gustavo/.emacs.d/elpa/org-9.5/)]

2022-10-24 Thread Ihor Radchenko
Gustavo Barros  writes:

> On Fri, 29 Oct 2021 at 15:53, Gustavo Barros  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 .
Support Org development at ,
or support my work at 



Re: [BUG] org-link-descriptive not honored as file-local-variable [9.5 (9.5-g0a86ad @ /home/gustavo/.emacs.d/elpa/org-9.5/)]

2022-10-23 Thread Gustavo Barros
Hi All,

On Fri, 29 Oct 2021 at 15:53, Gustavo Barros  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.

Best regards,
Gustavo.