emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Gustavo Barros <gusbrs.2016@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-link-descriptive not honored as file-local-variable [9.5 (9.5-g0a86ad @ /home/gustavo/.emacs.d/elpa/org-9.5/)]
Date: Mon, 24 Oct 2022 04:52:54 +0000	[thread overview]
Message-ID: <87sfjdq0ux.fsf@localhost> (raw)
In-Reply-To: <CAM9ALR84ig1q5frJdcPZjk+6E6F4BvcZiuD0c=4kE4u=xdumjg@mail.gmail.com>

Gustavo Barros <gusbrs.2016@gmail.com> writes:

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


  reply	other threads:[~2022-10-24  6:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-29 18:52 [BUG] org-link-descriptive not honored as file-local-variable [9.5 (9.5-g0a86ad @ /home/gustavo/.emacs.d/elpa/org-9.5/)] Gustavo Barros
2022-10-22 13:19 ` Gustavo Barros
2022-10-24  4:52   ` Ihor Radchenko [this message]
2022-10-24 11:43     ` Gustavo Barros

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfjdq0ux.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=gusbrs.2016@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).