From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YHm2C+1t2l7WagAA0tVLHw (envelope-from ) for ; Fri, 05 Jun 2020 16:08:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +ICYB+1t2l6ZSwAA1q6Kng (envelope-from ) for ; Fri, 05 Jun 2020 16:08:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 68400940039 for ; Fri, 5 Jun 2020 16:08:12 +0000 (UTC) Received: from localhost ([::1]:58912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhEt8-0000Vk-CD for larch@yhetil.org; Fri, 05 Jun 2020 12:08:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhEqE-0004Bb-Gx for emacs-orgmode@gnu.org; Fri, 05 Jun 2020 12:05:10 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:43955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhEqC-00071q-Lw for emacs-orgmode@gnu.org; Fri, 05 Jun 2020 12:05:09 -0400 Received: by mail-pl1-x632.google.com with SMTP id g12so3789845pll.10 for ; Fri, 05 Jun 2020 09:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:user-agent:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=STnzo862mkoBsGouoJC+fHWMECoU9SlNLHdoVKVtLmg=; b=uDfV/3KM3aZf7gO00XEPrWQMCNW0d8Gt8taotK0EMAy2kLfb2YnwyUSyqVqTITilM/ TIwC9XTuBsiZj/aABthF2rmlMm17BceYpy5XgU994yCivfe57365dxg2iOBQ8Si0Fxwe 7qTPvd8gX5JybLW4oieQbjQ33qKc3EBcsGXcjVtW1rwtu1WHfnGD8JDcFj47KofIRSoj C6c/VOCYTjhi5PrnfQvcoMwusqWMo+8Mt4KzP1V7XJ1XvKmBk+jf9sMnyGMwTX+YKbLw b+L7vglBGw8Bry3/uWOKZsIXRa2vuOvgbWXhlr5GFprcDTOLEY4iR04fiNmHH8OZxyfy Hv9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:user-agent:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=STnzo862mkoBsGouoJC+fHWMECoU9SlNLHdoVKVtLmg=; b=axQb13muMO22Doc2NN9cvtuaImTrM/nHtUSrHi77fOGSBz0saw5/maN78arOXZWLOu UMeDeb241X72pBUw27VwhrEhILsC3kb/licWM3AuysFyKGjg0zvbb5XFFNghmZJ2l8YR 80BTYxkYbr03sOZYjG3YMs5YcssEMSrHshEjlejE257d6KNIte3H9VSSb9OFydRtECRV Od5hw67pKf+g+s81DuOGmWcqbcBsxvJVBeBiHeePVyLdK9hp0ueGRcCvOsFu6Lkut0YX ZBW8oOQ2gNI/7gSSsUYwKC6PcyoI79WVvOduGz71seycxiSvK0ciX+V/KcEyoirW3/W6 S+3g== X-Gm-Message-State: AOAM533o2ff9SUcoofJXvY61tC8XvWW7uFk9MqyPSN1L/KpZLIPVoOOM PE3horFT/yHlQ6udfZC0SB+IbMgk X-Google-Smtp-Source: ABdhPJyr9RHCUvhzlsFfCjF9GLHy6Y3gP2G9tbUGZAZVoKd3u4lozxa7hOMen3GK+Hra6D2iM+GJQA== X-Received: by 2002:a17:90a:950e:: with SMTP id t14mr3501675pjo.99.1591373106380; Fri, 05 Jun 2020 09:05:06 -0700 (PDT) Received: from geus3064linuxwsm (97-113-32-130.tukw.qwest.net. [97.113.32.130]) by smtp.gmail.com with ESMTPSA id b15sm9199772pjb.18.2020.06.05.09.05.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 09:05:05 -0700 (PDT) From: Ken Mankoff X-Google-Original-From: Ken Mankoff User-agent: mu4e 1.4.3; emacs 26.3 To: emacs-orgmode@gnu.org Subject: 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 09:05:04 -0700 Message-ID: <873679fqhb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=mankoff@gmail.com; helo=mail-pl1-x632.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=uDfV/3KM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: K4tO9s+j03CI Hello, I think this is a recent change in behavior. I can no longer eval Babel blo= cks that expect table inputs via :var when they are in a section with a COM= MENT status. Here is an MWE org file: =3D=3D=3D BEGIN =3D=3D=3D * COMMENT Tables not found when section is commented #+NAME: table | foo | (org-babel-ref-resolve "table") =3D=3D=3D END =3D=3D=3D When I try to eval (org-babel-ref-resolve "table"), Org reports: org-babel-ref-resolve: Reference =E2=80=98table=E2=80=99 not found in this = buffer If I remove the "COMMENT" state on the heading, then the table is found. I do not recall this happening in earlier versions of Org, but does now wit= h the latest version from melpa. Tested with /usr/bin/emacs -Q -l ~/.emacs.d/DEBUG.el ~/.emacs.d/DEBUG.org w= ith DEBUG.org above and DEBUG.el containing: (setq package-user-dir (expand-file-name "elpa" "~/.emacs.d/DEBUG")) (require 'package) (setq package-enable-at-startup nil) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t) (package-initialize) (unless (package-installed-p 'use-package) (package-refresh-contents) (package-install 'use-package)) (setq package-enable-at-startup nil) (defvar use-package-verbose t) (require 'use-package) (setq use-package-always-ensure t) (use-package org :ensure org-plus-contrib :config (setq org-confirm-babel-evaluate nil) (org-babel-do-load-languages 'org-babel-load-languages '((shell . t)))) -k.