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 GN8jIYGd3GQU3wAASxT56A (envelope-from ) for ; Wed, 16 Aug 2023 11:57:21 +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 8NDhIIGd3GRD5QAA9RJhRA (envelope-from ) for ; Wed, 16 Aug 2023 11:57:21 +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 D39D056D49 for ; Wed, 16 Aug 2023 11:57:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Z0yMtYNL; 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=1692179841; 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=oEN7F+eCvKJ3jS0DmAdmjeKN4NnG1rWw5CjnEQqBG6M=; b=Xk3cPFkk7XGqylmXo5B5pXbJlhuW/XNESioh72U0fG+owV4mcd5LLW7V4dlkW9tQihH0SH TtSC1EDSzy8zZLKEA4yDVS1hfKLJe88tr1FGOcJ1bQ2C5qohMCnNe+ZFv/WWMhR8jwJZlI +ZBSfpX9XXKn/+Rbt+oQgGNUYmJcKFw3DrE+YZgS65icptWOnzNtCWyLoeSE5rIhVceI61 x5motokHENEgcVjUK1JTSb5NIjzF9L1PzdAaI9NPOTM7BVs90GUDDmR3TEaZXZNw68FQnN d5meNZUcD3UaiL/l3J/lgZVywmcAmmZXNjYVLTo+2deI1gBycaQs19AiLsDqmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Z0yMtYNL; 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=1692179841; a=rsa-sha256; cv=none; b=hCmiNN12vZ35ZdR2cvnpX0MZVSOUSYpFfIddjjpEMl4vtW6gbtK9qWEEVx9PX3mbgQRwas u7ejt34DfTlCfLH3rZwP4uZmvd+RcQvUHnNfUm4M3xF2/UFxbGTQK1WNG9WzBCaWNmJCAm VCzW14QC1c753UCSFO8R/9xwy6sOdX9+VQmdjJbN6LY9ViUnHf/ofgflWCBLTdu9k3tq8E 58Nn0OUZ3JMtoe1uUYhrVp1gpq8MIZDcjp75eb9gM8C9NPK3U3L+NZvKe4uM/mi4/+gwKI 9duMvOw/l32+FsZBzwuITsK3+gvS0KV0VBGxHWCUN1+1MKezR6B3x6KEIi5KAw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWDGl-0001Wi-6q; Wed, 16 Aug 2023 05:56:51 -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 1qWDGj-0001WK-TD for emacs-orgmode@gnu.org; Wed, 16 Aug 2023 05:56:49 -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 1qWDGf-0006o7-71 for emacs-orgmode@gnu.org; Wed, 16 Aug 2023 05:56:49 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E888C240028 for ; Wed, 16 Aug 2023 11:56:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692179802; bh=YiA5pDka3kMiYeqTEXmXq0Jx3pDoC8pZg4nKfM078/c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=Z0yMtYNLfBeXS9RypM5ohpcWgoajeZaqHBr/Q+eIclLPS1XKWQhsFCa1aofcIOM1r Z6JMJaCRdVEsmixl5IyEQ1Fw+IpdC9omeCWhaUjuYiI2OX42Lpv4Oncn0R5Vf7pzrV QIpRik8AyXcW2j1wFn1YdG+QuD4wHtMnhrFg9bJbD47s9UMCoCHS6kiDblTg9qdj6Y 2BTT58a04LOaik6V+TI9laaZRB5AfGlInlshM+RvFDeirMnvHpLLJvJNJAb2zqXgJL 3FlyX0Oy5nO4UIfmKYv44ap6rjgm9QbwMPuXU+P8lGb+fnXh+6d8dNEfZjxtylc5l5 2kfrJR/WEeS3Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RQk7G2BK0z9rxB; Wed, 16 Aug 2023 11:56:42 +0200 (CEST) From: Ihor Radchenko To: Tom Gillespie , Bastien 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> <87il9fpfx5.fsf@localhost> <874jkzpcjp.fsf@localhost> Date: Wed, 16 Aug 2023 09:57:10 +0000 Message-ID: <87v8dfnwcp.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.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=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-Spam-Score: -6.40 X-Migadu-Queue-Id: D39D056D49 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.40 X-TUID: 2AwElAGtc303 Tom Gillespie 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} {{{result= s(=3Dvalue=3D)}}}? > > The issue is the opposite I think. Currently the default value (i.e. abse= nt) > for :results does not produce {{{results(value)}}} as suggested, and inst= ead > producers {{{results(=3Dvalue=3D)}}}. ... > > It looks like there used to be an option [:results wrap] which was deprec= ated > a _very_ long time ago. [:results drawer] replaced that, and while there = is > some confusion about the name (because there is no actual drawer in an > inline result) the behavior was meant to replace the old :results wrap be= havior > where the name does make sense since {{{results(value)}}} do "wrap" the v= alue. 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 cont= aining =E2=80=98raw=E2=80=99 or =E2=80=98org=E2=80=99 results for later scripting and automated pro= cessing. Usage example: =E2=80=98:results value drawer=E2=80=99. Also, removal of :results wrap seemingly missed the inline src block use case: https://list.orgmode.org/orgmode/876271cjpb.fsf@bzg.ath.cx/ Bastien, may you comment? :results drawer feels confusing for inline src blocks. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at