[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Accept more :tangle-mode specification forms
From: |
Timothy |
Subject: |
Re: [PATCH] Accept more :tangle-mode specification forms |
Date: |
Fri, 19 Nov 2021 01:22:14 +0800 |
User-agent: |
mu4e 1.6.9; emacs 28.0.50 |
Hi All,
I thought I’d checked for this, but I’ve just noticed that :tangle-mode 755
doesn’t 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 like
(identity #o755). Obviously 755 != #o755 and so this causes issues.
As it stands “755” works, but that isn’t great (most importantly, it’s easy to
confuse). Since it’s 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’m be keen to hear other people’s thoughts on this.
All the best,
Timothy
- Re: [PATCH] Accept more :tangle-mode specification forms, Timothy, 2021/11/18
- Re: [PATCH] Accept more :tangle-mode specification forms,
Timothy <=
- Re: [PATCH] Accept more :tangle-mode specification forms, Tom Gillespie, 2021/11/18
- Re: [PATCH] Accept more :tangle-mode specification forms, Tim Cross, 2021/11/19
- Re: [PATCH] Accept more :tangle-mode specification forms, tomas, 2021/11/19
- Re: [PATCH] Accept more :tangle-mode specification forms, Greg Minshall, 2021/11/19
- Re: [PATCH] Accept more :tangle-mode specification forms, Timothy, 2021/11/20
- Re: [PATCH] Accept more :tangle-mode specification forms, tomas, 2021/11/20
- Re: [PATCH] Accept more :tangle-mode specification forms, Timothy, 2021/11/20
- Re: [PATCH] Accept more :tangle-mode specification forms, tomas, 2021/11/20
- Re: [PATCH] Accept more :tangle-mode specification forms, Tim Cross, 2021/11/20
- Re: [PATCH] Accept more :tangle-mode specification forms, Greg Minshall, 2021/11/20