[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: org-babel-ref-resolve does not find refs in a COMMENT'ed sectio
From: |
Nicolas Goaziou |
Subject: |
Re: Bug: org-babel-ref-resolve does not find refs in a COMMENT'ed section [9.3.7 (9.3.7-elpaplus @ /home/kdm/.emacs.d/DEBUG/elpa/org-plus-contrib-20200602/)] |
Date: |
Fri, 05 Jun 2020 18:49:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello,
Ken Mankoff <mankoff@gmail.com> writes:
> I think this is a recent change in behavior. I can no longer eval Babel
> blocks that expect table inputs via :var when they are in a section with a
> COMMENT status.
>
>
>
> Here is an MWE org file:
>
> === BEGIN ===
>
> * COMMENT Tables not found when section is commented
>
> #+NAME: table
> | foo |
>
> (org-babel-ref-resolve "table")
>
> === END ===
>
>
>
>
> When I try to eval (org-babel-ref-resolve "table"), Org reports:
>
> org-babel-ref-resolve: Reference ‘table’ not found in this buffer
>
> If I remove the "COMMENT" state on the heading, then the table is
> found.
This sounds correct. A commented section is dead code, after all.
Regards,
--
Nicolas Goaziou