emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Ken Mankoff <mankoff@gmail.com>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87bllxpiei.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <873679fqhb.fsf@gmail.com> (Ken Mankoff's message of "Fri, 05 Jun 2020 09:05:04 -0700")


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.


Nicolas Goaziou

      reply	other threads:[~2020-06-05 16:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-05 16:05 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/)] Ken Mankoff
2020-06-05 16:49 ` Nicolas Goaziou [this message]

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:

  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=87bllxpiei.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=mankoff@gmail.com \


* 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


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).