From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KNL2Iny5BmYKwQAA62LTzQ:P1 (envelope-from ) for ; Fri, 29 Mar 2024 13:52:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id KNL2Iny5BmYKwQAA62LTzQ (envelope-from ) for ; Fri, 29 Mar 2024 13:52:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WrU+ohGp; 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=1711716732; 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=7mMDcGnm/uGwdy8wbMBnFQVrfeByjPXGJIzC6nqdn6Q=; b=IZlLj7r3DSG00xZjlEwD3Mf0odIEm5gZMWjfV1dXF176gSACdH+FJcGOoQ2p1pFjR3NZ9X IVjsayEs5CqFV9A1M0IjYXop+H872GuNQTUY7DoUVSfw7N5degWUkT98GsTA4IHTIKR0KT mk08DcOcGSQ789gDlNTJiCOCNHRBa3lAMAyXS0ypYlkPvEszt0Y6UFmnU18n1x4OmJc/u3 qUKawl82i0zi7vWt8FODxU43mWXMZxpvBEZfHoVOpooIFB4+UAC8Tf9j3cxLSQZ6lCZUt6 jkcoJbXtdyUOprHwV16wUk6BK+/BgQsl3aJj429kwYUrRbsnMkfaDdRO3STLag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WrU+ohGp; 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-Seal: i=1; s=key1; d=yhetil.org; t=1711716732; a=rsa-sha256; cv=none; b=GmDcJ7hx8LhU6KFgiqc66k9BBbutyYgs/rObLeSjh/DBS2zRIlIVzGTRGhIU4oYBFj4QM3 ZqNzvemvFCyql/bnRXLT40cvnX3fDNf5HvLWyukKMFuykPT6W8Tg8nk+DKKowEQUuORVsG QNQUSK7qZz30q3tTjh7VfuA8VCRRgS1p0OwHltfKvY9MWmO+6nixGga6/CGujbT0/VV3fH 1879l6/+GwYpBn4ZzA1bfORbCp8KYB+EzOcuQvxNhhZ6Q2ueQs3ccqx48t0dIH3k3SqBhx PEITYIqwSGmbxWn56NebFzU+bdSSJm673CM7P/GzhKavOuZGlCzinnVrd/Owog== 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 4B9936BB72 for ; Fri, 29 Mar 2024 13:52:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqBhS-0001z9-Hk; Fri, 29 Mar 2024 08:51:14 -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 1rqBhQ-0001yv-RH for emacs-orgmode@gnu.org; Fri, 29 Mar 2024 08:51:12 -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 1rqBhO-0002Ro-TJ for emacs-orgmode@gnu.org; Fri, 29 Mar 2024 08:51:12 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0EA55240101 for ; Fri, 29 Mar 2024 13:51:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711716668; bh=6aS41BkYL4R2yCL41Yes6wPhVvxUnoCVwmt7GaRUMNc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=WrU+ohGpT8Ah/dii4+2sRVC/BS3Ay9FPi5XjSHVNvRxZd6I438vZ2E370xfRpS/jt 1CT9vlitUKbTfPrAFWDg0jWFvm/cH7ixlfIal1hxLahdMdCUqbt1wJDVISGCI8Bfjm QLrbsALTXOTcjDSCIK4ExI+mPpXXbktTZkgVekjC2TRGqytzl6N+iYB41cei7mAEP0 WuvPEwxF+aRwvp3e11rHNS1vyKvS+27ZX4fUQYrmdf1/0b+rLQYSfLJH5ELLt/ZN3x TfiFZKrc3BS+Yo/BHcP8OquXx2mvITtCbZsPQX99sYdXLJTLkcdYPBCda24ot+aJS7 rSGGCpzYbQ8qA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V5gJB62Myz6tsB; Fri, 29 Mar 2024 13:51:06 +0100 (CET) From: Ihor Radchenko To: Doerthous Cc: emacs-orgmode@gnu.org, =?utf-8?Q?S=C3=A9bastien?= Miquel Subject: Re: Support for whitespace prefix for :noweb-prefix In-Reply-To: <86y1a1jjcr.fsf@gmail.com> References: <87o7ayrwfc.fsf@localhost> <875xx5fk53.fsf@localhost> <86y1a1jjcr.fsf@gmail.com> Date: Fri, 29 Mar 2024 12:51:14 +0000 Message-ID: <87wmpldwvx.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H4=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-Migadu-Queue-Id: 4B9936BB72 X-Spam-Score: -5.10 X-Migadu-Spam-Score: -5.10 X-Migadu-Scanner: mx11.migadu.com X-TUID: 4IWM5xknPpRG Doerthous writes: > Ihor Radchenko writes: > >> I think that a more general approach could be allowing :noweb-prefix to >> have a value of string that will be appended to each line on the >> expansion. > > With the use case discussed before, is allowing :noweb-prefix to have a > value of string means I need to provide a string with 5 space > characters to :noweb-ref like this? > #+begin_src elisp :noweb yes :noweb-prefix " " > (let (<>) > <>) > #+end_src Yes. I still feel that what you are really looking for is major-mode-specific indentation, not a prefix. Because indentation may require tabs, not spaces. Or may interfere with programming language. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at