From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Can't tangle inline source code Date: Fri, 17 Aug 2012 13:57:44 -0600 Message-ID: <87wr0xz3yf.fsf@gmx.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2SgZ-0001Lc-4l for emacs-orgmode@gnu.org; Fri, 17 Aug 2012 15:58:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2SgX-0004Bs-P2 for emacs-orgmode@gnu.org; Fri, 17 Aug 2012 15:58:23 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:50235) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1T2SgX-0004Bo-HW for emacs-orgmode@gnu.org; Fri, 17 Aug 2012 15:58:21 -0400 In-Reply-To: ("Luis =?utf-8?Q?Mu=C3=B1iz=22's?= message of "Fri, 17 Aug 2012 19:42:04 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Luis =?utf-8?Q?Mu=C3=B1iz?= Cc: emacs-orgmode@gnu.org 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=C3=B1iz 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 and , but only the former appears. > > Regards, > -- > - Luis Mu=C3=B1iz > --=20 Eric Schulte http://cs.unm.edu/~eschulte