[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-lint and org-attach DIR property
From: |
Nicolas Goaziou |
Subject: |
Re: org-lint and org-attach DIR property |
Date: |
Fri, 12 Jun 2020 23:59:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello,
Gustavo Barros <gusbrs.2016@gmail.com> writes:
> When setting the 'DIR' property for attachments for a whole file with
> =#+PROPERTY: DIR ...=, 'org-lint' will issue a deprecation warning and
> recommend the use "header-args" instead. Of course, 'org-lint' means
> here babel blocks, but as far as I understand, setting the 'DIR'
> property for attachments for the whole file this way is a legitimate use
> case, and is the only way to do so for org-attach. If this is the case,
> the warning issued by 'org-lint' might be misleading. I'm admittedly
> not well acquainted with 'org-lint', but thought it worth to bring the
> case to your attention, for your consideration.
[...]
> Then visit an Org file with following contents:
>
> #+begin_src org
> ,#+property: DIR attachments
>
> ,* entry1
>
> ,* entry2
> #+end_src
You are right. I removed the warning for dir property. Thank you.
Regards,
--
Nicolas Goaziou