From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +INNCUSE3GTIgAAASxT56A (envelope-from ) for ; Wed, 16 Aug 2023 10:09:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KHVjCUSE3GQ0mAAA9RJhRA (envelope-from ) for ; Wed, 16 Aug 2023 10:09:40 +0200 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 A24874A3FC for ; Wed, 16 Aug 2023 10:09:39 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ghTWIrG5; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692173380; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=58HPpwqjUDtrJ2KpYozs+4fogXELC4wHSUAvrfQqwK8=; b=t5giNKUsHUJXzcPxv9yz20aMySDhp4WDKibr/U6WTffsEwf2PHnUrNIbVdqZxrEot+C33E CDGQd5p4MbWJmm9oJ4U0XGkTZSiXeOVwYazqrUrxLwuw616Yy1V0FrqPPXcJ9CLmgx1nvG 9EZirrAJWBbw2mdep8++msnOz5PS1/jbsxadI78Vtq4zawjPxitgd8cjJxr1PRE3h7Ghkg VfrxXiRi+KxejnsPMcenBJMVD8QoMbKsqjNG7ce3GfV7uLyfbLTztLT47vIeny83cXDTDm dF/ACyEvWZBTTbo8XpJF8hYdW0ckZXWcY0jK0/M2KStYyKlOyoLgW3qOLMkLwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ghTWIrG5; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692173380; a=rsa-sha256; cv=none; b=nJtG5f5+1G7vuLHMY0Xy1m10WPXYQ5eTgj4pkUri4njyzUW/CcJRFbl+uhpyJu69uE/n8d fWz7orPhv8+SIw8cLxuHD+NxOE68AZfQU75ykAD/ewbsVUwvJ8u8PBm/BsC2aOxu5uu6Ly xR4pDIaiNixfXRJkm/qBXYv8bQrNFYB5UGUms3dmlOWQzVy12NLHddmXT9cF5ZGnrZ8Mij VXlbr8NNU+V0THWcqGMplybWhpjPtak/C0+Y1nbMK+VHTtJk/bXlHZU64obkb8AJlMraAn uCwcD0ZejC/rTWVMN30fWhWQKKjU2OpopPnPv+oCnWiyCOebSn278oB1iHRT2A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWBaJ-0003wV-7c; Wed, 16 Aug 2023 04:08:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWBaG-0003w6-4j for emacs-orgmode@gnu.org; Wed, 16 Aug 2023 04:08:52 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWBaC-0000qv-MQ for emacs-orgmode@gnu.org; Wed, 16 Aug 2023 04:08:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9858A240028 for ; Wed, 16 Aug 2023 10:08:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692173326; bh=GfNZJr0LVylB+iw8pekcFB3OKoyxHZRyUkUTfRdkqn8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=ghTWIrG5+YahjI+82Jy/+SYR6VwdrxBHJUzNA3uLIhq+qTyWgf9fXovwdfWf2A9uf B/vKY9eJBRD12HLgOKLW8DnItCmfEej21yu2DWv8AwlJZgyY2kXWkRsNUVxwV/Iwok /UOHsMi8icKti9kMrdEiXNQUSPw/iYcOtHx+mCy1eE+Lm30idZ/jMRhcThAmms7YwX V4NUp79YwvQmc8rjVAJXhtpHI1iX1YZER58pewBuyQYPCUnj6Ic8VKOSmWxVnmpffN FB5576mdpdsagEws7C/q7Imv9D1KnNbx2T7SsrUhwkfNm7C3uEC5bKR5MR6v35rRH3 7tGaIRWDukMvw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RQgkj6BHHz9rxP; Wed, 16 Aug 2023 10:08:45 +0200 (CEST) From: Ihor Radchenko To: Tom Gillespie Cc: emacs-orgmode Subject: Re: [BUG] inline src blocks in caption of not-inline src blocks do not execute In-Reply-To: References: <87r0o6qchn.fsf@localhost> Date: Wed, 16 Aug 2023 08:09:10 +0000 Message-ID: <87il9fpfx5.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -6.38 X-Migadu-Queue-Id: A24874A3FC X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.38 X-TUID: HDqN5qDeUq5/ Tom Gillespie writes: >> org-element-at-point is not supposed to return objects. So, there is no >> problem here. > > Right. My original issue description is wrong for this part. It seems that > org-babel-get-src-block-info returns nil when immediately before the start > of the ala |src_ in #+caption: but will return non-nil in other contexts. In > the #+caption: it will only work if the cursor is past the s ala s|rc_. Or > if in non evil mode when the cursor is on the s in src_. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=54c09c84e https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9fd547dd3 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at