From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mAsbI+oQd2XlrQAAkFu2QA (envelope-from ) for ; Mon, 11 Dec 2023 14:38:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id QPA4HuoQd2UYNgEA62LTzQ (envelope-from ) for ; Mon, 11 Dec 2023 14:38:50 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iAb1Io90; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702301930; 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=Kx34Q37hTysXag2Km8rgjWEEbw68H1Oxp9ZvovNV1HQ=; b=oNzsj5Z5srfjyV8irdnu+UTxxNu7HVk/5h3YahKv7ALjZSPvRwGRh8sX2icd0i9ODzFShZ IAzhi4GQgp81ykAeLmksQJnCPKJ/Gu5Wsvm/g5ITR1FL3OqNSkTne8mgi1GjOk1ZyI/+/P oz6/q05weC/9FXCeH6nrpSTxYhVuPT9W94WAPp7KWJxk4hsEq7AvNoHO3n+0vF1xx9p9eo Xgbkfwy5joB/KBvP1fj1KnyPOXjA5zeIlXgVMgLhIHGYUhadP5H+OxhWCwA2V12TRDCqUj LVhJgsemQVnv+3u5i/t3felYIKl/Idx/Z+MBduvVPOzooELPKArqwawo7OYQIw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702301930; a=rsa-sha256; cv=none; b=Ix/dEMuigAOYDqxNqO/ZzctZhOj8noUhNUnEg+HtjzMO4nwj9gxAfdKxu+dbYTkkhTxdGZ moyaCiMqcYvWuXzhmlarldhMqGswcmU7UM8tYJlNXAK9/8oq4f14UDJ0E9foNjbTW1eAQi NEbLH42+0/37VuNnn6PxWHx5EC1eJDUV5U+x84UfnAxbC0bfqCHpCWZcCfGt3sSQ7uO3UP 1K0zTUQ6gGnsYFJGJp7Bllits85K8EWf5llPKWlYvaJonbTXCeHkPvR22fiU9HYVZHRmbf 7nRXLCwqmyh60wvsbLhTtUXDpr5q7+Sj2FQfv82K2CMrmqGyBY1kqr5pe9eO5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iAb1Io90; 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 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 BBAD43EB05 for ; Mon, 11 Dec 2023 14:38:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCgTl-0003Wl-P6; Mon, 11 Dec 2023 08:37:49 -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 1rCgTk-0003WX-EA for emacs-orgmode@gnu.org; Mon, 11 Dec 2023 08:37:48 -0500 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 1rCgTh-0003Mn-Vu for emacs-orgmode@gnu.org; Mon, 11 Dec 2023 08:37:48 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 93CC7240028 for ; Mon, 11 Dec 2023 14:37:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1702301863; bh=8kFMKvn7Qqkwx1mD70nbPY6FMyq3XlhyO0s9a0Mq2sg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=iAb1Io90FQi9OJ1/iU680xPTD0qWsZh5MHiMrcAwbOUk3wpMaWQ1Id3MArqJQ2srq CmT9FFKJrm3/K6m0qZ06VqrQ80QhxIFvvU5J3f0XCuUKR0XcXhctXZWRoZEq2dAn4C KxROXS/8RjCQhompqAF2fuVxQX/MuzFX6NxohDmCtYYNNNhPL8k/szgaVwzMAvBmur JzhC90sZ9+JV04Tw6Wnxe+ZM/tNNKldUbnl+w4LJq8FiqrBw+h3T+jouiTUJwbL6Zw 4wEapuPOVGsTgUHZcCoxbTQy1epRj2PDc9p1cogUJvbIhIWECmvlaGVzXeeu0dYaFM PMv7ZJhqxtjEg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SpjVH1fnDz6ty4; Mon, 11 Dec 2023 14:37:43 +0100 (CET) From: Ihor Radchenko To: Mehmet Tekman Cc: emacs-orgmode@gnu.org Subject: Re: [ANN] lisp/ob-tangle-sync.el In-Reply-To: <87leb60w98.fsf@gmail.com> References: <87o7k48jcf.fsf@localhost> <87v8e8m0ao.fsf@localhost> <87tttkghou.fsf@localhost> <87wmyc1sud.fsf@localhost> <87r0ok1qx4.fsf@localhost> <87o7jo1q2s.fsf@localhost> <87pm43kz3i.fsf@localhost> <87o7jlzxgn.fsf@localhost> <87fs1e0wue.fsf@localhost> <87leb60w98.fsf@gmail.com> Date: Mon, 11 Dec 2023 13:40:50 +0000 Message-ID: <87a5qg97rx.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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, 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: -2.31 X-Spam-Score: -2.31 X-Migadu-Queue-Id: BBAD43EB05 X-Migadu-Scanner: mx11.migadu.com X-TUID: PGgWvYPS/vuk Sorry for the late reply. Just got around to process your email. Mehmet Tekman writes: > I made some small edits a few months ago, to reform the header arguments > so that tangle actions would be encoded in the `:tangle-params' header > and would largely leave the `:tangle' header alone=E2=80=A6 but when I te= sted > it, it was failing all tests for reasons I wasn't to sure about. Do you mean that tests are not running at all? If yes, it is likely because of > +(defun org-babel--tangle-split (raw-tangle) > + "Split a :tangle headerby filename and sync action." > ... > + ;; Otherwise set the default action and assume that the full > + ;; string has no action > + (if (or file action) > + (setq action "export" > + file (read-char raw-tangle)))) ^^^^^^^^^ this `read-char' tries to read a character input from keyboard. That's why you get tests not running. Maybe just (setq action "export" file raw-tangle= )? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at