From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Brunner Subject: [org-babel] How to tangle "org-mode" files? Date: Thu, 15 Apr 2010 10:33:39 +0200 Message-ID: <87wrw92jz0.fsf@systemhaus-brunner.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2KWB-0001DZ-DG for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 04:33:47 -0400 Received: from [140.186.70.92] (port=55660 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2KW9-0001Cv-Bc for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 04:33:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2KW7-0003zJ-Pk for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 04:33:45 -0400 Received: from mail.systemhaus-brunner.de ([80.153.188.67]:26866 helo=systemhaus-brunner.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2KW7-0003yr-GF for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 04:33:43 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I am testing some ideas with org-babel (which is really great work) and got the following problem: I want to put several org-mode source blocks in one org-mode file and tangle them afterwards. Therefore I produced the following a.org: -->8-- #+begin_src org :tangle in-a.org ,* Foo ,** Bar #+end_src -->8-- Then I thought I have to add "org" to the list of known tangle languages: > (add-to-list 'org-babel-tangle-langs '("org" "org")) And when I know try a org-babel-tangle for example with > (org-babel-tangle-file "a.org") Nothing happens. Can anybody help with what I am doing wrong? Kind regards, Daniel