From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 sLcbLEzQ6WW2cAAAe85BDQ:P1 (envelope-from ) for ; Thu, 07 Mar 2024 15:33:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sLcbLEzQ6WW2cAAAe85BDQ (envelope-from ) for ; Thu, 07 Mar 2024 15:33:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=M3NT9Xf5; 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=1709822028; 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=3gjx+kJ9e+HPuaFZPMjXXubGtZpsEED/Tk8fM+O7uMQ=; b=QJ34OZu6MHaD2IaMssWweWabwv99gJWRt3VrZ/9cWwbxos36Ps22bJL0HiwtX6WMSJ7bf+ 5JpfcTeUPuI5tzYCHG2JoEVlBQuHzhUyKICLGFyXBdsKobIQ9uQx1Jn/9m4txYVdrwh+Oa MpIR+7mEBqirLtCKcow/XPJMDx+oZ1SlHKyaJHqWXV9+QZlKypCL8nPvNDWkyGepECK/0S CTPdH6lMcf7vuxdCJ7p63Db2A7psRzupNB/9Xb+qBGe+DfJ57fmmnupeVfKnATl2eMgXY4 hcR+rLzrIquWFN0Z5jKb94QC8VRNJTxrLRZdLVFMQe5t1PZLwShwDiJtClVlhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709822028; a=rsa-sha256; cv=none; b=Ms5PtyEBrGG37IBh+ZtSpr7OMbA51drQi1F8sKsKfdI4prb+W6a7lIbX8ocWtbVbG+0OBq eblyhB2yvi2SRDGRwKUnCxTGQDLXU+G9EosNU5hHxxh1Jy+B/aUxzE50u+YZOsbITIpYjM MvRqNTe+v6fCu9UfS+21FVqW+rFwe3o2/b9/RMAKD7aC0idJtYjDZiCloZGkeGbVWRCHZY zBc1gGWxVYGxqN/notNqeVWIb4OBQPJ6CK2aiLqfIhIE83IDT1W8T7mQzY+EdW0kVWMMue Vhkyo2GHqTHdHGo8vHYT2QD+987nfsNOPsVFK68bEy/s+Vctr//5RiDD4jwj0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=M3NT9Xf5; 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 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 932FE5D448 for ; Thu, 7 Mar 2024 15:33:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riEo8-0002pe-1q; Thu, 07 Mar 2024 09:33:16 -0500 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 1riEo3-0002pD-GB for emacs-orgmode@gnu.org; Thu, 07 Mar 2024 09:33:13 -0500 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1riEo1-0000KL-CF for emacs-orgmode@gnu.org; Thu, 07 Mar 2024 09:33:10 -0500 Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-7882d75e766so52857285a.1 for ; Thu, 07 Mar 2024 06:33:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709821987; x=1710426787; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=3gjx+kJ9e+HPuaFZPMjXXubGtZpsEED/Tk8fM+O7uMQ=; b=M3NT9Xf5SPaobJ+bDO+MzP/uffy17vufxTwTR2E4h+E/xitp/DjGXYChIXvN+GJ6lZ iL+jwH+V5Db+S2bg/MywfpyTzmdaDcZS1nkRLLyR2J9N62nrlUOOs19s96G9FgTkFmvL XNpm0+i5X9KCkttS3kdggQkGznS7gnWkh5Y0DEa/tacA3Z8y38u+bkWYAC8o65ObkxuK 9YOuNK+StskzNxo4uAem/2N+vS5TlWF1sHTxW2mHQIwx0R6kpvGJ6LIGn1hZYOO8RFRd qBxfsKDYW2w8UdI7NsPCNldNh3aVVkfbzlO6aPOLkqL36Jmkfst3BebGrguHbJyQnGJz zAyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709821987; x=1710426787; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3gjx+kJ9e+HPuaFZPMjXXubGtZpsEED/Tk8fM+O7uMQ=; b=BVuYghzdsZcaZoz/JhbJWMO0LEHcYuk6J/WKbGRbX1glZte79Wk7cq9mPda4II3NoH /zL9oes+e9xQfFBRhPcH3zgFC+LzLhcLWu2MsQOdPPsS3PYMyUFdCPMQyBCdM4rtJeqC ine/mLfTA0OUIJdQCJahl09hh2ko7GgdHcYPnPU6PXDyThU7rMt9Jtx4KNgCO7aUJpy0 DcrcQpQejmzMDxd43Fb64SX7Hr1jgy0Jpyg65ZqqpA3RTc01dkqD0F6MPQg3GIFEfRJe 22++9ScYch4EmPPHgeumzijoIoxkEDQ9lqR3ngdGPzZAc2BP8wxN4E5J4QAsTotdGBor KCzw== X-Gm-Message-State: AOJu0YzGybLSsz196kQXz5aZezIlf1r3i5GewJVbMdRbaMpt4NBv2R9M QfayKMjrnYWeDVIZrKjYGW1t6RTD3OYVwadB/ZBuxkRBiOIP+x/yidI8plLrUxw= X-Google-Smtp-Source: AGHT+IFVTNLw2NPHkZNHA1cEpCXSlxwkR2qDtTH8+PIPgCznjejusH0B/30tZE4am8wtGWnucdXzCw== X-Received: by 2002:ae9:e30c:0:b0:788:1076:ce69 with SMTP id v12-20020ae9e30c000000b007881076ce69mr8517733qkf.28.1709821986712; Thu, 07 Mar 2024 06:33:06 -0800 (PST) Received: from localhost (024-236-139-114.res.spectrum.com. [24.236.139.114]) by smtp.gmail.com with ESMTPSA id f2-20020a05620a408200b00787cedb04cbsm7677540qko.53.2024.03.07.06.33.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 06:33:06 -0800 (PST) From: Amy Grinn To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: noweb-start and noweb-end header args In-Reply-To: <87jzmexhwu.fsf@localhost> (Ihor Radchenko's message of "Thu, 07 Mar 2024 13:58:41 +0000") References: <878r2v38s7.fsf@localhost> <87jzmexhwu.fsf@localhost> Date: Thu, 07 Mar 2024 09:33:04 -0500 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=grinn.amy@gmail.com; helo=mail-qk1-x731.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, T_SCC_BODY_TEXT_LINE=-0.01 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-Spam-Score: -7.03 X-Spam-Score: -7.03 X-Migadu-Queue-Id: 932FE5D448 X-Migadu-Scanner: mx11.migadu.com X-TUID: b2Uzov1D2wgn Ihor Radchenko writes: > :noweb yes <<< >>> is actually backwards-incompatible. Consider > third-party code that makes assumptions about possible values of > :noweb > header argument. If third-party code does a check like > (equal noweb-value "yes"), the new syntax can break such code. I kinda disagree with your reasoning but I agree with your conclusion. I think it would be strange for third party or user configuration to parse the value of a noweb header argument directly. Org provides a lublic api for this which should be backwards compatible: (org-babel-noweb-p (nth 2 (org-babel-get-src-block-info t)) :tangle) However, other parsers besides Emacs exist for Org mode and they may directly compare the entire noweb argument. The middle way is to create just one new header arg: :noweb-wrap [end]