From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Hyatt Subject: Bug in org-babel-load-file Date: Sat, 6 Feb 2010 22:22:48 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NdxjZ-0007DA-Cx for emacs-orgmode@gnu.org; Sat, 06 Feb 2010 22:22:53 -0500 Received: from [199.232.76.173] (port=54951 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdxjY-0007D2-0E for emacs-orgmode@gnu.org; Sat, 06 Feb 2010 22:22:52 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NdxjX-0007nY-6v for emacs-orgmode@gnu.org; Sat, 06 Feb 2010 22:22:51 -0500 Received: from ey-out-1920.google.com ([74.125.78.146]:14069) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NdxjW-0007n0-Tn for emacs-orgmode@gnu.org; Sat, 06 Feb 2010 22:22:51 -0500 Received: by ey-out-1920.google.com with SMTP id 26so592033eyw.34 for ; Sat, 06 Feb 2010 19:22:48 -0800 (PST) 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 guys, There appears to be a bug in org-babel-load-file, where it calls org-babel-tangle-file with file and base-name. Instead of using base-name, it should probably use the exported-file. This causes an issue where the elisp I am extracting is put in "foo.bar" instead of "foo.bar.el". Strangely, this doesn't appear to always happen, but only when there is a file with lots of dot-separated sections. Any thoughts? This is in org 6.34trans.