emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] tangle on export


From: Alan Schmitt
Subject: Re: [O] tangle on export
Date: Thu, 24 Sep 2015 15:33:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin)

Hi Andreas,

On 2015-09-24 14:14, Andreas Leha <address@hidden> writes:

> if all of this is for a single block, you can get away quite cheaply
> with sth along (untested)
>
> #+begin_src emacs-lisp :results silent
>   (save-excursion
>     ;; tangle
>     (org-babel-goto-named-src-block "hello")
>     (org-babel-tangle '(4)))
> #+end_src
>
> and make sure this gets executed during export.

I’ve tried this and somehow it replaces the whole org file with
a version with comments and src block headers removed, and macros
expanded. I have no idea why it does this …

Best,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated September 22, 2015, Mauna Loa Obs.): 397.23 ppm

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]