emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Treat :tangle-mode as an octal value not integer


From: Jeremy Cowgar
Subject: Re: [PATCH] Treat :tangle-mode as an octal value not integer
Date: Wed, 29 Sep 2021 09:17:54 -0400
User-agent: Roundcube Webmail/1.0.3

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]