From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: wrong type error on load-file in org-babel-load-file when there's nothing to be tangled [8.3beta (release_8.3beta-580-g787733.dirty @ /usr/local/share/emacs/24.4/lisp/org/)] Date: Sat, 03 Jan 2015 12:32:04 +0100 Message-ID: <87oaqg6qx7.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7MvD-0006O7-2o for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 06:31:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7Mv9-0000pD-NA for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 06:31:06 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:33679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7Mv9-0000p5-Hl for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 06:31:03 -0500 In-Reply-To: (Enzo Chi's message of "Wed, 19 Nov 2014 09:31:54 +1100") 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: Enzo Chi Cc: emacs-orgmode@gnu.org Hello, Enzo Chi writes: > (org-babel-load-file) When there's nothing to be tangle, 'exported-file' > will be set to nil. That would cause type error for load-file function. > > I have created a patch for it. By adding extra check on exported-file > before compile/load it. But I don't know where should I send it. Thanks for the report. You can send your patch on this ML. Don't forget to add TINYCHANGE at the end of the commit message, per http://orgmode.org/worg/org-contribute.html#unnumbered-10 Regards, -- Nicolas Goaziou