From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wD6yOv96W2SXzwAASxT56A (envelope-from ) for ; Wed, 10 May 2023 13:07:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +OG4Ov96W2QFBQEA9RJhRA (envelope-from ) for ; Wed, 10 May 2023 13:07: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 969622CBEA for ; Wed, 10 May 2023 13:07:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwhef-0007fx-Kt; Wed, 10 May 2023 07:06:45 -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 1pwhed-0007fF-Nr for emacs-orgmode@gnu.org; Wed, 10 May 2023 07:06:43 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwheb-0007Fs-3E for emacs-orgmode@gnu.org; Wed, 10 May 2023 07:06:43 -0400 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-30796c0cbcaso3414894f8f.1 for ; Wed, 10 May 2023 04:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683716799; x=1686308799; h=content-transfer-encoding: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=U9Uv1UA44Rf1f8K11UBPoyfcIEH6WtNlOaGf2Oa82D0=; b=PvA1CXPOlR/JOxu4WLSbn6ns26UbvKOSOuCEc2BuiieD0uBanCf4P4u6QD+Q06OdS+ UH5UA/XzPOaJlk9RF6MuL1XVtvhuIgA3pVu8mbnorjbZtoadwxToMSSHiF2l3Qqea1l6 KPGZUYvmI2FriN/xPflo+5bugAf3G//drcexsdrS1lkx5jBLtxxFysTYMwdh5avwBe7j SFSiUET6PFKLanedso1joio7wo1m0mI1UOpK0lMXG/tDrRRTRcbp5RGJUXtUIkldaCSb wkgiWTC+FSF22XmGcvlsU+nRuMme7/jOfxv2YZ3cGfiL3du29A7SI6wmftwqATEcDcEM 3RPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683716799; x=1686308799; h=content-transfer-encoding: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=U9Uv1UA44Rf1f8K11UBPoyfcIEH6WtNlOaGf2Oa82D0=; b=Rd98vWNa+Frzq8C4U++RzJOAshpCqR+rZbijFfcuhS5ODavGUI273/3QM3PUJGfaF1 LrzuyQo5H05xPJumHX4+gTQTt2V+lOiId7ucwUHwyHPK3v8kgyBZrkQWa2kJULPn8wnf WBpcc/MxXKLqBKByvTyD+apfXW+2c7f++cEvmdW41PNMecQhaqQzMMNPDtskzjzhwd5k Aw/RlkC8kBI0zHLIa7mZxODhPzmPvbJIscHxm3jzk5p9Ha9+2Nx3yxJwRy4Rd2NF/g9V PdeMsx91K/iPJxmnLY6yr67Y64WpektebjEhjYR6cTGKXFrJAY/fgRobRTIOIliyI1YU G4ag== X-Gm-Message-State: AC+VfDz++T3BcB2Od4UNk73hzgIhAolciSRzsvzm4jKKvFiKShpesJDG ATw99ynQtaAk49XAsNrY/1HGyZV8qxY= X-Google-Smtp-Source: ACHHUZ4b9haSFGKVggeeK34XyvfKLzJc8iNqIhQoKNoMwPflalzH612U5yug4ofOAtUjEJzATyR1iA== X-Received: by 2002:a5d:42ca:0:b0:306:3b78:fe31 with SMTP id t10-20020a5d42ca000000b003063b78fe31mr10803249wrr.69.1683716798777; Wed, 10 May 2023 04:06:38 -0700 (PDT) Received: from hayvan (pharma2-70.w2k.pharmakol.uni-freiburg.de. [132.230.165.170]) by smtp.gmail.com with ESMTPSA id y15-20020adfe6cf000000b0030633152664sm17001605wrm.87.2023.05.10.04.06.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 May 2023 04:06:38 -0700 (PDT) From: mtekman89@gmail.com To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [ANN] lisp/ob-tangle-sync.el In-Reply-To: <874jokbjsk.fsf@localhost> (Ihor Radchenko's message of "Wed, 10 May 2023 09:46:51 +0000") References: <87r0rxabd4.fsf@localhost> <87sfcd78vw.fsf@gmail.com> <87r0rxv3t5.fsf@localhost> <87lei577g4.fsf@gmail.com> <87lei5v1fg.fsf@localhost> <87fs8duyae.fsf@localhost> <8735451u20.fsf@gmail.com> <874jokbjsk.fsf@localhost> Date: Wed, 10 May 2023 13:06:29 +0200 Message-ID: <87zg6ch2dm.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=mtekman89@gmail.com; helo=mail-wr1-x42d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683716863; a=rsa-sha256; cv=none; b=Gs0NQsY97ikLtKmx+9h9fGPxpr8gwweSElthQEgZ7vo4/XPSZevBSD/djgANTPNhHFqSu/ mz7KqgSB5nWpu5lG2LDvlWoLKEfJhsf1S8wDKjS6dg7as1oM3hhcxmQLBSs8PzjXxMtKCN OJdweCpG/qC9OJ1ymLO5AZHTTeTP6bMkeS6pExjMolRksvValHy9LSyMBHOpbGAgJJYfw9 SEdutpjaf79y3koINyNUUPLwRucwtzyhbmFyiWaxuS3jRCY384N1s9n2hIZ7KHBspT19A3 qjytG0TFAwzojviWGunBRPoIhietAwYixc7b6nTi0cuyKfckD5zvRa6tda5Kwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=PvA1CXPO; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683716863; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=U9Uv1UA44Rf1f8K11UBPoyfcIEH6WtNlOaGf2Oa82D0=; b=XC2fBJXWeByhYm1vycVArN8637mOezBHABK1BVhOqkwHsaea8ov/oHH7fVznsof6XhiMya Cz0wB7TLGh+xGyhFZzpcl/DHbq6Tk//oupCWjLBaM3lpv7crTKFE2DjbNvxitjVZ/7msQf uN6Mg3vGsQ+pwX1T2d4DYXQa8aytoZ6bc2URgtk5imnbsoP89cheanzmLAeRyja5K+8bcx 9YpAT6r9tF84kYUgrjagLq2DkLKk4oatieEp1N3EeFeOM8SUL7q5EOWWt9GGUGw5CevoYq 4KxBGEk4gFTI4ng3T3uhoBt77REmiV2WLy1VbpUqi6rpKTXTPIp0Vafj8Tl0vQ== X-Migadu-Spam-Score: -8.30 X-Spam-Score: -8.30 X-Migadu-Queue-Id: 969622CBEA X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=PvA1CXPO; dmarc=pass (policy=none) header.from=gmail.com; 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" X-TUID: ydwR8fXZLKa7 Ihor Radchenko writes: > 1. We will assume that :any can only occur one time in the exclusive > groups. (Otherwise, there is no single definite way to parse header > arguments) Makes sense (or we could revamp all header parsing into some kind of finite state machine=E2=80=A6 (I joke=E2=80=A6 for now=E2=80=A6)) > 2. Merge function will treat :any specially - when parameter does not > match any of the argument values from all the groups combined, it is > considered as :any and replace the previous corresponding values in > its exclusive group, if any;=20 This is something that I do in my `org-babel--handle-tangle-args', where the "filename" argument is the result of eliminating all other entries in the group. > In other words, we will need a special match for :any - "anything not > equal to other values in all the groups combined". Agreed, and I can try putting together something working in a day or two. Or, if this is something you can easily implement yourself, please do let me know. Best, Mehmet