all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: suarezmiguelc@icloud.com, emacs-orgmode@gnu.org
Subject: Re: Babel zip after exporting file
Date: Fri, 17 Mar 2023 19:41:14 +0700	[thread overview]
Message-ID: <bf3e5b21-97c2-0246-5000-7cb3bbf4f63a@gmail.com> (raw)
In-Reply-To: <F1F89CBE-80C9-467F-A871-D69191BCB3B1@icloud.com>

On 17/03/2023 05:39, suarezmiguelc wrote:
> :PROPERTIES:
> :header-args: :tangle index.js :post-tangle (shell-command-to-string "zip index.js.zip index.js && rm index.js")
> :END:

There is no such feature as :post-tangle. Try
     M-x org-lint

Generic org-babel code is executed instead to evaluate values of all 
header arguments. It happens *before* processing of a code block.

You may be interested in `org-babel-post-tangle-hook'
(info "(org) Extracting Source Code")
https://orgmode.org/manual/Extracting-Source-Code.html#index-org_002dbabel_002dpost_002dtangle_002dhook



      reply	other threads:[~2023-03-17 12:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-16 22:39 Babel zip after exporting file suarezmiguelc
2023-03-17 12:41 ` Max Nikulin [this message]

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=bf3e5b21-97c2-0246-5000-7cb3bbf4f63a@gmail.com \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=suarezmiguelc@icloud.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.