[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] Export does not read .dir-locals.el [9.7.3 (release_9.7.3 @ /u
From: |
Protesilaos Stavrou |
Subject: |
Re: [BUG] Export does not read .dir-locals.el [9.7.3 (release_9.7.3 @ /usr/local/share/emacs/30.0.50/lisp/org/)] |
Date: |
Tue, 18 Jun 2024 12:48:29 +0300 |
> From: Ihor Radchenko <yantar92@posteo.net>
> Date: Fri, 14 Jun 2024 14:27:12 +0000
>
> Protesilaos Stavrou <public@protesilaos.com> writes:
>
>> I have noticed that the export mechanism does not read the local
>> variables of a file when those come from a .dir-locals.el.
>
> It is expected - export happens in a separate buffer that only inherits
> Org mode settings, but nothing else.
>
> Not a bug.
> Canceled.
I think it runs counter to the idea of directory-local variables. Though
#+bind is fine.
>> ...
>> Perhaps there is some user option to let the export mechanism read those
>> local variables?
>
> You can make use of #+bind functionality.
Thank you!
--
Protesilaos Stavrou
https://protesilaos.com