From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cMB0I0VQEWfKjwAA62LTzQ:P1 (envelope-from ) for ; Thu, 17 Oct 2024 17:58:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cMB0I0VQEWfKjwAA62LTzQ (envelope-from ) for ; Thu, 17 Oct 2024 19:58:29 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NGLKN9oA; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729187909; 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=JvdgRDINjKc8Ui9s0nJ1pbCkEgziydgbuLPhdK1lDfU=; b=Y3PIqCzG07utdjOtEKRvwywIZHT4n3zQ4+d/trQ64Wb9rEx4vzf4JRYPchOyiIRD5YhHpM UTaTtyOfQuFiyf6zrBNn7dKT9ThKI7Gmig8fgezfvff8+ZjmG0IMwqb/v8/1TFpI1z+qC0 p9r8So1uUSQ7ahWKRuwfqSXBK3eMI9qbZngrIc8iISUtJpABT/USdh4+QB23pxbW5iN4yO AjmYqpo/6AkhSEkyWvHAHdJRe8gHBp+CaDJP9mxpHRxtQVJIW1t8bntUxoF8od89+ZiPIr PAqLxZMS7dEVFwYdriVGSgu57xF5CbFBIjWa8koxw01UZSl93m9NYP2veyCiHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729187909; a=rsa-sha256; cv=none; b=d7YsbaeGp3sgakvhkG3QQRXjfYk40zGHOWiRE107gPmh5HTo3HJEBgayJw+mS6qKH5PyfA PnUhXP25TR8uZWU1OLdLh1lVqzx+mPOw8cfy7lHBEXOeOn7SCSkGWh0ShqUlgeAjTaNPQ1 F9QEAG9jLyfc8y9+MiX1QRaptTMspmQZxKI7ZrqdwU3QnJXpMTGSODdOUW0C6GivvDyV/M NYCvBGYqBbNohT9fhQaODA9YZpx3E8Ic5DCPBsCZq0FOC12gswm5cbUBZePU1e9RSevjb8 qX2QVCZUH5Orx5ObtxiNN9bBwTSeWP/ACIBow0woAiukSmd3UgmHafHLCy3HLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NGLKN9oA; 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=posteo.net 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 5B2615CF0E for ; Thu, 17 Oct 2024 19:58:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t1UlN-0000hc-6q; Thu, 17 Oct 2024 13:58:17 -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 1t1UlM-0000hE-0c for emacs-orgmode@gnu.org; Thu, 17 Oct 2024 13:58:16 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1UlK-0004Bd-53 for emacs-orgmode@gnu.org; Thu, 17 Oct 2024 13:58:15 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8AEEA240028 for ; Thu, 17 Oct 2024 19:58:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1729187892; bh=0jgzxJjY0Oh1HgrO2mZ+AVzaRt80VtbkRHBh4AcFZIA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=NGLKN9oAeLEwFbQciDl2YhTEC5LdNpeEe9T4KyWf/TYtozv0vijkXf4x9SUnCBMJt r5TL0qBHk7f1hfO1I2XdbI8LL22aDUAdvVl53uV6L+tl2U4vdXe4KlVqG6T+0xnGPl X+93u2cnfFIouOU2ue5TnJz4dJ8rk1eRzCwJLAsBv6rd4QquT+IOQtpYFpEfEYGR8T UzoF+hk48vlrJWkyKXOVT3MSZtxiPUGYgWKwZLn78FSrNUMyTAVn4KDx4V+1F09sSc uwfqUgGH2suJX3gsj9DiVjS5eoSAD8U0Aft48VWqC0nza0CIpFpBM9/U/pB4HavgcH miYfHk1oFU2Xw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XTwYG6ns5z9rxB; Thu, 17 Oct 2024 19:58:10 +0200 (CEST) From: Ihor Radchenko To: Anoop GR Cc: emacs-orgmode@gnu.org, Bastien Guerry Subject: Re: ob-clojure breaks tangling of comments using org-babel-tangle for clojure source code blocks In-Reply-To: References: <87y12n6d5l.fsf@localhost> Date: Thu, 17 Oct 2024 17:59:58 +0000 Message-ID: <874j5azk2p.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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.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-Spam-Score: -4.47 X-Spam-Score: -4.47 X-Migadu-Queue-Id: 5B2615CF0E X-Migadu-Scanner: mx13.migadu.com X-TUID: r9yRfI6tHKHz Anoop GR writes: >> >> I guess that we may leave the comments intact if the code block does not >> have :var. >> > > I moved the comment stripping code in org-babel-expand-body:clojure to > follow the above idea:- > ... The code look reasonable. Would you be interested to convert it into a patch? See https://orgmode.org/worg/org-contribute.html -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at