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 uaoXFVJsVGE+hAAAgWs5BA (envelope-from ) for ; Wed, 29 Sep 2021 15:38:26 +0200 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 yPYmEFJsVGHwIQAA1q6Kng (envelope-from ) for ; Wed, 29 Sep 2021 13:38:26 +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 B1FB827954 for ; Wed, 29 Sep 2021 15:38:25 +0200 (CEST) Received: from localhost ([::1]:47592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVZmy-00068R-R4 for larch@yhetil.org; Wed, 29 Sep 2021 09:38:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVZTD-00007c-RA for emacs-orgmode@gnu.org; Wed, 29 Sep 2021 09:17:59 -0400 Received: from secure.cowgar.com ([209.160.64.5]:51580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVZTB-00053G-9l for emacs-orgmode@gnu.org; Wed, 29 Sep 2021 09:17:59 -0400 Received: from www-data by secure.cowgar.com with local (Exim 4.89) (envelope-from ) id 1mVZT8-0003Am-7r for emacs-orgmode@gnu.org; Wed, 29 Sep 2021 09:17:54 -0400 To: emacs-orgmode@gnu.org Subject: Re: [PATCH] Treat :tangle-mode as an octal value not integer X-PHP-Originating-Script: 501:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 29 Sep 2021 09:17:54 -0400 From: Jeremy Cowgar In-Reply-To: <20210929110749.GA15513@tuxteam.de> References: <20210928145448.245883-1-jeremy@cowgar.com> <20210929063925.GA6367@tuxteam.de> <7e1c208b9fa8845adff5e3c45d6f086b@cowgar.com> <8735pnyfvd.fsf@esthar.i-did-not-set--mail-host-address--so-tickle-me> <20210929082223.GE6367@tuxteam.de> <875f2e60-c36f-091e-043c-ae7a80656507@gmail.com> <20210929110749.GA15513@tuxteam.de> Message-ID: <90475ce545a6e10c1e2b27a3f7f537b7@cowgar.com> X-Sender: jeremy@cowgar.com User-Agent: Roundcube Webmail/1.0.3 Received-SPF: none client-ip=209.160.64.5; envelope-from=www-data@secure.cowgar.com; helo=secure.cowgar.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, SPF_HELO_NONE=0.001, SPF_NONE=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=1632922705; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=BNWGxlKzEUqBaubkGGzTSXUdt5MRHkLgwhznNc1vheM=; b=d/dXl4TXZCl9fBWa1tf5UeSmNn2TPRPqWEQKpsVaVgCFeqSmGk7nqazLw7BYQ5SNr5ZS+6 FNl/Y9cfjGIFel2C7dElsiDJ7jzdvgvnFoOVC4PxLcMyPJ+Qbm+judX+yPfU/Z6XBV26K1 ccE8IQl3RyYwUBf4BK9FoquGRLCa1414kjE1iXYi+Jwmt5JSCYUMmAaTUMgFg6T8mmyHta zqIrkZU1UtWFVmrEqBE2LplSefSyCE9IvUlhmtjSxO+9p/RGjS9yNA+FJxD1Hmu7Pv6Lfi cpu8dmUoOzR23yEk84DoZOps/l+OCWClk4sLFPFH4zwaX3gaB+Ax/q1ivsbXpw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632922705; a=rsa-sha256; cv=none; b=ZBfvGZ3nV/5F6FCV2sSYllmWSNPl4t2xlmgGg0yac6QoQ9qUjerLIytcE01/i5z3ze+fno ocjp/zhLBw/5fxAZCTUEq0gHzOhFbAtgb5sB47boGg5tTLTiffn+PYP8qfR/lLGW9JV0h7 F8ziTvpfrzKyC1BnkRlCw0n0Jv4YTS8RUtilaV426C2cS4DUsFQtOqBo4O+fTt+9vrSLXp BFlzCYJ4fgu6xAVBM8Y1I3eh4Tw3+qc72oKAyFuUDBTZBqYO+D8APZXMnqYp35fg0cq+RL EBxWePIz4K86eG2BIeO7esPIWOKrd7jYrYCS8IRUJ07vlUZMoe0wOnvKm1kkpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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.40 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: B1FB827954 X-Spam-Score: -2.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: pkEDT05gxJTq On 2021-09-29 07:07, tomas@tuxteam.de wrote: > On Wed, Sep 29, 2021 at 11:29:06AM +0200, Gyro Funch wrote: > > [...] > >> I don't know if it would ever be ambiguous, but could :tangle-mode >> have the ability to infer if it were integer- or octal-format based >> on checking against 'reasonable' permission settings in octal >> notation? > > To me, that sounds rather scary. But I'm a timid person :-) > To keep things from breaking, what if the system were smart and if it sees #o prefix, it then parses as an octal, otherwise it keeps it's current behavior? Then add that to the docs. I understand about backwards compatibility and that was my greatest fear with this patch when creating it. Was just using org-babel-tangle for configuration files and had some that I wanted to make 0700 and 0600. I soon learned, that didn't work out as planned :-) - Jeremy