From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EOuiJV3EBWazDAEAqHPOHw:P1 (envelope-from ) for ; Thu, 28 Mar 2024 20:26:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id EOuiJV3EBWazDAEAqHPOHw (envelope-from ) for ; Thu, 28 Mar 2024 20:26:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Br13NJBg; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711653981; a=rsa-sha256; cv=none; b=ppgAmPisRadDP/9eOdgRrr20yGj6jr/mg5jxXIQJzRo3hoUzc0KaIxmkx+D3HW6OTvNZzM 2OO9ZPtLIYo+x55FuGDzYqMarxxVmxYQ3LZPmhf6GVna0uaiq0HjPi2BJAcERKfPnSYROL VV1yRUwX2ZCZKR2P7CBuk1YZlLLf2OE8Ja/ra6PeJ4OFsxjgX8fbHFhN/2hTm2NHWf2Ihu qpPfr/UmhCP46v2oYPimPMREMZ/sS/DzbGAnflrvqLna/8W8Q+Z3kPnkDHBwJC+7ekf07d O496D966tLKnHBNSNAw8EIeCnfKBj24QR8TKFaB1Jw0hh3+aTZYU7XZynnfTlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Br13NJBg; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711653981; 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=PeFE32TJo+RcfT9WIVavgzFgTW7CRuV5B/WHdjT9DCo=; b=ncCw0JClE3DHcFGeNclgZMQzgjyrL4pHEYBpobnczCSTJY1S4S1Zl2XVhOFktaVWs7zpRm TeiaIb6lSWKPqFMFX99/addhBhavD0SXd7N8r8taIkxvLx90Spy/NPMHdXy3ItJ1NetSI0 9IQ1f69axXtt9hhIxKC0YpE/KcSF8rkzwgtPUr6HyI8X7JN2IyTAA8U9VXkXMLEzGav2e1 M1AjIDRhsGqhNgfL76RCZi5/9VhABih+CkBlcDiD9Fc2kVy2FnJ2JrTbFd0tLcZYD4RHqT y65jozjY0saOXT1mGxbxQoIiIkVRYiMZapQ/rGuuvLti2KwYjGJRZMhdWu75Cw== 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 7E33136683 for ; Thu, 28 Mar 2024 20:26:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpvNB-00013A-NH; Thu, 28 Mar 2024 15:25:15 -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 1rpvN5-00012b-JS for emacs-orgmode@gnu.org; Thu, 28 Mar 2024 15:25:07 -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 1rpvN3-0001dh-Cg for emacs-orgmode@gnu.org; Thu, 28 Mar 2024 15:25:07 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5715F240027 for ; Thu, 28 Mar 2024 20:25:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711653903; bh=xh2qFWtWeWPyprDnznvSN9QoKiZGBuRouUFcbHD7XN8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Br13NJBgIF7LXM//H5COcVZKNrhX64e2yOPpsaz0f95Bj447oUf34BVJLLqqAsJei OiiKjuhFb+8YVNye+6afbDyJafKAyLoiUvMCynWAgjfT2OT+yzyiwPhjhh2coyxyLk +IqjRn/TgAolQiklfN9DYV8Z3uaxhiPIyzdc+5jQ5E9gyIw4x9yiFaR3MSCvF4460G 1SqhPPMRKvBNLZKRsHC3O3k2RwhV9oAXcXu+qR59Q+vlE1smszlLv5ZzYt/SIpBhDG 0313uGZgxtosLIrHFbHSMm3LeXOnOBAcYBa6GU+z3sEfNg95w3yjuH2TFnu3/zTrkW klMCbVR1lU2Sg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V5D5B645Yz9rxD; Thu, 28 Mar 2024 20:25:02 +0100 (CET) From: Ihor Radchenko To: Doerthous Cc: emacs-orgmode@gnu.org Subject: Re: Support for whitespace prefix for :noweb-prefix In-Reply-To: References: Date: Thu, 28 Mar 2024 19:25:11 +0000 Message-ID: <87o7ayrwfc.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, 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-Spam-Score: -8.85 X-Migadu-Queue-Id: 7E33136683 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.85 X-TUID: ySoiH204LyB0 Doerthous writes: > Can we add a support for whitespace prefix such that the prefix of a > noweb-ref replaced by whitespace characters? > > ... > #+name: a-fragment > #+begin_src elisp :noweb yes :noweb-prefix whitespace > (let (<>) > <>) > #+end_src > > using whitespace :noweb-prefix, the above code will expand to > > #+begin_src elisp > (let ((a 0) > (b 1)) > `(,a ,b)) > #+end_src Do you mean that you want the code to be indented according to the major mode rules? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at