From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yNHmMyc052B2+gAAgWs5BA (envelope-from ) for ; Thu, 08 Jul 2021 19:21:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4B3ILyc052DICQAAB5/wlQ (envelope-from ) for ; Thu, 08 Jul 2021 17:21:43 +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 E711B1023C for ; Thu, 8 Jul 2021 19:21:42 +0200 (CEST) Received: from localhost ([::1]:46644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1XiW-0006z4-Us for larch@yhetil.org; Thu, 08 Jul 2021 13:21:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1X6J-0003aO-RR for emacs-orgmode@gnu.org; Thu, 08 Jul 2021 12:42:11 -0400 Received: from mout.web.de ([212.227.15.4]:55947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1X6G-0000IW-2v for emacs-orgmode@gnu.org; Thu, 08 Jul 2021 12:42:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1625762524; bh=Vf3+u6m1UZH88L9XdIWXEL+/xWV9WRIQF9AvHgmc7Pk=; h=X-UI-Sender-Class:From:To:Subject:Date; b=OkiGmJBhfHKz7SkJaLAkyHCiTnGGrOQ5T2QqF7LXUKCv84N+qafnqINg3CW7jA3z8 Ud0RWGrs/M7UMtc+BqNzihkiQgClZ07V9QQ/5LVKVrRJlvpgAbEO+Adn251JbhiJEl BtMMHvqI2vVBr6pD0hkNJaS6TgkkNEbWUrRbuxqo= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from localhost ([74.213.80.174]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MbyZa-1liM3R1rIU-00JHS7 for ; Thu, 08 Jul 2021 18:42:03 +0200 From: Marko Schuetz-Schmuck To: emacs-orgmode@gnu.org Subject: A requires/provides approach to linking source code blocks Date: Thu, 08 Jul 2021 12:24:15 -0400 Message-ID: <87czrsai4w.fsf@tpad-m.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Provags-ID: V03:K1:m8qRiCWmpIn1qx2waUmqw50hkwwAVysJsGaqjjF69AOEupzfkmy FC2E/Ly8UzEcmYTFkhZchLD6mt+lZt5j74AEhtJm4Ya6PnAAbvRWUuL2KWKQ37A5rm12nqA 1r+YaIOihs53abSgyUhFPfzd0WMtbwuw8HdX6Zgy/e89VxdQk3vdAcF7pQB2vEAzjttvrWD LuPYCHwNce0IH5/jEM7ZA== X-UI-Out-Filterresults: notjunk:1;V03:K0:9sbvA1E6sVg=:2MKpUm0CUktug1rnOjgkTf FbJgZTD6/ofV3y8Y8sEgXIhESjIOalSSbpMq13moMyxiSvz/nDFc+ljgvHw5z+jAEgK0zGvnv tvwzfw1sc+LSsDWXqF/SFLVY1fsqfaNJx92VsWhBndEk7HwmacJquKhG60KOI8rJPQ0jbwp1I ejFjdLnZMmuGiXChWN/b71JqqSLahuyehvu8YBkrzRepeerr+IbyGS37CORwfC3xH0FbxAymv 3bafO0yLeELip4N+gpiDvJDtKWzgWGj9nWZi9t95eqmh9iCOqZj0xOtAMRkfRk48F2CmctTRy EOEHqtgRmePsdQ1W59+7HOakoyEQUm9H4xu0z9BSME5Wr/fgz/d+i5t3NvIc1FeppjDmgE9VJ 7KppZU9Iay31BL2k+y7ypsRcB0d1HZmZqYTau36T9l9jg97kt78wNi46MSc286jv/zKAUoSN5 G2t4Jr4PAyz9C2iDBV8hSFus95LbsJaPtu6UKzeAkGAIyHJCV1ZMJOvXoO/hCGtWg60gL7tJX Zi9eOsYFTFPngRol188l9MpKVwMMz0pOY0QKwKQWgqzgVTuS0q4eMEOV+GjXEA4qd8Ov71mCH A5Rw2NChUm3HpkpxBy9TLGU4H9ykRb4UFU8HarvKQb0BEguq/UUBH+t1/Rc7JnEFrpNjO60X1 bXBda9D36se2xqPfaRocSJU8RN7WTOsEYS83VDbwR4hHg2U7pg8GSqZT1AczBr3I9epUMXDId Ge7ffQ2FBr8E6YKoTlD3D/QvrbU99a2BMOjOEEQFrpR4r9UuBWMaaMBCUFafF2IARV9DlWIlg BhNA/rkX+kXnjJYbUnqY2X9C/Wgi0oTd5jEiujEdexqEuOezGEL2XleWSd7wdysNSBg1B820J FJcPfzLW/Da6QZNTuEf+zUZZmMSkM+N9rOR6aEQhMLeLEXV59nEGI7dGlMvvI6BPQstu/57m/ Ot4aTRv98VjOeuPLSrgikD0bBFJu0iSk1neVlTtSz0d3GGAHe/DGT2wgutimzONuuLiCmea2Y 0AyyEx0kPhj57uPq61fqdWEDCxyKygZCAuyuVRqiylRrxXp+LkkcbgyXg6vtGCTMhblD3kkWs XbpHH5kIoWld2AfE0weBBubL6TjY5MlCyt3 Received-SPF: pass client-ip=212.227.15.4; envelope-from=MarkoSchuetz@web.de; helo=mout.web.de 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: , 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=1625764903; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Vf3+u6m1UZH88L9XdIWXEL+/xWV9WRIQF9AvHgmc7Pk=; b=qYDvUXLbWwaWvcXbancgtb4x6abkLCSj/ECzx1xkkaeiUdExsWqz7FI/Tr1eCWTP6omn6b LacggtnByb5H9CiN2P7Ap1XxKZonuycGLcv/KLGqGnnJkj4T26Qci6qVJzilNraAEg09pN g9GpUiDzixNRb/iKMCJpMklIAoohOOwurx0i8DAIRzpvsTQbOF9s5Tyt36AQYdUawE93RN oBYkLtAoM4EQsxGKXqvqvJcCR0MqumkLq72Njw99vKxImwRv8u+W4Uy6evONLDFubyoHNe DrpcyOvZFpb7v+PxGTD/IH3XzU5ThoTw/e2eznhuoPW/S3nE0hXCxl9umKat8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625764903; a=rsa-sha256; cv=none; b=qVzfMV8m8RKn1khaFq1eKv7wLg7OpfNkNz1656VB6SabeJhPtjcVj1lXFbZzLNH9JXkCog XbddnL7H5HyazF3dPcHc5jHyrYsDIFP5iz8owL7Jt8sxZyXaGKKfmaAmmXYqAHpzceFxbo qTTYg9qUkLnrdGtM475eEX8OLqcAhStV9BYKC0qNBvNmfI/2QfM3lNSrXA42i7iKAQfUKD 3tIr6foj4x3lpZYESufNkcRr1Y9gOesz1IZigvBQP0/+2YrQKXcXqgAVg+HXML61clOCh5 7Z+6KugdTkF1I3Ph168+DRtpE9BuVivfAMBDqdEwpc6Y1bLeAYWK04rYtUBgNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=web.de header.s=dbaedf251592 header.b=OkiGmJBh; dmarc=pass (policy=none) header.from=web.de; 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: -5.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=web.de header.s=dbaedf251592 header.b=OkiGmJBh; dmarc=pass (policy=none) header.from=web.de; 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: E711B1023C X-Spam-Score: -5.21 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2n9VOu0cZ09j --=-=-= Content-Type: text/plain Dear All, AFAIU in the current support for literate programming I can establish sequence between blocks by either tangling the entire file whereby the blocks are written to the source code file in the sequence in which they appear in the org-mode file or I can name the blocks and use noweb linking to explicitly state the precise sequence in which the blocks appear in the source code file. I would find it useful to have a more declarative way for specifying sequence. I imagine e.g. using "#+REQUIRES:" and "#+PROVIDES:" to capture dependency and then have the exporter compute a sequence satisfying these. I would think that this makes the maintenance of the dependencies more convenient. I'd be interested in feedback on the idea. Please include my email address in the reply as I am not subscribed to the list. Best regards, Marko --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHIEARECADIWIQTbcRvibO9ZRo7WJeA6tOr+/cAI2gUCYOcmrxQcbWFya29zY2h1 ZXR6QHdlYi5kZQAKCRA6tOr+/cAI2sDnAJwPzTyJ70PvKRZ5LxqWzJe77qQjkgCf Sb5d5gHgw9T/99Pm9aubEb2Eqlw= =IPT3 -----END PGP SIGNATURE----- --=-=-=--