From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 aNTlNyZAX2PJfAAAbAwnHQ (envelope-from ) for ; Mon, 31 Oct 2022 04:25:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oBjnNyZAX2OSQQAA9RJhRA (envelope-from ) for ; Mon, 31 Oct 2022 04:25:26 +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 987DA2741E for ; Mon, 31 Oct 2022 04:25:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opLPR-0007Wu-Du; Sun, 30 Oct 2022 23:24:21 -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 1opLPP-0007Rm-Bb for emacs-orgmode@gnu.org; Sun, 30 Oct 2022 23:24:19 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opLPM-0005Lr-OB for emacs-orgmode@gnu.org; Sun, 30 Oct 2022 23:24:19 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3E573240101 for ; Mon, 31 Oct 2022 04:24:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667186654; bh=8tipne0WZ0TB7XkJT7yPupehq8r4yoc1r/EXVp5lYx0=; h=From:To:Cc:Subject:Date:From; b=JAhwNRe0Vepyr1f/TFiQap7j3/volgeXbF76dmAALxcWxV/CSQwaqONDsR4+wRMj+ //x866jp0O7Whpv2CrdI2pt2gJgv9h7f/K+nltWReI6RwiQto7+3IzUFxpT5mTi84h M4xpxQdxi7hRCf8a+k3Ptidc+aCiOUgTNSZAl3nMDxNJIXpJ6Sz8NkIqsO/pttFNfb EOVEvjsG2HBcOBc+HHVvRJ+AYZvaVWRv+VkSiKgl2bJE7JPvgFRUX/5EZi+WueobdW yrwEae5Rceh2LaPQBj9ZPApTT8QVf3YpaIAkZLfBv80P4zdhIud3+HOpaGpaQpVpyL eFpHgCykXm7mg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N0z5j41Nhz9rxD; Mon, 31 Oct 2022 04:24:09 +0100 (CET) From: Ihor Radchenko To: Timothy Cc: dziltener@lyrion.ch, emacs-orgmode@gnu.org Subject: Re: [PATCH] lisp/ob-tangle.el, lisp/ob-core.el: Add strip-tangle noweb option In-Reply-To: <87pmeakkq0.fsf@tec.tecosaur.net> References: <20221026193733.14725-1-dziltener@lyrion.ch> <87pmeakkq0.fsf@tec.tecosaur.net> Date: Mon, 31 Oct 2022 03:24:48 +0000 Message-ID: <87sfj4llof.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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, RCVD_IN_MSPIKE_H2=-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: , 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=1667186726; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=8tipne0WZ0TB7XkJT7yPupehq8r4yoc1r/EXVp5lYx0=; b=Ai28mdL8K6JCa1hsm9GxKByDQnpKxbZpL0wIZ85ojsbXI70kzGRawJLREFpqCfwegcjGzT xfSUqAqJsAv3yddeEb3FLJkFXJcDznD0UnnnYUicj/AUf3rh2wCaowEF9/5RL58IxXcclo SyQUylUKATmpC/3e0PdlxbkPqo4HLEv3FjMzQqq6HyIvz9hdwQagj/rrVJYPTeFT2lKGvw 1eegONbVHoMUk+CQNtJ0XXKV4oZLniG0wfTNCcXuSOtSTTkp89OQLC/OxSAnd1dusxEZDS 5jSgkZzDVwj2ouQZw4e0MEqcmq7iHslToMcUdfJki1BBGrKQgIKaHm0HlxnJ1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667186726; a=rsa-sha256; cv=none; b=g4SCw9lQpylytuqQNM0r8dggR+44x+tT9yCI7HJ/Edi7+J2a4peRPZFjemGK38qshdyF5w cWwH0X47Ha8B7LoW+s4503BYPzm6Iwb1H74z3/WgXVjkQwfKaMFYu/VsRr3gk8OGWNdWV/ cjX7DtjG7SGHdaW/9fqvo3HZOUl6T9vt/Lzp4QvZFcqG4DYN4lz0dVUTzIJtW9YxEoiqsW OyDrcN601FwC0BqJrNRzIh/j45T1MFfGH5y94/SEGTuYCGnDasn2uSvXe//qVFADWw1VdA d538GwujpdVsjddTYrWystfJU8ASY4Uxx0Dm18V4qzkEFjqpkQvB9CJO77xTiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=JAhwNRe0; 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: -5.46 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=JAhwNRe0; 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: 987DA2741E X-Spam-Score: -5.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: G2lf0NbeAOTb Timothy writes: > Hi Daniel, > >> Add a =E2=80=9Cstrip-tangle=E2=80=9D noweb option to strip the noweb tag= s when tangling, but >> keep and expand them otherwise. > > I must admit I can=E2=80=99t see the point of this =E2=80=94 would you mi= nd providing an > example of when this would be useful? #+name: setup #+begin_src bash cd /path/to/tests #+end_src #+begin_src bash :noweb strip-tangle <> make test1 #+end_src #+begin_src bash :noweb strip-tangle <> make test2 #+end_src Then, one can interactively run individual tests from Org and then tangle the whole file into batch test script. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at