From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0LV2JntFgmGbQgEAgWs5BA (envelope-from ) for ; Wed, 03 Nov 2021 09:16:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EEo9IntFgmHAYAAA1q6Kng (envelope-from ) for ; Wed, 03 Nov 2021 08:16:59 +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 C3BE0F4AA for ; Wed, 3 Nov 2021 09:16:58 +0100 (CET) Received: from localhost ([::1]:50448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miBS4-0004O9-OJ for larch@yhetil.org; Wed, 03 Nov 2021 04:16:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miBRP-0004Mp-N3 for emacs-orgmode@gnu.org; Wed, 03 Nov 2021 04:16:16 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([13.59.128.245]:41550 helo=approving-amaethon.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 1miBRE-0002pl-TI for emacs-orgmode@gnu.org; Wed, 03 Nov 2021 04:16:09 -0400 Received: from fuchsia-firbolg.authn-relay.a.mail.umich.edu (ip-10-0-72-64.us-east-2.compute.internal [10.0.72.64]) by approving-amaethon.relay-egress.a.mail.umich.edu with ESMTPS id 61824540.583E2.ACE35D9.1183238; Wed, 03 Nov 2021 04:16:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1635927359; bh=LYR800KxwOxxvWrtNVQh0iWVSnkaUkSF8TYLCiyF/LU=; h=To:cc:From:Subject:Date; b=FkVWy33x4wHEq+EMhDkqFssFU2kEEojG/BY3ag4uUAEmPb/0/Gb81lFyEWp4yadTW r94AnziSS4Cj6kpcz6Pz8zLnyiuewMCYIyCcgu4jvqFmySE2LK26cXPGVIDI/gCRm+ 2X0132EtpwnIwH+xseSUn6ufkDxEgTNt0yZQsu6wApS02HVIp53pm4ar+AYXf6gYTt Wm5iWQZJJiV3qkN9Cuxg5lNwO8+S20R2NM2AhLHdIv7rRxPH1O4ue4f/EcFSo6WNs+ cYnRVQwQEyrwGlPYltYbi5MZUrCovhWjGhVF93OKed4cImf/PBbK1wNOLS1mHoJEWH /E7BeSSisoELg== Received: from localhost (Mismatch [95.14.69.235]) by fuchsia-firbolg.authn-relay.a.mail.umich.edu with ESMTPSA id 6182453E.A5341.46785397.2432418; Wed, 03 Nov 2021 04:15:59 -0400 To: Ihor Radchenko From: Greg Minshall Subject: transclusion, tangling, flycheck/flymake, etc. X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 03 Nov 2021 11:15:54 +0300 Message-ID: <1673748.1635927354@apollo2.minshall.org> Received-SPF: pass client-ip=13.59.128.245; envelope-from=minshall@umich.edu; helo=approving-amaethon.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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Noboru Ota , 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=1635927419; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=LYR800KxwOxxvWrtNVQh0iWVSnkaUkSF8TYLCiyF/LU=; b=RJIugNKGkrRYsdMCZcQypdTeO+nxgQkJxxZB61DHeOeBcnd1kMzAtDeJ2tQYTes2JLBD+q 7dPsXojzRmGXjVVYPzd2Eev1CFdM8EF7hdUR82BI8USmrgWr9fnuQteKvBiufTSFrtkXGN 7bSXLZggbPdxOk4rAkTO2i4F48iWiVgkmwj5bfKSRfD6G+cFnQfg/aK3tt/gaBMmY2vsO/ dsvO33LifoSSv32oWBcwMqqqB+xe97Ff80wEWcrHtbhPL+GMDJimrzpPqjpjwFE6JDJSjw 3TeuxxFp1EHpKiEQ/o7y6a1umRe+yC0bK1ukFwhUkwSE08j8GxgX+jfDv/teVw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635927419; a=rsa-sha256; cv=none; b=D5MoQt04ThrdLcdCyx0YGg2U9ILeCRpjNlDPUcJE9kqSDY1guxKU/WGSz9TrERdZIchoNo O4f3oJbjUgw9+bSS2TUnuMRxrHdtr+55a0r02FJ3m8uxuzOlDxchVMMgSbpFdc2j60mC/2 4Az7re3SolxWhO+N1KEeGvWZ7u/PYzMUzCZKW0tQmFTAQHUf98lZgRqVkDd1nppNy25HDQ 0Iiw4pR8/5+f4s+bFEVylwsIBYOWErwrUIpHSVkkyGicZHpzd9dQ2uDrgMgz41V+SwS61j GLeHh5vPxq7C4PFWz5M97ZSff5/wAhdg2Qd5/q5TmDJeEII3XzjJZoInv3bspw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=FkVWy33x; 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.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=FkVWy33x; 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: C3BE0F4AA X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3hLTZ0rBsvay Ihor, (Noboru Ota -- i do find transclusion very interesting.) > 2. A much faster tangle system. If we can directly transclude and sync > contents of source blocks with actual programming language buffer, > C-c ' can trivially support flycheck-mode and provide a more > IDE-like experience while still benefiting from literate > programming style. in general, i would like to keep bits of my code in a single .org file, maybe broken into separate source blocks, with preceding/succeeding commentary. then, pulled together in a tangle by a =3D:tangle=3D property (within a subtree) and/or =3D<>=3D references. my thought about flycheck, flymake, whatever, is that (optionally) a silent, background, =3Dtangle=3D and/or =3D<> expansion=3D would take place to produce a "full source file buffer"[*], then the narrowed version of that (corresponding to the part where =3DC-c=C2=A0'=3D was issue= d) buffer is presented for the user's editing convenience. your thought here, iiuc, is that source files would live in the file system, and be transcluded into the .org file. i can see the utility of that. but, i would miss =3D<>=3D and also the ability to break the source code into small chunks for purposes of documentation. obviously, the two approaches are not mutually exclusive. but, partly to make sure i understand your suggestion, i thought i'd mention it. cheers, Greg [*] in my scenario, i would find it convenient for the buffer the user edits to have a file name, with the tangled file's extension; i have a 'package-in-waiting' which has to do some head standing to figure out the appropriate language [parser] to send to a program =3Dprettier=3D. https://git.sr.ht/~minshall/prettied-diff=20