From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qHSSN535XWNLmQAAbAwnHQ (envelope-from ) for ; Sun, 30 Oct 2022 05:12:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SOBZN535XWPeHAAAauVa8A (envelope-from ) for ; Sun, 30 Oct 2022 05:12:13 +0100 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 7C8958F13 for ; Sun, 30 Oct 2022 05:12:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oozfQ-0007V7-6h; Sun, 30 Oct 2022 00:11:24 -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 1oozfP-0007Uu-2q for emacs-orgmode@gnu.org; Sun, 30 Oct 2022 00:11:23 -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 1oozfM-0003bi-Ov for emacs-orgmode@gnu.org; Sun, 30 Oct 2022 00:11:22 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id EACC3240027 for ; Sun, 30 Oct 2022 05:11:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667103079; bh=28jJ/cmsqVedmPT1y9b+/uaPqyOZSI88OocK+9tqWBw=; h=From:To:Cc:Subject:Date:From; b=MuPyHrRW4tF4p6kqEBGWkdGNaNciiCepHqaIIbkeMoUAVZtg2hgWuDjmSE668fQW8 3bpFEfXESPtHYGx5gxYqo4eiIXpJRLPs9AMxCIFPh5Zvld6mnGgb1kKLZ3OTUqyU08 R7LVxJRH4CVewhcZtMKoqEvI/EN4+77feA1//qRgMwxD5CkJaKXFCRlHTw/CaIrFS8 qs5mAjjPDHyqWxuOQBfIq4nSjnCq/wQgiyl6i2zkt0Wh69QH9Yx38CfsP2wLwCFlXm 1da6rWMQic/wpECNLFfTL7XaYKJzWIogbOtGqZ/z6kdcCoA0SJOzyrB2okJAIV8b6y O+MiixI5prJuA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N0NBY6TmXz9rxH; Sun, 30 Oct 2022 05:11:17 +0100 (CET) From: Ihor Radchenko To: Daniel Ziltener Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] lisp/ob-tangle.el, lisp/ob-core.el: Add strip-tangle noweb option In-Reply-To: References: <20221026193733.14725-1-dziltener@lyrion.ch> <87o7twn101.fsf@localhost> <87zgdfjnko.fsf@localhost> Date: Sun, 30 Oct 2022 04:12:01 +0000 Message-ID: <8735b6ar1q.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: -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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667103133; 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=qsq9kMwjgTTKdKZKWRISW74WV1OFQquDOHhGyK9+Jrg=; b=JThHua/BRrccRt1sSao822CepZnGtXYp/4hAuJsjbtQSTRMPhzoMiTUM6Pee9BnkLyuM7k vdzX+YqVRWWL+PJFxrKYeabtO/NWW93l69RWi40aeLPixhF5RbjPnetUIthBtVZ1yp9pqC j0MPBWq49yv6Za3MOc9Px50JgYp0kj0WH5XXCoimSCFVWLIZLUDQZ5zPW5gGaz4GYQ77IF fwx3N4yhQFNoAGGz72/3XlSAahAToZgtJdXNDH6xY7mXY8pNuxmlzMwWyn8a8fJmlsGyqD Vcfg8MiCqLbl/zE0WK+je1ZdDm14+AWes0cgwc83LT+UGW4gct2SjX0VaHy5EA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667103133; a=rsa-sha256; cv=none; b=uTFz5svVlpct+AbaewMQSD6gepOzxA+jdoshOOr76QAssbWjB22GyhS961cpTPUBUvESbg e2ziKUwuGOzUaQ324nY7IXHR5Kvzxn0Q8N57JGmjuYehevE9M8EQ7tl8GJs3ELVijmYXOB 7IIY8vydExbS//3jDGP/YBbeTvYPIM8XH+peo1/tZpttpVKF2pGg+1Wpr1mbnX3y8Dy6mZ NwzMuyyay+wqqNnrVijRp0PsbJR23B9BU8O7DwQEbr0ai+sb0RTO18QwU4J+CA7GfnIGW7 1aHQ2HHw9VNIUdOtLs8gC5BWyZhNYWBRLVHK3nbNfL3jiiXRPmJq8kM3qfsg8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MuPyHrRW; dmarc=pass (policy=none) header.from=posteo.net; 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.24 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MuPyHrRW; dmarc=pass (policy=none) header.from=posteo.net; 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: 7C8958F13 X-Spam-Score: -9.24 X-Migadu-Scanner: scn0.migadu.com X-TUID: ggcgyxA7SJI4 Daniel Ziltener writes: > From: Daniel Ziltener > > * lisp/ob-tangle.el (org-babel-tangle-single-block): strip noweb tags > from block if :noweb has been set to strip-tangle. > * lisp/ob-core.el (org-babel-common-header-args-w-values): add > "strip-tangle" as new allowed value. > * testing/lisp/test-ob-tangle.el (ob-tangle/strip-tangle): add new test > case for strip-tangle. > * doc/org-manual.org (Noweb Reference Syntax): adjust documentation for > the noweb header argument. > * etc/ORG-NEWS: add entry for new header argument value. > > This patch adds the "strip-tangle" option for the :noweb header > argument. This strips the noweb tags before tangling the block. This can > be useful for e.g. testing purposes where one wants to use a block as > test case that can be both run inline as well as tangled into a file for > automated testing. Thanks, but it looks like your PGP signature corrupted the email patch. Could you please create a separate patch file and attach it in the reply? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at