From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id +DUXKRgjP2bWkwAAe85BDQ:P1 (envelope-from ) for ; Sat, 11 May 2024 09:49:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id +DUXKRgjP2bWkwAAe85BDQ (envelope-from ) for ; Sat, 11 May 2024 09:49:44 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="L3/rBLMS"; 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=1715413784; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=yzhMyT/fmHVayHyIiUflGwjfRCccDo4dGvFNZ0o7c78=; b=TZW7jh7WthL2bZVmsOpUU+7T8Bc3rcdUgPEW5+SGVsr43YMAco5D1w8GTdpTqESQ89ZFlM 4RbE84cVctZBXujIwXxCRWNf2UyiNt7vGyWSAreDGDZdMUXw0MDKIF8sn9Ve3YFNjki9lk Lx4q/Au8FKcYVNP978QpvHVLOrJgDX0/16+ejkemxUWkTEp1I9P+vXECt2kZNprJHq2xBS C5dwkDxLIt5StfDCmtOHw+F5D6huS2deoaRApbSNbR2cnkFQLd40A2sq34+7vY8pa96KzF IixTwyh2CXmh7/GhHVt/FaiCp3NUZaXp1/gnyBVV/roUxiE1qdfjsyef9yMX0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715413784; a=rsa-sha256; cv=none; b=nNa3SZvc72DdJQ8HeQJzczeu/+ktPooo1Rnsox8+46O8HVtgtZgZTFejBLVkcusWfo5A5i CYlxlux+EOs6HLIX7yE1YCb23o5x+RzNeu4d8xkJxaeNzcBlWJtEhG+bZAopwf4bB11bTy m5HwFQJPdpJ+3cyuoezhEuLYr5zJDDJ33KGeELGsXkJ2n7icxC3ImLUw6CF+89erbtkhof 6b8qPNWM0VYX2tUHg/kPP4VjApCLZlmDsgC7yIh9SG6FdvOZJspPhErlPNo/zmR5yflJT+ E3oi0eKLton4kEParxXdNijc5oU28FdUljjTGww8hAT7G0H7JjAhJnxVrHB2Kg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="L3/rBLMS"; 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" 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 E20BC61C33 for ; Sat, 11 May 2024 09:49:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5hT7-0006ZB-LQ; Sat, 11 May 2024 03:48:33 -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 1s5hT5-0006Ye-9k for emacs-orgmode@gnu.org; Sat, 11 May 2024 03:48:31 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5hSz-0004Ri-IO for emacs-orgmode@gnu.org; Sat, 11 May 2024 03:48:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E6D4F240101 for ; Sat, 11 May 2024 09:48:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1715413701; bh=qb1PJK+UUOtWAS+4lpXAnXhK8zVJyZJXVe9IeoP0Mz8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=L3/rBLMS3gISk6FaW4rULPGamwyg/m9K9DTtbl8RJA5PqI8k7DUc5mZoI0aaDJacQ I3tHf2p96y2LTj439iJ2qXwjVtYetQ8rC/HMOSCNU7N0MzRK/mhGGNEoDTLdA1j0ry GLlbeWLaswOZs4cZA8GC9I9YA014DWgHT1PVIyaKxPsN3ElX7MZirkJ5COaCHsarBF a8DthZ631XMLWfLzxccz+oiimXbmLX46+PApEijoPs4KDGFGgKBOvf20cDsfP5yEBx 9J2K1SjF32tequIFKVeV3AlZuaTmw2hV9hydzN+QHLqrgZvTtPAHQfXeg1JU4TGrnl y8TWOlgVigRIQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VbyY03yNdz9rxG; Sat, 11 May 2024 09:48:20 +0200 (CEST) From: Ihor Radchenko To: Tom Gillespie Cc: Bastien , emacs-orgmode Subject: Re: [BUG] inline src blocks in caption of not-inline src blocks do not execute In-Reply-To: <87v8dfnwcp.fsf@localhost> References: <87r0o6qchn.fsf@localhost> <87il9fpfx5.fsf@localhost> <874jkzpcjp.fsf@localhost> <87v8dfnwcp.fsf@localhost> Date: Sat, 11 May 2024 07:49:49 +0000 Message-ID: <874jb4wzxe.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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-Spam-Score: -6.59 X-Spam-Score: -6.59 X-Migadu-Queue-Id: E20BC61C33 X-Migadu-Scanner: mx11.migadu.com X-TUID: TD9pwuByEayi Ihor Radchenko writes: >>> It was a slip when the patch was applied. >>> May you please explain more about {{{results(=3Dvalue=3D)}}} problem? >>> Isn't it sufficient to do src_elisp[:results verbatim]{'value} {{{resul= ts(=3Dvalue=3D)}}}? >> >> The issue is the opposite I think. Currently the default value (i.e. abs= ent) >> for :results does not produce {{{results(value)}}} as suggested, and ins= tead >> producers {{{results(=3Dvalue=3D)}}}. ... This is expected. The defaults for paragraph-level source blocks are the same - to treat results as verbatim and quote them using fixed width markup or example block. > Thanks! > In addition, the docstring of `org-babel-insert-result' says > > drawer -- results are added directly to the Org file as with > "raw", but are wrapped in a RESULTS drawer or results > macro, allowing them to later be replaced or removed > automatically. > > But not in the manual: > > =E2=80=98drawer=E2=80=99 > Result wrapped in a =E2=80=98RESULTS=E2=80=99 drawer. Useful for co= ntaining =E2=80=98raw=E2=80=99 > or =E2=80=98org=E2=80=99 results for later scripting and automated p= rocessing. > Usage example: =E2=80=98:results value drawer=E2=80=99. For now, I updated the manual to reflect the reality. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D4deb06ea0 :results drawer is still confusing for inline src blocks, but we have what we have. I have no good ideas what can be done to improve the situation. Handled. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at