From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: org-babel-tangle-file not parsing code blocks Date: Mon, 25 Mar 2013 13:39:06 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKGzL-0002jX-8i for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 19:39:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKGzK-0003IB-59 for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 19:39:39 -0400 Received: from oproxy6-pub.bluehost.com ([67.222.54.6]:37966) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1UKGzJ-0003Hw-RZ for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 19:39:38 -0400 In-Reply-To: (Marcelo de Moraes Serpa's message of "Mon, 25 Mar 2013 16:45:01 -0600") 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: Marcelo de Moraes Serpa Cc: Org Mode Aloha Marcelo, Marcelo de Moraes Serpa writes: > Oh, actually that wasn't the issue. > > org-babel-load-file seems to force tangling the file to an .el. > org-babel-tangle-file doesn't. Is there a way to force the output to the > .el file without using the parameter in the code block itself? > Yes, there is. (org-babel-tangle-file FILE &optional TARGET-FILE LANG) You should be able set TARGET-FILE with a buffer-wide header argument, like this: #+PROPERTY: tangle force-output-to-the.el hth, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com