From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EDX7N1aNlmGe5gAAgWs5BA (envelope-from ) for ; Thu, 18 Nov 2021 18:28:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mAW2M1aNlmHVSwAA1q6Kng (envelope-from ) for ; Thu, 18 Nov 2021 17:28:54 +0000 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 7210A2598A for ; Thu, 18 Nov 2021 18:28:54 +0100 (CET) Received: from localhost ([::1]:49936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnlDQ-00057s-Nf for larch@yhetil.org; Thu, 18 Nov 2021 12:28:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnlCg-00056x-O9 for emacs-orgmode@gnu.org; Thu, 18 Nov 2021 12:28:06 -0500 Received: from [2607:f8b0:4864:20::531] (port=43765 helo=mail-pg1-x531.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnlCf-0007Zg-D6 for emacs-orgmode@gnu.org; Thu, 18 Nov 2021 12:28:06 -0500 Received: by mail-pg1-x531.google.com with SMTP id b4so5978143pgh.10 for ; Thu, 18 Nov 2021 09:28:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:references:user-agent:in-reply-to:message-id :mime-version; bh=e+SLvbP7VYMtjAmjsO3g+5ncShd2kM5HzoxUb45wBZM=; b=HVAdFcW8zOS+rUG3+Fz4CAJtVG4jGGYf5+d015u119zt80gLDzLEe8I7tsOHwSCDiQ ht0GPleCnYh8qjT1PpcIGXzNbPCH/U9DIO62bEF97t3w/1yEb6wilcP696g+mq6ox70Y jZMRpW10V7zsItby+vdZXfNjlROFz97VFGqAbRTDuecEbh+AZlzYpvEN2h+/BM1IEY4f LSjuEzDby6nrrsMa64acEFRHrbwBMxPeUuICvDmEapnpZnx0mu5+igAcPlMUQzuiRa7C yjYnES2b6+Uxk5Ha9eKyQ4VuHwJq/phg/5b7Ag4DLXrC+sFStSZz+IGraAwjjOjJN0Xk Dsog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=e+SLvbP7VYMtjAmjsO3g+5ncShd2kM5HzoxUb45wBZM=; b=C8/lJedV/KFceP4WNYXNbiOO82JRUfDeFtKcqZDsXcmIf4mu2t33faJvFGu3RmZNKB dvxKT43KCtLjFoCXOJIco2xh5SaooNQoi8cMRvC5ZAT5jUcAo8Dny/KeG6VYiSa46y9s +UWmY6Jg2oKQPm255K/LnWHjoTKjsG/PpPBsAbdhAXKR4WozCOI8LIrCAIX5nMz5++Bk 5msw1ccBNen8u0CqtT+CGb+K8L0Lx2YBJaywqvayVetO+SH0E+vXYM3C+E8C0pzfajo9 hif/kr7THQxiQiXKNqdm7GgxDaLCT8ZUv7raI7Af3xjkqb+fLAizVd25Zd46yIUKwESC KNzA== X-Gm-Message-State: AOAM530xrac3zoVorWt+86MmlLGDWyZ3YDdQYlSgtFaaZPVboAy7z62f dS7tROQqLm5m4P52vi8nPeu3kUQpwKg= X-Google-Smtp-Source: ABdhPJy0li7JQXCLSiiJiy+CLLLUIXG4mx8Vz26ioCoklQFCzn0mDcJqZOjLHfEthVuDwy3OAQVScg== X-Received: by 2002:aa7:9586:0:b0:4a2:78b4:a402 with SMTP id z6-20020aa79586000000b004a278b4a402mr46627755pfj.21.1637256483800; Thu, 18 Nov 2021 09:28:03 -0800 (PST) Received: from localhost (61-245-128-160.3df580.per.nbn.aussiebb.net. [61.245.128.160]) by smtp.gmail.com with ESMTPSA id b15sm217157pfl.118.2021.11.18.09.28.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Nov 2021 09:28:03 -0800 (PST) From: Timothy To: Org Mode List Subject: Re: [PATCH] Accept more :tangle-mode specification forms Date: Fri, 19 Nov 2021 01:22:14 +0800 References: <875yuh9b3t.fsf@gmail.com> <87czojh6m4.fsf@gmail.com> <8735ntg3ve.fsf@gmail.com> User-agent: mu4e 1.6.9; emacs 28.0.50 In-reply-to: <8735ntg3ve.fsf@gmail.com> Message-ID: <87mtm1e5lt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::531 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::531; envelope-from=tecosaur@gmail.com; helo=mail-pg1-x531.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637256534; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=e+SLvbP7VYMtjAmjsO3g+5ncShd2kM5HzoxUb45wBZM=; b=VJWwqFWypryoxi5frNglCD1WxmxD+pIxxIsMhUYsrGKfZxBw/+g36nUtAq4xOumv+FSUNB p2HqhXaDR8677mvKalOqIvucWwiCoDfHRJufY6X3xTqIcgJDUtGmJrplgeh89WIyE+6/kG ca38tFJjqMEGR/uV9pvl91xaTPSxcWUCS0EZKf8o+u+YDcforslDT01Ot6lcLLJIX4evkI BUMOY70Gx3glPNSOnzsH5hm2uNt4FwxfHVXbDixOfhlfLHOVU24atIfIq5LjSuMxdVL0lf COik0YwDN23Swii/u6iZHX26waCZPB4K1WiEdg9ZxpT8MMKzPIqg+QecmRCMjQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637256534; a=rsa-sha256; cv=none; b=JfN+CIGqBmyBaTkunWhcOmr1ukpNVrWLJRMGeedYG7TcQhBM1sh5gZb3wbAW7VLkyboUYv eLlWgy91VnkFYtxFQ3fOL/6UdVouL/g4Zk+3+sQrKY6R3g96807HuK0yGTnn2LmTnt6K3E i/DZfSOdRrtgBS0t6A5n+eCez0xo8Mlfn93vk6oBCGSTugxBtcLawudFFM/QCkBmHLZOCA ytXs+PeEyZPjTrKQ1sT/qI91+xd/16SRUToGFcVrf6pgyp6w1nB3Amw/OZURJvMPPWIjMz AgsRhzXFLAaMffr+4Bwn++erUXgYf/XZKV6SiRA72cECunO35tA3/g1Tqy5kvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HVAdFcW8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HVAdFcW8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 7210A2598A X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: nbQc8GZYgeRz --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi All, I thought I=E2=80=99d checked for this, but I=E2=80=99ve just noticed that = :tangle-mode 755 doesn=E2=80=99t actually work as expected. I assumed 755 would be passed as= a string but org-babel-parse-header-arguments actually turns it into an integer, just li= ke (identity #o755). Obviously 755 !=3D #o755 and so this causes issues. As it stands =E2=80=9C755=E2=80=9D works, but that isn=E2=80=99t great (mos= t importantly, it=E2=80=99s easy to confuse). Since it=E2=80=99s easier to add than remove things like this, we= could just get rid of this for now, but a convenient octal notation was a large chunk = of the motivation here IIRC. We could also change the implementation to handle :tangle-mode o755, which = will make org-babel-parse-header-arguments parse the argument as a string. I=E2=80=99m be keen to hear other people=E2=80=99s thoughts on this. All the best, Timothy --=-=-=--