From: Gyro Funch <gyromagnetic@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Treat :tangle-mode as an octal value not integer
Date: Wed, 29 Sep 2021 11:29:06 +0200 [thread overview]
Message-ID: <875f2e60-c36f-091e-043c-ae7a80656507@gmail.com> (raw)
In-Reply-To: <20210929082223.GE6367@tuxteam.de>
On 2021-09-29 10:22 AM, tomas@tuxteam.de wrote:
> On Wed, Sep 29, 2021 at 09:52:23AM +0200, dkrm wrote:
>>
>> Jeremy Cowgar <jeremy@cowgar.com> writes:
>
> [...]
>
>>> Are you suggesting this currently works or that the patch should be
>>> changed to make that work? A quick try on my local system (pre-patch),
>>> I receive the error:
>>>
>>> Wrong type argument: fixnump, "#o660"
>>
>> You have to use the `identity` function for it to works: :tangle-mode (identity #o660)
>
> Not the original poster, but I'd understand if they think
> this is "too roundabout" to just express a file mode.
>
> I think #o would have been acceptable, but changing that
> now might break a lot of stuff out there (every param
> beginning with `#o'?
>
> OTOH, adding special rules for params seems at least as
> dangerous.
>
> Are there better ideas?
>
> Cheers
> - t
>
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?
Kind regards,
gyro
next prev parent reply other threads:[~2021-09-29 9:38 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-28 14:54 [PATCH] Treat :tangle-mode as an octal value not integer Jeremy Cowgar
2021-09-29 6:39 ` tomas
2021-09-29 6:55 ` Jeremy Cowgar
2021-09-29 7:21 ` tomas
2021-09-29 7:52 ` dkrm
2021-09-29 8:22 ` tomas
2021-09-29 9:29 ` Gyro Funch [this message]
2021-09-29 11:07 ` tomas
2021-09-29 13:17 ` Jeremy Cowgar
2021-09-29 13:55 ` tomas
2021-09-29 7:10 ` Greg Minshall
2021-09-29 11:35 ` Bastien
2021-09-29 13:48 ` Timothy
2021-09-29 14:26 ` tomas
2021-09-29 14:58 ` Timothy
2021-09-29 15:13 ` Jeremy Cowgar
2021-09-30 18:13 ` Timothy
2021-09-29 15:14 ` tomas
2021-09-29 17:18 ` Greg Minshall
2021-09-29 18:15 ` tomas
2021-11-18 12:04 ` Timothy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875f2e60-c36f-091e-043c-ae7a80656507@gmail.com \
--to=gyromagnetic@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).