From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert McIntyre Subject: problem with html export when using clojure and :exports both Date: Fri, 24 Jun 2011 18:37:13 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd22fe65941e704a67dae8a Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaFw6-0004Yf-DQ for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 19:37:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QaFw3-0000S0-NE for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 19:37:17 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:39871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaFw3-0000Rm-8g for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 19:37:15 -0400 Received: by pwi12 with SMTP id 12so2541710pwi.0 for ; Fri, 24 Jun 2011 16:37:13 -0700 (PDT) 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: emacs-orgmode@gnu.org --000e0cd22fe65941e704a67dae8a Content-Type: text/plain; charset=ISO-8859-1 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 --000e0cd22fe65941e704a67dae8a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 wou= ld be appreciated as to whether this is a bug, or if I am doing something w= rong.

sincerely,
--Robert McIntyre

M-x org-version gives:

re= lease_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 m= essage

Export buffer:
Exporting...
org-babel-exp processing..= .
if: Wrong number of arguments: called-interactively-p, 1


BEGIN FILE TEST.ORG

#+begin_src cloj= ure :exports both
(+ 1 2)
#+end_src

#+results:
: 3

E= ND FILE TEST.ORG


sincerely,
-= -Robert McIntyre
--000e0cd22fe65941e704a67dae8a-- 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 16:55:45 -0700 Message-ID: <87d3i2iy2m.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaGE5-0006cW-Mr for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 19:55:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QaGE4-0002lY-9D for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 19:55:53 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:58690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaGE4-0002lT-1A for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 19:55:52 -0400 Received: by pwi12 with SMTP id 12so2547338pwi.0 for ; Fri, 24 Jun 2011 16:55:51 -0700 (PDT) In-Reply-To: (Robert McIntyre's message of "Fri, 24 Jun 2011 18:37:13 -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, 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/ 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-- 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/