From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: problem with html export when using clojure and :exports both Date: Fri, 24 Jun 2011 19:50:05 -0700 Message-ID: <87hb7e1v6q.fsf@gmail.com> References: <87d3i2iy2m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaIwn-0003e8-M2 for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 22:50:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QaIwm-0007SF-6N for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 22:50:13 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:43035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaIwl-0007SA-VX for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 22:50:12 -0400 Received: by pzk4 with SMTP id 4so2580997pzk.0 for ; Fri, 24 Jun 2011 19:50:10 -0700 (PDT) In-Reply-To: (Robert McIntyre's message of "Fri, 24 Jun 2011 20:26:39 -0500") 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: Robert McIntyre Cc: emacs-orgmode@gnu.org Hi Robert, I just pushed up a patch which replaces the one call I could find to called-interactively-p with a call to the safer interactive-p. If this doesn't fix the problem then please turn on backtraces with M-x toggle-debug-on-error and then re-run the export and send me the backtrace. Cheers -- Eric Robert McIntyre writes: > Thanks for your reply -- I've updated using `git pull` and while some of the > relevant files have changed, I still have the same problem. > > M-x org-version yields: > release_7.5-440-g00c62 > Org-mode version 7.5 (release_7.5.440.g00c62) > > > > sincerely, > --Robert McIntyre > > > On Fri, Jun 24, 2011 at 6:55 PM, Eric Schulte wrote: > >> Hi Robert, >> >> It looks like this is an issue which should have been fixed by a commit >> I made last week, namely >> >> ,---- >> | commit db1c3f6a3ea5d9cb25c8fad5aae434fc1d424152 >> | Author: Eric Schulte >> | Date: Thu Jun 16 21:32:54 2011 -0700 >> | >> | Revert "replacing calls to now-defunct function `interactive-p'" >> | >> | This reverts commit 4f084e14672d4768bbff1614857ca9218230df69. >> `---- >> >> Updating to the HEAD of the git repo should fix this problem. >> >> Cheers -- Eric >> >> Robert McIntyre writes: >> >> > Hi everyone --- I've been working on making a website using clojure and >> > org-mode, and have run into what I think may be a bug. >> > >> > Any help would be appreciated as to whether this is a bug, or if I am >> doing >> > something wrong. >> > >> > sincerely, >> > --Robert McIntyre >> > >> > M-x org-version gives: >> > >> > release_7.5-435-gd3100 >> > Org-mode version 7.5 (release_7.5.435.gd3100) >> > >> > M-x version gives: >> > GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-11-23 >> on >> > rothera, modified by Debian >> > >> > >> > and the following file fails on conversion to html with the error message >> > >> > Export buffer: >> > Exporting... >> > org-babel-exp processing... >> > if: Wrong number of arguments: called-interactively-p, 1 >> > >> > >> > BEGIN FILE TEST.ORG >> > >> > #+begin_src clojure :exports both >> > (+ 1 2) >> > #+end_src >> > >> > #+results: >> > : 3 >> > >> > END FILE TEST.ORG >> > >> > >> > sincerely, >> > --Robert McIntyre >> >> -- >> Eric Schulte >> http://cs.unm.edu/~eschulte/ >> -- Eric Schulte http://cs.unm.edu/~eschulte/