emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* problem with html export when using clojure and :exports both
@ 2011-06-24 23:37 Robert McIntyre
  2011-06-24 23:55 ` Eric Schulte
  0 siblings, 1 reply; 4+ messages in thread
From: Robert McIntyre @ 2011-06-24 23:37 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problem with html export when using clojure and :exports both
  2011-06-24 23:37 problem with html export when using clojure and :exports both Robert McIntyre
@ 2011-06-24 23:55 ` Eric Schulte
  2011-06-25  1:26   ` Robert McIntyre
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Schulte @ 2011-06-24 23:55 UTC (permalink / raw)
  To: Robert McIntyre; +Cc: emacs-orgmode

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problem with html export when using clojure and :exports both
  2011-06-24 23:55 ` Eric Schulte
@ 2011-06-25  1:26   ` Robert McIntyre
  2011-06-25  2:50     ` Eric Schulte
  0 siblings, 1 reply; 4+ messages in thread
From: Robert McIntyre @ 2011-06-25  1:26 UTC (permalink / raw)
  To: Eric Schulte, emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problem with html export when using clojure and :exports both
  2011-06-25  1:26   ` Robert McIntyre
@ 2011-06-25  2:50     ` Eric Schulte
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Schulte @ 2011-06-25  2:50 UTC (permalink / raw)
  To: Robert McIntyre; +Cc: emacs-orgmode

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-25  2:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-24 23:37 problem with html export when using clojure and :exports both Robert McIntyre
2011-06-24 23:55 ` Eric Schulte
2011-06-25  1:26   ` Robert McIntyre
2011-06-25  2:50     ` Eric Schulte

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).