From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eFVCOxeg0mTWdgEASxT56A (envelope-from ) for ; Tue, 08 Aug 2023 22:05:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KF4mOheg0mRcxwAAG6o9tA (envelope-from ) for ; Tue, 08 Aug 2023 22:05:43 +0200 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 A57D434320 for ; Tue, 8 Aug 2023 22:05:43 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="lX3/e2/X"; 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=1691525143; a=rsa-sha256; cv=none; b=XlViRfnRglc1HWUblUaNu7tTCFyztBF5n9+SE3kB/lASO6qtUBkDAtBp/hZ/tu/EOtYZco qZAkr/325i2vyBob+3EkWJZPtjo+/s7rpzU/EL3N0D3ImuHfAEtiH4Q1BAsGCe3p7xIhP+ mIh3JMN9Yi9Ay9PwqRFj/hu54R8L++DS8dgspTDVJQL3ol+n6zOQvr1ryGkEO4cskKiXLk xE6X6KAZCHB2LfdQ3ZurMMskMV6Al9+RvtLxwCqR0oh3FONg8U8/CY4nCON/ZgcWjw4hUj jmLr9Ueb1vUPQtPTwzmodXtTZMQAaZRlOYgKGP2LuxAwL1e/aNzpDFfvls8WWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691525143; 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=OnWyNlmXltl/8jSfHBK8PFw1+Cbx+CI4S3fDHb3Uytg=; b=mDiGjAVJ2+7Azzna97PV7qNos10R9z7/vQxCK0U4EsrnUeIeSOISCLRetSWRY3a8Qs54fw Cr/RAvQOQFDM/y3sp5AZFhRFXUF5YdMfHtyTFdjVbVVM4gA6Npskpf8jBDW42BsZ4c95Qp V40T1d5X6rlxYi5ITO13v0eUPkXHXbFSOTpm9O3+v4/uKjsKkhZz4sLyrq/wffehs9JWCu LEVncFIXl75/x3Wg7EdmmvZWtxAY+cUCd7ifu3BsATBI06QYnUxoXKTus4mUYQa0e5MhEJ /LTyAf8OjyITr4tpaWK56sT7DOFiz8EWWhNkLLDZyb1eiLXniQ79rB8iwj1Jug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="lX3/e2/X"; 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 localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTSxO-0002cn-J0; Tue, 08 Aug 2023 16:05:30 -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 1qTSxM-0002cU-UU for emacs-orgmode@gnu.org; Tue, 08 Aug 2023 16:05:28 -0400 Received: from mail-yb1-xb29.google.com ([2607:f8b0:4864:20::b29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTSxK-0002iM-SP for emacs-orgmode@gnu.org; Tue, 08 Aug 2023 16:05:28 -0400 Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-d59da7115bdso1262766276.3 for ; Tue, 08 Aug 2023 13:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691525126; x=1692129926; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=OnWyNlmXltl/8jSfHBK8PFw1+Cbx+CI4S3fDHb3Uytg=; b=lX3/e2/XUocBoKTdKAoi2c8AMJBrUi8TETmRA6cXZsyqE9cEnBbX3zzoaWL/sNykGe QIA1Cein9cNqRIpxsIFkQ7eb+8gF0yscp4m9koe9Bwh12S9ai83ytHgwEEZ3g0EcXjdB ZFNySEORb5r8brkQyb795hHl723vTQAib6b+n4dVSAbTg8Ddjuomfs0IN/Gz7V25p2sY yvrkU/bdwJZfjpN8Uwg1shZk2L6RtQ11lMTytSOWSrZtKlxiaGzyY7VSFHxpR4vofWkh 3EK1anlioicQl6iT3JZhErvgOh670Scjjde+CD91WLIUppjTrhAaSqKkYPrcFPQvJd8g fWEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691525126; x=1692129926; 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=OnWyNlmXltl/8jSfHBK8PFw1+Cbx+CI4S3fDHb3Uytg=; b=HyQlcERxViXSZUtXXfr/sL9JhgsRc7x2hALs4qs5b4G9CpT18O+CAfVH2/ggHtoDry xqfNA9TQqckOO/1WL7QKVsD0+9vYFYaJ+xhqRwlxt8IRcoeUfojdS2W4572e1X3qhN0u YIpZZYfL0T2Rpf3PagB9aqBrG76LeeYG54uJs2gf0yw3HODUA6wkJwZY9Wr5BTWDnQZJ N18q9qFaO9IPJ0JUSf2ThfuZDbH3S9MAUnU89ngrHzvduWUTX8rHMBWle88SyksVqrj9 pt1Rpx3WnUnHIIMBgwIn2P5dk4QM/Yfwy3IAHekpCAhKcIaLlm7VilJYAwhvbUiryWOF adow== X-Gm-Message-State: AOJu0YyadyHfBysepDcBBZ+fvRtv+JMIXNKOacKsUuSQZjp7xDshNG3T 3CR3xqy56pEuacltQDwZJDBPmIxCMuTBEvrXMtU= X-Google-Smtp-Source: AGHT+IGuvG5bAbrrvVYIsELN8rH/FU+BR8ng1IoovF3k7ysHz06lr9HtCmJlONW49YBRiNWA9ZSIAiHHjNFm6IbyHuc= X-Received: by 2002:a25:41cf:0:b0:cfd:58aa:b36e with SMTP id o198-20020a2541cf000000b00cfd58aab36emr561479yba.9.1691525125690; Tue, 08 Aug 2023 13:05:25 -0700 (PDT) MIME-Version: 1.0 References: <87o7k48jcf.fsf@localhost> <87v8e8m0ao.fsf@localhost> <87tttkghou.fsf@localhost> <87wmyc1sud.fsf@localhost> <87r0ok1qx4.fsf@localhost> <87o7jo1q2s.fsf@localhost> <87pm43kz3i.fsf@localhost> <87bkfkiloj.fsf@localhost> <871qgdnwic.fsf@localhost> In-Reply-To: <871qgdnwic.fsf@localhost> From: Mehmet Tekman Date: Tue, 8 Aug 2023 22:04:48 +0200 Message-ID: Subject: Re: [ANN] lisp/ob-tangle-sync.el To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::b29; envelope-from=mtekman89@gmail.com; helo=mail-yb1-xb29.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.44 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: A57D434320 X-Spam-Score: -8.44 X-TUID: G0vnCHQxR0O5 Ihor Radchenko writes: > No. :result-params is not an actual header argument. It is > implementation detail - parsing :results header arg internally produces > (:results . "all the values concatenated") and _also_ (:result-params > "val 1" "val 2" ...). Hmm... what is the benefit if they encode the same information? (e.g. :tangle "one two \"three and four\"" vs :tangle-params "one" "two "three and four"). Edit: Oh, I see -- Org parses the action from the `:tangle-params' and Users can extend tangle as much as they want via `:tangle' > > Why can't we just go back to that? > > We can. I did not expect that we would need to go this far into the > rabbit hole. Although, I still think that unifying header argument > parsing is something worth doing, even if I need to implement it myself. Hah, me either. At the same time, it doesn't make sense to have `:tangle-sync' present in one release of Org-mode and then deprecated in the next (after your header rewrite). It would just confuse users. I'm happy to have another go at a unified header approach, I will just need to explore the code base a bit more.