From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gJcvDgRuXGEXVgAAgWs5BA (envelope-from ) for ; Tue, 05 Oct 2021 17:23:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GPvYCQRuXGH+aAAAbx9fmQ (envelope-from ) for ; Tue, 05 Oct 2021 15:23:48 +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 CC90B22AAE for ; Tue, 5 Oct 2021 17:23:47 +0200 (CEST) Received: from localhost ([::1]:37832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXmID-0005I7-3z for larch@yhetil.org; Tue, 05 Oct 2021 11:23:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXliF-0002w7-EG for emacs-orgmode@gnu.org; Tue, 05 Oct 2021 10:46:35 -0400 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]:53837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXliE-0005iK-1E for emacs-orgmode@gnu.org; Tue, 05 Oct 2021 10:46:35 -0400 Received: by mail-pj1-x102d.google.com with SMTP id ls18so4192216pjb.3 for ; Tue, 05 Oct 2021 07:46:32 -0700 (PDT) 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=BqlVH4t4DDOxoaN0SaE4z29tpotOqwlkKyjWAPcnJ6c=; b=TtFBvAQiV0ZpCVYF1chfXv1pP6XEItFbRyXwQ5XDCTPp0mzBNT9qm1IHovtGgCOskU geS5iNIs/U69WdE847oHxoX6lVlGAkcG0PBKdt7cNkstRDyKNoW7Spylqyi7Nn3nTHV9 7TCHIL5wJw3/lBvhwekh/s56jNZV4ESsVS36NBtHLD3NSmV7kND2+ws0/LCcC7xtwxy5 spi2EiWTDCANEVqhr0jrWSxMlxk4O7iNMvHoh27I9SjEToEi0Llaf+ZdATC1xUfphNcJ 5MEij41lhUdcRFRyHiQKWdMOCkzLN8AjkGmTCNEk09JXhDGdtib3BRTQDT7h+ULRRqwg nV7g== 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=BqlVH4t4DDOxoaN0SaE4z29tpotOqwlkKyjWAPcnJ6c=; b=vHbLswP4pv7D22MuH6yTuXTz9KVC9KX79F89gmUTMGSEg2DD8RYrV0GCiGYbi79rBT 01LNQ/Tu3N0kJkV2qCuwDZNoJnYpJq/bmjdtHDUp+oS3XUba8vwnwG2PS6yc3c+E2DCi dMNf2QLjn9VsPayPNorixfHvV63Jaqh3CbwhhHruyMuMk7holTneOShZv6EhECMzI+zM VirmxAZ+nznydlnarMExzphreA2owPxRMB8xbNf1IqcjSJ0FfM1Otup20x0Qi2LAr3sH x7jlN2Hl0qXFluBSQz8Wjr6cKct5qYAwIxuIdr9fDMGcq/Q0KXmGpy7vv1THwNxQxdpz gHIQ== X-Gm-Message-State: AOAM533XlAYwRrREzNkkI7B9hYUiog44y8gdW8/b6QS4K7mA+f97Ih0p V9Hr+ZHhEoxQ+A0bWGwgvJXVh1cfaIY= X-Google-Smtp-Source: ABdhPJxaOGPhQRWztQHa3wfCKHObXvuHG2jCiSWRSFJ/uF7FYtq88eLh4JTln1HJq5Q0N2tqGMX9IA== X-Received: by 2002:a17:902:934c:b0:13d:c685:229b with SMTP id g12-20020a170902934c00b0013dc685229bmr5601198plp.25.1633445191131; Tue, 05 Oct 2021 07:46:31 -0700 (PDT) Received: from localhost (61-245-128-160.3df580.per.nbn.aussiebb.net. [61.245.128.160]) by smtp.gmail.com with ESMTPSA id m7sm17462735pgn.32.2021.10.05.07.46.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 07:46:30 -0700 (PDT) From: Timothy To: Org Mode List Subject: Re: [PATCH] Accept more :tangle-mode specification forms Date: Tue, 05 Oct 2021 22:45:59 +0800 References: <875yuh9b3t.fsf@gmail.com> User-agent: mu4e 1.6.5; emacs 28.0.50 In-reply-to: <875yuh9b3t.fsf@gmail.com> Message-ID: <87czojh6m4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::102d; envelope-from=tecosaur@gmail.com; helo=mail-pj1-x102d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 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=1633447427; 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=BqlVH4t4DDOxoaN0SaE4z29tpotOqwlkKyjWAPcnJ6c=; b=d4GrougZa+CTzmEz2ZRb/ROSuJb4g7vwZnVCEf2PnW1s23WrFSPyEFO4rH8/0HCr6R0CBn RoFdZLMdJPdRvzm9K0W3aiWX17dW5ymxdKnxKlLUXNBPefKHQD5f04ZUwlbTE+BA0S1IQX Pk0hUBqfRVw97Qo/t1440ZZ4PAEjY6yS1VcECHCOHFJXwYpeIzVyanNeeH96K1sFw6yi2j OpiTuu910a1m9rSCXA1xiHhc5sMZKdYDnNuvtFObXRVV32dldoZmENegPwuTosAJXIY7tK ZRl3RecfySkkqYWRSsppNtgEtKTsg5aFgn80R6YtthrRUkMnIohzkBXjZeGVrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633447427; a=rsa-sha256; cv=none; b=PhARfP8mgUz6hGnvs2MFhU1xTSCa1gsWR3BsfzWsSatbTj2Flg1NJyZEOqv2HCKBWrU3AJ LxETMP5aY6OtNnJfZMxoHOtmgzHK3wWFrz74v38vTax56hn2ry0Yj9TYI2BR34w8I7A7UO s/j+FIgIolngPDUOAUa7qrvZbO0+IXfn0BZhTBrk2iQoKkv0C2VwI1bwa+ag1HGMaZ3liF KF9tElVUEl9Dz/ndEkgfnMO1GH4nIDK2lNCLG2L8Jph2OHQQ3VmL31mBLXZY6oXQiN6JP+ QbAS0IpXEp8Pu7hA90wZE7M97cs1N/Umdf/OsbpD1pyaFwmAwzaPIsTdKywJWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TtFBvAQi; 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: -2.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TtFBvAQi; 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: CC90B22AAE X-Spam-Score: -2.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: SuttzDIO/yyB --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Everyone, It feels like we=E2=80=99re near a patch that would be good to merge. I wou= ld very much like to get feedback on what I proposed in my reply to Tom though (see belo= w). >> That said, reducing the number of forms as Eric suggests would >> be a happy medium. > > Indeed, I=E2=80=99ve basically supported every form I could think of. I= =E2=80=99m currently > inclined to cut it down to: > =E2=80=A2 755 > =E2=80=A2 =E2=80=9Crwxrw-r=E2=80=93=E2=80=9D (`ls -l=E2=80=99 style) > =E2=80=A2 chmod style with `org-babel-tangle-default-mode=E2=80=99 and `f= ile-modes-symbolic-to-number=E2=80=99 > > Maybe with (if anybody says they would like this) > =E2=80=A2 #o755 (elisp octal) > =E2=80=A2 0755 (C octal) > =E2=80=A2 =E2=80=9Crwx=E2=80=9D =3D user perm, bit-or=E2=80=99d with `org= -babel-tangle-default-mode=E2=80=99 for the rest > (i.e. `org-babel-tangle-default-mode=E2=80=99, but not exceeding the us= er perm) All the best, Timothy --=-=-=--