From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8DhtABXt2WQ+tQAASxT56A (envelope-from ) for ; Mon, 14 Aug 2023 11:00:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +KcVOxTt2WSu3AAAG6o9tA (envelope-from ) for ; Mon, 14 Aug 2023 11:00:04 +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 71D2B42684 for ; Mon, 14 Aug 2023 11:00:04 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=rc3HwTbD; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692003604; 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=8zm4JxsG1JIsxr0iRqZz8n1ikfmnCc8hQe8dNTbN+0Q=; b=Xp6skaqtR5OJkllVxiusfJmxAYxZmhTsYQgE9puHkcRXWnPuDBBjNM+VVuiyOsJ3oZdz0J Jv7Q+H1mYlN8QRSGc7PdqV/qQ2L8SFYQrPzkDKbp50QZnEIDu8ireS3zaKGgJDqqPuZwx3 1sDLDGx/quMT4TXHApJQ//9J/Q2RdjNpYgTbTRXKQAuLOnHuzGfRyPB1BO7O7+LtJrJMZQ MEfSJf7lE6PQVTHGnoz/3K/VJfl51iPtvNWTp92bpCE886gScXLBjc1qeJLUTGLiZ6etB2 CwjIZ8x78B7Rr1UEBbKPmtTfKbcVGvwa9RvJRp6F/OpFuJ8ynUAacZ80TqsHwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=rc3HwTbD; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692003604; a=rsa-sha256; cv=none; b=luUdyIthpGIvrgnxVTL2C41hYR146ureAosFK56Ba9f29A2sB8x+XXSCy8PABch+w5MsiY Cico8+xqE2PWCc0ZguuvByOtS2EjFQiglHx9XSgBfUCmsaBShnWa7HG+7xfcPfBc1Mb6CJ m2Hs1VIDhmqdpIV9J1eqJ498NJGf2ZHyEWu5wfyEVrhvce4omJ0WwDOHCyfW+sH1ebDI7/ au7DdNopoyqitNjKzj3zpboVnQMSnz65ui2z9YN6XmvyL3srDFXOKubc71D7QgAHV1wJXx 2GE+gvIIHT76ylIhCtcZ8y5PNO0s2pnP7p2muTfd7FpcqtagwDVXMupb67LCNg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVTPw-0002Ee-2s; Mon, 14 Aug 2023 04:59:16 -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 1qVTPu-0002Bj-Vz for emacs-orgmode@gnu.org; Mon, 14 Aug 2023 04:59:15 -0400 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qVTPt-0007Gt-GJ for emacs-orgmode@gnu.org; Mon, 14 Aug 2023 04:59:14 -0400 Received: by mail-pg1-x52a.google.com with SMTP id 41be03b00d2f7-5650ef42f6dso2382872a12.0 for ; Mon, 14 Aug 2023 01:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692003552; x=1692608352; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8zm4JxsG1JIsxr0iRqZz8n1ikfmnCc8hQe8dNTbN+0Q=; b=rc3HwTbDx1dQdn50/Kc7oKQCya3a5pHJwLSU+diIsfdsy03x3rRHVQ+QV81HtD1qL3 2TFWK44HoWn9pEsBg+a9psy5D6Y90HnstGe6hjWc3Edc4oFwVWars2n63QQzZwhCCKg5 72TNhTweaVtymGZygQsiABnbBqYKe1Wb6yi9TbMCio99NwvzOoRn4c2IH9rLChiFk6DT yXy4g+oEad1sFzK38+VFTRNNN3lvfx3oz+MSf2NTXuspj92fI9L9C8pk/UJoZcWYA3yD RHRJ1VnBJrIUT2zAlTxLf4K//W/1mksQR+gsVoaQk4aTjHexWB9F3qigLYK/6fsMF8rD lPkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692003552; x=1692608352; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8zm4JxsG1JIsxr0iRqZz8n1ikfmnCc8hQe8dNTbN+0Q=; b=E1OBjbfxoO7e2/QhwQc4Jm+Q13SxdmgGsxlJy2RmkS06TfEY3kr+VuwRvzMDAJryCK AFAqVgmg0fr8DuyKz/H4yft74JTYkNP5ZmHFhfDl/SmpxS0BHdn+15LycGDbUoVrniWk 1TvExMXHlQLPAO2aoGKBPAVxK/CdTlHsPXDqXEtCOSZdoBILNQt+G3c9a/9/TTYwtxlw c+x5PH/kNk5gooDieTGwQ11fRen5SbhhO4oBl7HbPzHzSPx3Z6A2Zqt/V0b0i0t6Re9y qj9lWk67oCUKIGs5xmqvmObYwjgb+Y+eCGCUfVcwW9YQg3Rk/CpvdW2JBlHMuwVwqsAy /Vlg== X-Gm-Message-State: AOJu0YzvUstUsQlQzQLmMc+ZLC3TOqUuBEW4pgt2oNRF2letRdtzRZCx bbbLzbFcUoZfhfHyHY5ZMyIscO5PBZ/RKDRvUcY= X-Google-Smtp-Source: AGHT+IHVFmpylbq2Uc4jKENq8f7+nVthfcuwRrrP4v1g8X6e+ywi/aYP/HT3+KuoYVbyyfNA/I9ta1fd1cTsugzaEoo= X-Received: by 2002:a17:90b:23c7:b0:269:1c2:f5c7 with SMTP id md7-20020a17090b23c700b0026901c2f5c7mr6462684pjb.21.1692003551815; Mon, 14 Aug 2023 01:59:11 -0700 (PDT) MIME-Version: 1.0 References: <87r0o6qchn.fsf@localhost> In-Reply-To: <87r0o6qchn.fsf@localhost> From: Tom Gillespie Date: Mon, 14 Aug 2023 01:59:00 -0700 Message-ID: Subject: Re: [BUG] inline src blocks in caption of not-inline src blocks do not execute To: Ihor Radchenko Cc: emacs-orgmode Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::52a; envelope-from=tgbugs@gmail.com; helo=mail-pg1-x52a.google.com 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_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-Migadu-Queue-Id: 71D2B42684 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -6.57 X-Migadu-Spam-Score: -6.57 X-TUID: XanfneourOzH > 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_. I can workaround the issue for now with forward-char, but it seems there is an off-by-one error involving #+caption: followed immediately by src_, if there is anything in between #+caption: and src_ then it works correctly. > Also, C-c C-c works for me on bugfix in the above example. Hrm, I can't get it to work, but I haven't done a proper control that loads only bugfix and nothing else. Will report back if I get it to work.