From: Brad Knotwell <bknotwell@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: org-babel-detangle issue on 9.1.14
Date: Thu, 4 Oct 2018 07:08:35 +0000 (UTC) [thread overview]
Message-ID: <833272723.4259898.1538636915102@mail.yahoo.com> (raw)
In-Reply-To: 833272723.4259898.1538636915102.ref@mail.yahoo.com
[-- Attachment #1: Type: text/plain, Size: 793 bytes --]
Good day all--
I've been playing with org-babel-detangle and I've noticed something that's either a bug or a limitation. It's confusing enough that it's worth writing down if it's expected. Basically, it doesn't work if there are variables defined in the begin_src header. I've attached an example below. The first one won't detangle and the last two will.
* no work#+begin_src sh sh :tangle hw.sh :var x="hello world" :shebang #!/bin/sh :comments linkecho $x#+end_src
* works#+begin_src sh sh :tangle hw2.sh :comments linkecho "helloworld2"#+end_src
* stillworks#+begin_src sh sh :tangle hw3.sh :comments link :shebang #!/bin/shecho "helloworld3"
#+end_src
I've tested with 9.1.7 and 9.1.14 so if this is supposed to be supported it's not something newly broken.
Thx.
--Brad
[-- Attachment #2: Type: text/html, Size: 1451 bytes --]
next parent reply other threads:[~2018-10-04 7:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <833272723.4259898.1538636915102.ref@mail.yahoo.com>
2018-10-04 7:08 ` Brad Knotwell [this message]
2018-10-04 15:19 ` org-babel-detangle issue on 9.1.14 Grant Rettke
2018-10-04 15:51 ` Brad Knotwell
2018-10-05 20:06 ` Grant Rettke
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=833272723.4259898.1538636915102@mail.yahoo.com \
--to=bknotwell@yahoo.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).