From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IOkWOhwhZ2RYLAEASxT56A (envelope-from ) for ; Fri, 19 May 2023 09:11:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oIU3ORwhZ2QCUgEAG6o9tA (envelope-from ) for ; Fri, 19 May 2023 09:11:24 +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 8CDE2976F for ; Fri, 19 May 2023 09:11:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzuFm-0000T7-RP; Fri, 19 May 2023 03:10:18 -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 1pzuFk-0000Sn-R5 for emacs-orgmode@gnu.org; Fri, 19 May 2023 03:10:16 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pzuFj-0006MP-8u for emacs-orgmode@gnu.org; Fri, 19 May 2023 03:10:16 -0400 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-309438004a6so1747180f8f.2 for ; Fri, 19 May 2023 00:10:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684480213; x=1687072213; 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=VeUXMtymmCcdMg8sc8zfFsXfzDz00By9SHCbr6DCHFk=; b=aE1vaCpOu6v3ZMyQ/lc+zGQNvov5RAkVf3JTAIMIwOVA3G0kkpurdAk3/B0AqakNow zKJ0nw49bCn8sPfQTNvZYvqwfMh4J4wgzpw8X2zKUIzYX/ezic5keRF6UECI22BH/se/ KxnuJBL4eeaWrY472hxn+hDAvh52b11kGSR4G9z/httsEFHVZ5022gtTKCNHDAN6J/mN PNK6iffg3dpwIGk4iB4j1BWIViRDbbeVJz288OaFlMdeBuMSCltuEJ5mCtacOOpg6DgQ Qql96g1CSce24Yu6NN/knYs3bgmrS3MAkfYEZUq/PBoR6sHVSKYObydVRlA6x59aLBJT 80kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684480213; x=1687072213; 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=VeUXMtymmCcdMg8sc8zfFsXfzDz00By9SHCbr6DCHFk=; b=AYOTJwYfkGbKmZkG9dIJ6WrjAxRIaOnmDiIFGXwC1+NdxVzEfBXdDHwznUhf9Tb5RJ rT61fS+GOydrBnF34ePfJn+AI5ELeNnDSf1rGvnzJq61TAd5XbWXzv/xf7CoVmtdiJia LNX28eX2hBPbgC/wjgd2aIT2mIMEd2fDJan4eeFkj4UEyntC/oPNUDFx1xtL7rxiIF20 CSP7Ve7X03Vk/gQ1QzwERjr+QbxwA5M7Pctovtb1wLIN16uwcCy8ReJeZjmziHucZJiS zBrAJGVUn6RKqaIQ9mdNPVihyq8fP76KjafVkgrEFatHReWb3jowxb7LPYaWIZgaKOPk tQJg== X-Gm-Message-State: AC+VfDwPyYBrzYdoblXJG4aTzQCMO5g7Ze0hclONNmrmllL8Gns2oz1y OXxBl6L1Y6BuJR/thN3oJ/eQlS7/Vl4= X-Google-Smtp-Source: ACHHUZ7sghb3cDz57ebaD+TCwGwJvfZtNqY5ob4ZkE58GcHxhQOglfueWKHdxVXeArQj+y0CNkEe6Q== X-Received: by 2002:adf:e4ce:0:b0:2cd:bc79:5432 with SMTP id v14-20020adfe4ce000000b002cdbc795432mr1125837wrm.25.1684480212704; Fri, 19 May 2023 00:10:12 -0700 (PDT) Received: from hayvan (pharma2-70.w2k.pharmakol.uni-freiburg.de. [132.230.165.170]) by smtp.gmail.com with ESMTPSA id v8-20020a1cf708000000b003f42d3111b8sm1409219wmh.30.2023.05.19.00.10.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 00:10:11 -0700 (PDT) From: Mehmet Tekman To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [ANN] lisp/ob-tangle-sync.el In-Reply-To: <87jzx6ylrm.fsf@localhost> (Ihor Radchenko's message of "Thu, 18 May 2023 10:30:37 +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> <87zg6ch2dm.fsf@gmail.com> <87sfc4a0ce.fsf@localhost> <87r0ro9mzc.fsf@gmail.com> <87zg69zq49.fsf@localhost> <87r0rg1lwe.fsf@gmail.com> <87leho3y0n.fsf@localhost> <87a5y3vzpe.fsf@gmail.com> <87jzx6ylrm.fsf@localhost> Date: Fri, 19 May 2023 09:10:05 +0200 Message-ID: <87ttw8kd9u.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=mtekman89@gmail.com; helo=mail-wr1-x431.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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684480284; a=rsa-sha256; cv=none; b=E4kmD0CN4yzwORvTTiiBGdrOF782vSl9B4ZYKV4yIAkpjKSTCna2+RrHnpAUm5BWhJ/Cib b5vTF/EzyJZC7Y02V09Wn+fnMQ9PH74+1+9O1nxirO8S0xHTRIEufVsgGtfxeH2UwpNR1n Br86NKNg1PayMKXlv68yBg2LWMIOTVHNRiJXAveA9oqrBNY/EBPn6Sn4nnjutkhHQKGB0U QML+vFCrkx9+eWDK36knV9LOVA9sbO7OBiAgk7bPH58MIFCa1PcKITELVqmBJJhoR4nrJx +pGq+uNr24Z0Yv8MMyk21FZAEWpXxQ5xGxq/Qr5zIfl4Q1nmvwV5V3FEyqoGjQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=aE1vaCpO; 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=1684480284; 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=VeUXMtymmCcdMg8sc8zfFsXfzDz00By9SHCbr6DCHFk=; b=HBD3DLCWbsrNEwNnX5ChAIBvYJS/QKrrZXpgM5zmozZySoVqTQDiKK9ZXWYZL5OLsNmKTW zbFQ2qb89VpikBU/9nqdmFHXwtwInoYiCv5OHVsTQZAKReYPvZUyf5QVZp88M4iStwaSXI B8BQ3cbOfSTVRSXd/HSuNKl3qH4TQriMAwC6d7NNLzCcLh4+bb45enoEo49DvLov/IXH9R V0/j6cEbszMH8r6e2DziRG5A6nNvxwv8pGajM1cJRl92+G+FlaKceeUxjFGbiqL/CcEbLB 0jjsqC6YrFK6wivGcD8U7A51iWORwHmr5QBiM+itpqE2/P/1IUJD9aQrNj5K/w== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=aE1vaCpO; 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-Migadu-Spam-Score: -4.86 X-Spam-Score: -4.86 X-Migadu-Queue-Id: 8CDE2976F X-TUID: CfPCFilnGA3B Ah, running `org-lint' and correcting the header line as well as adding languages to the other blocks fixed the mistakes - thanks for this, I thought I was losing my mind. Ihor Radchenko writes: > The expected result is (:tangle . "yes") for the first block and > (:tangle . "file with spaces.txt") for the second block. I also think I did not realise what "yes" did until now. I assumed it defaulted to the last given filename in the hierarchy, but after reading the manual I see that it just sets it to the name of the org file. > Is the patch testing your code? > > (Note on the ert tests: we generally prefer `org-test-with-temp-text' - > the old approach with test IDs is not very readable because one needs to > search those IDs manually when debugging test failures.) > It is, but please ignore it for now. I will rewrite to to conform to the `org-test-with-temp-text' examples. Best, Mehmet