From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Gennady Uraltsev <gennady.uraltsev@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-babel-tangle sometimes does not respect header-args property [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)]
Date: Tue, 26 Jun 2018 11:44:20 +0200 [thread overview]
Message-ID: <874lhpubkb.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <e1fcc217-67b1-9972-5523-c7f6169cf313@gmail.com> (Gennady Uraltsev's message of "Sat, 23 Jun 2018 16:34:39 +0300")
Hello,
Gennady Uraltsev <gennady.uraltsev@gmail.com> writes:
> Running =(org-babel-tangle)= from inside a =src= block ignores
> =header-args= properties
> Consider the following org-mode file set for tangling.
>
> This code should run the command =org-babel-tangle=
>
> #+BEGIN_SRC emacs-lisp :results silent
> (org-babel-tangle)
> #+END_SRC
>
> that should tangle the stuff in the next header.
>
> ** Observed behaviour
> Running the first code block tangles only the first code block below
> Running =org-babel-tangle= tangles both code blocks below
>
>
> ** Expected behaviour
> Running the above code block or =org-babel-tangle= tangles both code
> blocks below
>
>
> * Code to tangle
> ** Because of =:tangle= parameter
> This block gets tangled both by executing =org-babel-tangle= from the
> =src= code block or directly via M-x.
>
> #+BEGIN_SRC emacs-lisp :tangle yes
> (message "This should be tangled because of :tangle parameter")
> #+END_SRC
>
>
>
>
> ** Because of properties
> :PROPERTIES:
> :header-args: :tangle yes
> :END:
>
> This block gets tangled only by executing =org-babel-tangle= directly
> via M-x but it *doesn't* get tangled by executing =org-babel-tangle=
> from the =src= code block.
>
> #+BEGIN_SRC emacs-lisp
> (message "This should be tangled because of property list")
> #+END_SRC
I cannot reproduce your issue. You may want to double check your
configuration.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2018-06-26 9:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-23 13:34 Bug: org-babel-tangle sometimes does not respect header-args property [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)] Gennady Uraltsev
2018-06-26 9:44 ` Nicolas Goaziou [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-06-23 15:50 Gennady Uraltsev
2018-06-23 20:07 ` Henry Blevins
2018-06-23 20:09 ` Nicolas Goaziou
2018-06-10 5:42 Gennady Uraltsev
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874lhpubkb.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=gennady.uraltsev@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.