From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eOyvNsXCBmZLtgAAqHPOHw:P1 (envelope-from ) for ; Fri, 29 Mar 2024 14:31:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id eOyvNsXCBmZLtgAAqHPOHw (envelope-from ) for ; Fri, 29 Mar 2024 14:31:50 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=GsoqBDMT; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711719109; 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=ltDKv+MoORao5vFoWsWq+x3SRHqRNNpNDJzavCMiU3E=; b=mTckPWpnwB3+FS78xKoFr1ZJ6ZReIMrYOIQiYgtaO98e6Up3K91IQwwnGdTJifn+T4QRjH wFhQD5wdVOqVLMiC4SPviP0c355sbYUIpzb6AdkPwKky0TxVOWmZXNklI9bPc2axhKw8o+ ChPL44zj/o0O1jnLQ4L+4MkuXVKVyaDP/Yj/RpFg3CC7nTCVqLo31YSUCG7Y7A4pnIhyRu eZgI+oGEhgJJa94tJR/7RIVbTuyUKKXOvbwvpxJMvVOUInBotNPAhV52X1zV+iuQ1VNpIV /ym45uidgDhW+O+4TkFVfSt380SOFbm3m7JSJtNxGVyE3iIBGaVFk/WKFDhx8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=GsoqBDMT; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711719109; a=rsa-sha256; cv=none; b=DZUvx6l0XBM3JXQlrxQ+MwDHDUYJeO8tEyhYuO/bDnfX/jLjo680yloVmvIhtTn3jmOdKm vcE2L6HOMWGT3D+o/UjxsGWQj1aAbNqTPJRs/+SmXkhsp3/uJg/gmBLWxODewZdtEJ7iN8 I4fwIQgVsoi9CCZOuR964IoSnq0G7JzjQe84SGomQ0JzfD+CFiKGaFgqmUCvtco3vGLbvr 1kKZFQglEO51gfJ7eBD2UKFxYg0rF0Zbufx5dhVGWXVBr06jAf/fM56jrSpitqiuHyjyt8 cmktmnygBih2+6vbBFUiNIAJ1oEGJ/S1p7kLLSgBfGOqx6223aENuQ8tfmVMRw== 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 9784F24FC7 for ; Fri, 29 Mar 2024 14:31:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqCJq-0003za-0W; Fri, 29 Mar 2024 09:30:54 -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 1rqCJm-0003ym-Lu for emacs-orgmode@gnu.org; Fri, 29 Mar 2024 09:30:52 -0400 Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rqCJk-0001Ji-9L for emacs-orgmode@gnu.org; Fri, 29 Mar 2024 09:30:49 -0400 Received: by mail-oi1-x22f.google.com with SMTP id 5614622812f47-3c3e6ea6d2fso1066873b6e.2 for ; Fri, 29 Mar 2024 06:30:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711719047; x=1712323847; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ltDKv+MoORao5vFoWsWq+x3SRHqRNNpNDJzavCMiU3E=; b=GsoqBDMTndzmPk2Jofl64xBNak/f+65nhTYXZUhO45NL65o/xpfrskulqMlds8c3HA tVgSABvqYHLEsQpJpzOiS8qGO+SB42vCm2mzayLw1G2WENg7C5il9YihaINONXyWEElq tI5UsIwr6tEqZRCyELgOz5Ak4VISlcv6HdQsltStVrZ/NiVHGELdOspXYjKhw4/UUXHh 8FRSDmU8AWVlwfFTbr76CCOCwncCMMo5VL27knDDOSQ9HpOfgOMYL82nAxmAckESHmlG 2vc87YNYB7y7wIoa3oqEv9qGP3FXnb08WJkqZYJn6KRoZBPD8DLdXRh2NxO06Y4nF4jD Mtyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711719047; x=1712323847; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ltDKv+MoORao5vFoWsWq+x3SRHqRNNpNDJzavCMiU3E=; b=BzYXtefqGV0+qod6N5BdXzpVZyeP6ZlwD5bUc0QPNIcZeSgGXjwsSqkMi4OoufYi2k G8E2eV3qBUVjs7xLt7JxdaLzX627ruUnVQtWisFX23gDP5+8EXY92JMSiLR9h9rw841S ah5lxKwuo+9AeMfiyv7qjeFef6T9VWYej8Gecn3vkWv1VmPaut9qe90Hoy5aPEf6xVBk w/yR8WfqNBuTAfQ63UnloAmAboufNZwDlNDDquh9n1Etv5T0IXc6xsOuI/OQI50s+ZMq alXULa7E51Z46XRuQIv3H0xuSdoeJq4ODMGPVl9ZxD0h+cUCGs72V0qK8k3aeaX2gjBk rliw== X-Gm-Message-State: AOJu0YzZeWuxLrnjQGJCK03yqjjjy6pHrLOqddXLPfrAUa9AzIGh/lnL kDJcMGcsj0WyiBZa2sBL09NN74BttYelwWA4ajrBwdpid5t9MhTIJ9rzGRUVeF2Vr05cbIy1SVV tyBgVllojGQiz9OlnzKqVrlFeCoM= X-Google-Smtp-Source: AGHT+IGNIsG2mAK8YBUCKmLCzJNvCb9fnOf+mxZwJWY0yxsfpSqEfwnL0LK/lXnYNJTLk3Yp5/1kUuaQMXYGDB/X3j0= X-Received: by 2002:a05:6808:3006:b0:3c3:eec7:1a67 with SMTP id ay6-20020a056808300600b003c3eec71a67mr2525607oib.12.1711719046790; Fri, 29 Mar 2024 06:30:46 -0700 (PDT) MIME-Version: 1.0 References: <87o7ayrwfc.fsf@localhost> <875xx5fk53.fsf@localhost> <86y1a1jjcr.fsf@gmail.com> <87wmpldwvx.fsf@localhost> In-Reply-To: <87wmpldwvx.fsf@localhost> From: Doerthous Date: Fri, 29 Mar 2024 21:30:33 +0800 Message-ID: Subject: Re: Support for whitespace prefix for :noweb-prefix To: Ihor Radchenko Cc: emacs-orgmode@gnu.org, =?UTF-8?Q?S=C3=A9bastien_Miquel?= Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::22f; envelope-from=doerthous@gmail.com; helo=mail-oi1-x22f.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 9784F24FC7 X-Spam-Score: -6.64 X-Migadu-Spam-Score: -6.64 X-Migadu-Scanner: mx10.migadu.com X-TUID: rvBiyAYFxK42 Ihor Radchenko writes: > 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. I kind of understand what you mean: what I need is just the no option, after the expansion (maybe with the help of some after-expansion-hooks), indent the source block according to major-mode. Right? I will try to find some hooks after expansion and some APIs to indent a source block? Are the any tips for doing this? :-) Thanks in advance.