Hello,

Ken Mankoff <mank...@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

Reply via email to