emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Can't tangle inline source code


From: Eric Schulte
Subject: Re: [O] Can't tangle inline source code
Date: Fri, 17 Aug 2012 13:57:44 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

I don't believe tangling is supported for inline code blocks.

The original reason for implementing inline code blocks was purely for
the inclusion of inline results in export.

Best,

Luis Muñiz <address@hidden> writes:

> Hi there!  I'm having some problems while tangling.  More
> specifically, I can tangle a src block of code:
> #+BEGIN_SRC emacs-lisp :tangle block.el :results silent
>   (format-time-string "%Y/%m_%b/%d_%a :: [%H:%M:%S]"
>   )
> #+END_SRC
>
> But I can't tangle the inlined equivalent form:
>   src_emacs-lisp[ :tangle inline.el :results silent
> ]{(format-time-string "%Y/%m_%b/%d_%a :: [%H:%M:%S]")}
>
> I'm using org-mode version 7.8.11 from the GIT repository (updated a
> couple hours ago, release_7.8.11-505-g952d72), and Emacs 23.2.1.
> Same results using shell code (sh), and/or with Org Version 7.4.
>
> In order to repeat the test, simply paste this whole message in an
> Emacs (org-)buffer and tangle (C-c C-v t) it.  It should generate two
> files <block.el> and <inline.el>, but only the former appears.
>
> Regards,
> --
>   - Luis Muñiz
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte



reply via email to

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