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 UO5TLItI02RhlwAASxT56A (envelope-from ) for ; Wed, 09 Aug 2023 10:04:27 +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 kMVlK4tI02TpcwAAG6o9tA (envelope-from ) for ; Wed, 09 Aug 2023 10:04:27 +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 633DA3DADB for ; Wed, 9 Aug 2023 10:04:27 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=B7eFL1Zc; 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=1691568267; a=rsa-sha256; cv=none; b=rDOzcog4mH2/G0iqCuNezl6w1wPEq1HmKFZURXyGIJNGlFP5HlWNqlg2nfpyp8nirtAhbS 7K8Jvz5MsjanI+0UJW2n1kdH780XJosNezo1DlSYNU923B+FkEmgZRbB2EpYcflBVbE5am 6YVkFIez5tAQy+Cz3Vh9Zzinpk7S6XlFUeORkiBqQU4bmWBHoqYU22tZyWoN2jcnEJBqI8 y2r4PfSRNYtlA06jjwizSOX+graBATMkuOzMd6XwThmkRJI0QhEar6nkrL5KP7EXW9AgXe KXPEOKz6ttSjDlL9BIZRSYHkuojxMkh4PQiGoH2LjxnCVuX0zNthjD9+zxdqLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691568267; 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=6bhC4R8x+HAVvloB68rO57cTv6lb8M+EkTYZnfOi3UI=; b=GwiIovr2dRDQx7y3q0Vouot4q7LgJeFy/HQSvfjG8jtraBFOSLP6F9z3bV6jIENwdWRzYi JF+Hfr4xkHlfWFqFeLlYz1laYQdXmic/YEXqssDewVCuDjwvXB9oIntq2e95JvW2KkTvli Q50y+7ntLfmKjw/PjNz1I+hdzzwGU0+pSyJ1HQ0TZfHVlkfrS75mDIr01iJp4M0vJ/ZOIo VK7Z9jmz91pC/nQMhfSG6BAvFfM5QUoiDU/boaUlM2TG0f4GpG1OBl+9B0wv7mJ/AUMYDM oyEZhngWQ26ERQRzyHzfiDsYSBbyDvlvI7snCWJZkTtGW9Sc0uCd3WnrlBf0Lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=B7eFL1Zc; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTeAn-0005eM-BN; Wed, 09 Aug 2023 04:04:05 -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 1qTeAk-0005e0-Sz for emacs-orgmode@gnu.org; Wed, 09 Aug 2023 04:04:02 -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 1qTeAi-0004Uc-2l for emacs-orgmode@gnu.org; Wed, 09 Aug 2023 04:04:01 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 340D0240028 for ; Wed, 9 Aug 2023 10:03:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1691568238; bh=yBOgMolQEAz12Nf5kZgJFrJ2vVHzvDZJ8xBNRV7CBeQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=B7eFL1ZcpjQMCCQz6XqzqpsLi1sIvO1LkecluahR7lYq4tE3YL0rYa+vk3H8VFjU3 c9gCb6/mucWPaiaoSGYpk9vwSwFvRNtZow3V2P5UVNOHfpeIedicuua6zx9ZMVmS16 Fh303TLfimM8iBsr080p5aCUmcLAUSCE6hFoLeQ4FNxYsPkbzv9KUb03S1TtPlbksU +2CVG2DEWX8R7C4UC24SvzffJwO0rf07unvWGBgOD4XMA2SnNbI4bpuwEKkVnLXHkh NzCWzyAtaT17+eqlbl88pEUislgQXxiqcsDS2q02PlXoONtRynGOZ7TO0I4i3YTe5L BrdCw5OtvQKfw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RLMyP2tK8z6tw1; Wed, 9 Aug 2023 10:03:57 +0200 (CEST) From: Ihor Radchenko To: Mehmet Tekman Cc: emacs-orgmode@gnu.org Subject: Re: [ANN] lisp/ob-tangle-sync.el In-Reply-To: References: <87v8e8m0ao.fsf@localhost> <87tttkghou.fsf@localhost> <87wmyc1sud.fsf@localhost> <87r0ok1qx4.fsf@localhost> <87o7jo1q2s.fsf@localhost> <87pm43kz3i.fsf@localhost> <87bkfkiloj.fsf@localhost> <871qgdnwic.fsf@localhost> Date: Wed, 09 Aug 2023 08:04:26 +0000 Message-ID: <87il9oej5h.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_H5=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-Spam-Score: -7.51 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 633DA3DADB X-Spam-Score: -7.51 X-TUID: 02zC3GZJOE1f Mehmet Tekman writes: > 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' No, not really. The main purpose is to avoid calling `split-string' every time we need to check :results settings. >> > 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. Thanks! Feel free to ask anything. Babel code is not always easy to read. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at