From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sO9BMgL5o2BTmgAAgWs5BA (envelope-from ) for ; Tue, 18 May 2021 19:27:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iO4ALgL5o2CmKQAAB5/wlQ (envelope-from ) for ; Tue, 18 May 2021 17:27:30 +0000 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 0BEA01BF75 for ; Tue, 18 May 2021 19:27:29 +0200 (CEST) Received: from localhost ([::1]:44438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lj3VA-0002V8-1y for larch@yhetil.org; Tue, 18 May 2021 13:27:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj3TR-0001lC-MW for emacs-orgmode@gnu.org; Tue, 18 May 2021 13:25:42 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([18.216.144.57]:33868 helo=positive-mabon.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 1lj3TH-00085v-Cj for emacs-orgmode@gnu.org; Tue, 18 May 2021 13:25:41 -0400 Received: from petulant-fomorian.authn-relay.a.mail.umich.edu (ip-10-0-74-92.us-east-2.compute.internal [10.0.74.92]) by positive-mabon.relay-egress.a.mail.umich.edu with ESMTPS id 60A3F883.29777.457672D6.2662435; Tue, 18 May 2021 13:25:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1621358722; bh=Ymq9bqqkg6xx3BnXRA+8rqjjE1DNxTlmjqoRwQBtPPo=; h=From:To:cc:Subject:In-reply-to:Date; b=egSBej/RyBfy6WRyaoWfRrtNyJdctLHl9WVuyfgxlKF45p4Xhzwr7539LjDwMGnYK Uid5RouAHL8kS3X+elaoLH1JuTJPNhxc3uU7pXTe52RG3vAv2Fkpb4FjOrPvi/HMff IxyZl9ZMKvrftGjpKhD9aFd9O+nZt+c6xslkD3hKfr6DsYRpoZxh1XbQkEozwQNZmp DTs2zZ6AZhKgnU/w/D8EDGD887KODGooE5wmn3LIgxx6GjXXJf3UgdIaV1WjGi18+X 28n7qmUfKUH5lQl0G5IiSsRxWKJqrQvapw7zoNmZBNNqYD0NGcFxTuhuEr7eoQ3BMs 8NqO6tk3Gzccg== Received: from localhost (Mismatch [88.236.240.114]) by petulant-fomorian.authn-relay.a.mail.umich.edu with ESMTPSA id 60A3F881.85835.57CB55C2.160483; Tue, 18 May 2021 13:25:22 -0400 From: Greg Minshall To: "Lennart C. Karssen" Subject: Re: Global variables in Org mode document with source blocks In-reply-to: Your message of "Tue, 18 May 2021 15:57:28 +0200." <56b14034-f6c4-0528-9235-e0fb9f3f1f28@karssen.org> X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2541155.1621358717.1@apollo2.minshall.org> Date: Tue, 18 May 2021 20:25:17 +0300 Message-ID: <2541156.1621358717@apollo2.minshall.org> Received-SPF: pass client-ip=18.216.144.57; envelope-from=minshall@umich.edu; helo=positive-mabon.relay-egress.a.mail.umich.edu 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, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621358850; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Ymq9bqqkg6xx3BnXRA+8rqjjE1DNxTlmjqoRwQBtPPo=; b=VHrfSyu+kUFd9HpfkkevkPUmFNr05Xl1g0X16dGkiNvNojOyimh7prD66rUCQf56SnPGaq MYItGag2YSiioMH1mcmJc3gcQhslJffU4X10zizmBQ4OIcFeu7c5KEWZfxNQhwSDOZwY1k jZUCFuZKtXCbS4fDwgt3YeD4IVMs+H7b/lAYzaiKCUaULKi+YlpK6k66lOwsE66Pv3NA6j pcZU0taf/y8UsIxTaQZGxYbFO2pURZprSqa6hNHc19Ofa6S+SB+BZq5NFHR1b8uVsfaBBd 2t4ttybBAKrnyM1ngtC5OHCaBMyQhfZ1t/Aoj0xV9IYUOej0d/Ooe1woAVsJ1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621358850; a=rsa-sha256; cv=none; b=uZe8Ck5IDdN4Ce9CGUi6bBXi8+hrrFSNe/ztIi0LUyYRvMu03bgZ7Qqd4dqHX/9E9AbGLT RkOT+Ct4nRFA117hQnLWBPwuWdsmL7CTxAyo2bw6tTIs1hqjO6PQ8d9sIg52vqLB4rqA5I IPjH8aGK50AxHfvZKe7D84UDdyMM8LuooAcNI2RiOzyXh3AlXWJNxLf9UxGxSJIkt/PYg4 sV41Goj5Ab1stJc3jVtGPCx7ZnO5x81ybZeBo/DvK43W3aJZX+DvDBEYl7DSV27iGxbyl7 +/Yr6CKU4qrYemRe0dRl/Bp1eOxKllYQNSJ9M9DbWMukt/CG565KrnY6dUYmww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b="egSBej/R"; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b="egSBej/R"; dmarc=pass (policy=none) header.from=umich.edu; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 0BEA01BF75 X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: TN9PaRZ9sNJD Lennart, John's idea seems good. also, you could generate a separate RESULT for each language, then :var each language's "failed" RESULT into your bash block and fail if any of them are set? cheers, Greg