From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 QOL+LtWY3GTfFgEASxT56A (envelope-from ) for ; Wed, 16 Aug 2023 11:37:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uFnTLtWY3GRwoQAA9RJhRA (envelope-from ) for ; Wed, 16 Aug 2023 11:37:25 +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 671304F477 for ; Wed, 16 Aug 2023 11:37:25 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=GtXu8sOQ; 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=1692178645; 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=HJ3O5pBCEw84zJvEAeSSV0qmaUiO0LfQBAgbUK4eIxA=; b=rxHZ6fGL8yxD//leQUfPzHJCqAVVkyqCQ3gUSyqfwA5QAIxEKx8Xg23TgmQlbF9T1zDPCC kdeWL1xj4ar7pZwU66/PD7FfYuWp5vkHxmoG+9KN8kIUBiocBEHebDhZJ3fuhQq7DQJeV+ 3pCJfa35KMW54yOaawtXM2Kfk2nKNWtpYKTnN+wMmk1n27s7W7/0ondu5Buujy5PtU6MOd qoev4qKTnmuwyq8XNKNePcelAloNvzEXTG1hfeRTn75LS6sSdrnxG6fKrSM3ypYh+AUKkW U+JPPtH6gjzRUJGOjQaZNVkx91mrbAuij0w3/5Ye2Yqsn5ilnTL5+OW5B72Dhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=GtXu8sOQ; 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=1692178645; a=rsa-sha256; cv=none; b=c4bJy1f/hTYmLBGo4Bn0HsC2X41Ln2kvzwshzlvpsLEfjVbQiPEimW3wR8orzWF5QICvBe yqZwHJLK/FUPG2HOHRF9n/Ak+3yXkPuZ/FjVcm0NGVnvevCOD3tdQjRhGffgaso12T/E07 omo464EURKWtFHIqiYRe6o2ngPRlAVXOnwe6gMWrEySqV+aKXwfu9K65DkpH99jJ53vHhe DK7H0NeVxfos/C5B4wGXOKpi3g4gN/9WUCHQ491ynJxa7dO16RlEsPpcSPHlkF2M4uA7cM 88b3+z5TZLQ8p27d36FQ17IlWALxVIHTI1xnzGL+lUWwHSpuozkXp3W1bQxMyw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWCxK-00040q-Au; Wed, 16 Aug 2023 05:36:46 -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 1qWCxI-00040U-Vm for emacs-orgmode@gnu.org; Wed, 16 Aug 2023 05:36:45 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qWCxG-0002BL-Ak for emacs-orgmode@gnu.org; Wed, 16 Aug 2023 05:36:44 -0400 Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-26b2884bec8so3415157a91.0 for ; Wed, 16 Aug 2023 02:36:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692178601; x=1692783401; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=HJ3O5pBCEw84zJvEAeSSV0qmaUiO0LfQBAgbUK4eIxA=; b=GtXu8sOQCh+I88px7889B+S7p5Yx8JL0rXkLw+q1dUANlQqiK0CoS4Mm1QMhdPgEAj I4FBd+UsVK8x1q+JTZh9i05JYeGWEwsn4HOrDeghdxeF6/VoNJZBNhrQguXzMnSP6+C8 Tub0T3/5a4kHqzGmb56No8Qz7o03s4da5V5I8vQfaUbSNRUVrVxwWnlVP32BR2O/2Dna yZPDuV57J0ap0tYcdCmPOMVwm6WGVCe6O2JUQpm0PXn/20ipl7E+yxHfg4UHdHkJVKrb jjLUbvqhc3FCNiTXP+ccwocbEWJ86NwjjAGaTOKHHPBOU5xdnrGP/DUgyJNRSwsJI7IJ Yqww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692178601; x=1692783401; 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=HJ3O5pBCEw84zJvEAeSSV0qmaUiO0LfQBAgbUK4eIxA=; b=Cv+ARc7bO20R9nNudN9DEkJvbkh3Y9dF6PwfZNfmcbZHaaseXFW/sz+unhzlL0zh3J vTCaO4UigfjSJsPwTDDbi8EMNAmXX2YgYkBoQ5yRbc8lOnAqXlnCJ7H86hrjMJbwbmUa ppXVGcKcH1Y++d/AvCpcpX/HxFfP1bXhzgyjKm3MP67vdD+xWCV2DimmhJxhY8tgjqSD fB8N5VA4Mf+H2yjZcaKBTBibDZhqGhqQxhc0o9MM/8XsQp/G4KISCNtB9N5iIRfzDpNM tgvZs3Fygeli7txNmSsEQNXtRdfgBPko5Kd+hiiIwLBBrdgUV4nvXTos0y4K3UqaXmGl 4jBg== X-Gm-Message-State: AOJu0Yyu6Oxo7UzuGIiBMMHrrH9K8KEjTMxleo2J61QJPUbLqS5u5YZL OsKPDFeoepvhgHl4HAdqHVZYV+L0Tf0LcaLFwDA= X-Google-Smtp-Source: AGHT+IGJ+wHt7SERHm4JftbxGWfnxGjw/cWZodp95s1baQK/t2SFipJuIBQ+MyeLqMrnCoOAKfR4FCT/c8kmFa8CV6s= X-Received: by 2002:a17:90a:9cf:b0:268:ef84:b0cd with SMTP id 73-20020a17090a09cf00b00268ef84b0cdmr901946pjo.18.1692178600773; Wed, 16 Aug 2023 02:36:40 -0700 (PDT) MIME-Version: 1.0 References: <87r0o6qchn.fsf@localhost> <87il9fpfx5.fsf@localhost> <874jkzpcjp.fsf@localhost> In-Reply-To: <874jkzpcjp.fsf@localhost> From: Tom Gillespie Date: Wed, 16 Aug 2023 02:36:29 -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::1033; envelope-from=tgbugs@gmail.com; helo=mail-pj1-x1033.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: 671304F477 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -7.00 X-Migadu-Spam-Score: -7.00 X-TUID: bhswVtzJ/zfF > It was a slip when the patch was applied. > See the table of :results params vs. expected output that Nicolas > provided in > https://list.orgmode.org/orgmode/87zjbqrapy.fsf@nicolasgoaziou.fr/ > > Or maybe I miss something. > > May you please explain more about {{{results(=value=)}}} problem? > Isn't it sufficient to do src_elisp[:results verbatim]{'value} {{{results(=value=)}}}? The issue is the opposite I think. Currently the default value (i.e. absent) for :results does not produce {{{results(value)}}} as suggested, and instead producers {{{results(=value=)}}}. This means that without :results drawer there isn't an obvious way to get {{{results(value)}}} because you can't e.g. use [:results default], or if a user overrides the default value for inline header args at file level then they have no way to reset to the default. It looks like there used to be an option [:results wrap] which was deprecated 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 behavior where the name does make sense since {{{results(value)}}} do "wrap" the value. I think that covers it, but let me know if something doesn't make sense. Best, Tom