From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert McIntyre Subject: Re: problem with html export when using clojure and :exports both Date: Fri, 24 Jun 2011 20:26:39 -0500 Message-ID: References: <87d3i2iy2m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd173ccc462b304a67f3547 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaHe0-00067z-3Q for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 21:26:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QaHdx-0005kf-Nv for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 21:26:43 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:49802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaHdx-0005kX-6e for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 21:26:41 -0400 Received: by pzk4 with SMTP id 4so2557358pzk.0 for ; Fri, 24 Jun 2011 18:26:40 -0700 (PDT) In-Reply-To: <87d3i2iy2m.fsf@gmail.com> 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: Eric Schulte , emacs-orgmode@gnu.org --000e0cd173ccc462b304a67f3547 Content-Type: text/plain; charset=ISO-8859-1 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/ > --000e0cd173ccc462b304a67f3547 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for your reply -- I've updated using `git pull` and while some o= f 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 (re= lease_7.5.440.g00c62)



sincerely,
--Robert McIntyre


On Fri, Jun 24, 2011 at 6:55 PM, Eric Schulte <= schulte.eric@gmail.com> 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 <schult= e.eric@gmail.com>
| Date: =A0 Thu Jun 16 21:32:54 2011 -0700
|
| =A0 =A0 Revert "replacing calls to now-defunct function `interactive= -p'"
|
| =A0 =A0 This reverts commit 4f084e14672d4768bbff1614857ca9218230df69.
`----

Updating to the HEAD of the git repo should fix this problem.

Cheers -- Eric

Robert McIntyre <rlm@mit.edu> writ= es:

> Hi everyone --- I've been working on making a website using clojur= e 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-2= 3 on
> rothera, modified by Debian
>
>
> and the following file fails on conversion to html with the error mess= age
>
> Export buffer:
> Exporting...
> org-babel-exp processing...
> if: Wrong number of arguments: called-interactively-p, 1
>
>
> BEGIN FILE TEST.ORG<= br> >
> #+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/

--000e0cd173ccc462b304a67f3547--