From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CHrBOWuQ0mJ+QQAAbAwnHQ (envelope-from ) for ; Sat, 16 Jul 2022 12:18:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cErUOWuQ0mITJQEA9RJhRA (envelope-from ) for ; Sat, 16 Jul 2022 12:18:19 +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 2643EADF0 for ; Sat, 16 Jul 2022 12:18:18 +0200 (CEST) Received: from localhost ([::1]:46398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCesL-0000ej-5P for larch@yhetil.org; Sat, 16 Jul 2022 06:18:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCero-0000eG-Id for emacs-orgmode@gnu.org; Sat, 16 Jul 2022 06:17:44 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([13.59.128.245]:34170 helo=lively-euroswydd.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCerm-0005jt-Jd for emacs-orgmode@gnu.org; Sat, 16 Jul 2022 06:17:44 -0400 Received: from zestful-brounie.authn-relay.a.mail.umich.edu (ip-10-0-72-249.us-east-2.compute.internal [10.0.72.249]) by lively-euroswydd.relay-egress.a.mail.umich.edu with ESMTPS id 62D29041.295C2D11.72DC995A.152082; Sat, 16 Jul 2022 06:17:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1657966657; bh=wB3ngRgwDWUGMdA1YzSkSYKO5zhoI/8yNA4M/lg4eX8=; h=To:cc:From:Subject:In-reply-to:References:Date; b=nwK2Z85B9jbX8blok0A4eXLnDt7y+IbVY+6gRU2ptnoac4lxEhdImao3i5fd7seiz 3IPalqsn2QUCFnIlLg2WgkQruVz4e7R7jO6SggAIXevMXbwMjbqgVbRxbr3FlvmFsL MSd5f//Sbg0YHQYguTbLdwI/w6ccWZa2Y+HbRsLHlQ0PRyAkY2g0SjUP3ejg5hAdFD bpfc0P0dKoP5eFXnW/GkTWZFvbpoiVBlnaKRbMUYbSqyA5bWcnl9fJQsCVGhfOnCmD bLk3qIb48TVw2yytjTO02VblxpDBD5EUVfaFSHPDm8fL+Pz5LrD+QZaqN9qVPWHjud aEF/uwly4ZouQ== Received: from localhost (Mismatch [78.171.104.21]) by zestful-brounie.authn-relay.a.mail.umich.edu with ESMTPSA id 62D2903F.2CF91935.434442C0.1216822; Sat, 16 Jul 2022 06:17:36 -0400 To: Ihor Radchenko cc: sebastien.miquel@posteo.eu, emacs-orgmode From: Greg Minshall Subject: Re: [FR] Make :var foo=name-of-src-block assign the source block code instead of currently assigned result of evaluation (was: [PATCH] Add :noweb-prefix and :noweb-trans babel header arguments) In-reply-to: <87ilnxe8oz.fsf@localhost> References: <2dd9630a-c584-0702-62aa-393ad56c621e@posteo.eu> <875ymt8goc.fsf@localhost> <87v8urt8bu.fsf@localhost> <03eb4c66-ecaf-b5f5-c4cc-2195fb6c1a1a@posteo.eu> <87y1yiz3js.fsf@localhost> <7702b511-c289-5688-c64c-fb673324a63a@posteo.eu> <87ilnxe8oz.fsf@localhost> Comments: In-reply-to Ihor Radchenko message dated "Sat, 16 Jul 2022 16:57:32 +0800." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 28.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 16 Jul 2022 13:17:30 +0300 Message-ID: <1869598.1657966650@apollo2.minshall.org> Received-SPF: pass client-ip=13.59.128.245; envelope-from=minshall@umich.edu; helo=lively-euroswydd.relay-egress.a.mail.umich.edu X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657966698; 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=wB3ngRgwDWUGMdA1YzSkSYKO5zhoI/8yNA4M/lg4eX8=; b=LtR92fJimf97/WsENHHwUZcW7w6E15xkxdF9gwz4faUH1muSw26x2lT+zWNGTgq2HJh2u6 mllXctSOK8s/z/7OMcsydcfjJCPijmyWcsbj/LZTkeUVvDjSc4r6Lw8N/ijdEzc9NZxJr3 /GMcUQUp7SQNHfuTIJVkEu71KshKTF74LtV45RfcfgNjbPltJXLbL8xXgs6O2mmLkog1mm 0F+e5Y+JcNTsWfuGmoZKbbZS1Vxm1bMR6z4je5zZXm7R9KfL6v2W1Q3HQPhRh8dYH4Tuln hHKgZ13/yDubhxv4ymepb55Yp3nYHIcOskI2rqxZgrqNw8IsI2/ggIQGipmJIg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657966698; a=rsa-sha256; cv=none; b=FFD+pqJJ2cI13nb0CDuGAinak3qwVvN2nz7KyjZa/lKs2aBrzWy4KvyEi5uibVIxuDLiNk r80tcRIeabTiBMD9nMoidQaU1/4viPJlASElI7LKbNN1FFk1EAe25303I/unWXD5iw0zPV aM8mwSI8mg7sszfbo72u9iewl1FbjdKxvS0EsEdj/jehEY1OXSd/9wkCO08PnNvksQ7o9K UKXB0NcMTAsrIfmBl8rmvx4nwk84ujt1JCn1drTE4Fq11LkkbCCVMIPdsYcch50SctkOU1 MkYOZeOpdPnufGhCUobZc3GTbhZFpDOa8Utij/4dWAHh9NaT7U/btVxuDb1UoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=nwK2Z85B; dmarc=pass (policy=none) header.from=umich.edu; 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" X-Migadu-Spam-Score: -9.74 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=nwK2Z85B; dmarc=pass (policy=none) header.from=umich.edu; 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" X-Migadu-Queue-Id: 2643EADF0 X-Spam-Score: -9.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: t1ztyZm89RHY Ihor, > The current behaviour of :var foo=3Dname-of-src-block is assigning result > of evaluation. However, this behaviour is actually not documented. > 16.4 Environment of a Code Block section of the manual only documents > uses like in fact, the text of the info page (on my system?) says > code block without arguments > A code block name, as assigned by =E2=80=98NAME=E2=80=99 keyword fro= m the example > above, optionally followed by parentheses. note the "optionally". cheers, Greg