[-- Attachment #1: Type: text/plain, Size: 799 bytes --] 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 [-- Attachment #2: Type: text/html, Size: 986 bytes --]
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 <schulte.eric@gmail.com> | 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 <rlm@mit.edu> 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/
[-- Attachment #1: Type: text/plain, Size: 1909 bytes --] 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 <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 <schulte.eric@gmail.com> > | 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 <rlm@mit.edu> 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/ > [-- Attachment #2: Type: text/html, Size: 2863 bytes --]
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 <rlm@mit.edu> 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 <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 <schulte.eric@gmail.com> >> | 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 <rlm@mit.edu> 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/