Lawrence Bottorff writes:
> . . . quick question, Nick (et al): how do I (enlightened beginner) apply the
> above patch? I'm using
> latest ELPA from org-mode repo.
>
Save the patch in a file (say "ob-scheme.patch") in the top level
directory of your org-mode tree (the one that includes the lis
Ach, disregard that last bleating. Got it changed, and yes, it works -- for
both guile and chicken. Thanks a ton, ND.
But, yes, if there's a cool emacs way to take your diff and apply it I'd
like to know. . .
LB
On Tue, Sep 15, 2015 at 5:25 PM, Lawrence Bottorff
wrote:
> . . . quick question,
. . . quick question, Nick (et al): how do I (enlightened beginner) apply
the above patch? I'm using latest ELPA from org-mode repo.
LB
I've tried the Moebius workaround (see above). It seems to work, and
#+begin_src scheme
. . .
seems to call my MIT scheme and do results just fine. But it ignores the
idea of multiple sessions, which the geiser-based ob-scheme did so well and
just has one MIT scheme "session." However it does not
Nick Dokos writes:
> Nick Dokos writes:
>
>> N.B. this is with guile: I have not tried chicken, MIT Scheme or any
>> other scheme implementation.
>>
>
> A comment on SO says that geiser (which is used by ob-scheme)
> only supports guile and racket, so until that changes, chicken or MIT
> Scheme
Nick Dokos writes:
> N.B. this is with guile: I have not tried chicken, MIT Scheme or any
> other scheme implementation.
>
A comment on SO says that geiser (which is used by ob-scheme)
only supports guile and racket, so until that changes, chicken or MIT
Scheme won't work:
http://stackoverflow.
Nick Dokos writes:
> Lawrence Bottorff writes:
>
>> I think this
>> (https://mobiusengineering.wordpress.com/2015/01/11/using-emacs-org-with-mit-scheme/)
>> describes my problem. Basically, it's with ob-scheme.el. The article
>> seems to say that my problem is scheme stuff being handled improper
Lawrence Bottorff writes:
> On Mon, Sep 14, 2015 at 6:55 PM, Nick Dokos wrote:
>
>
> > So it looks like Scheme is not a Babel language after all.
>
> What do you mean? There is an ob-scheme.el but it's buggy: I suspect
> that every ob-*.el is buggy to some extent. Does that mea
On Mon, Sep 14, 2015 at 6:55 PM, Nick Dokos wrote:
> > So it looks like Scheme is not a Babel language after all.
>
> What do you mean? There is an ob-scheme.el but it's buggy: I suspect
> that every ob-*.el is buggy to some extent. Does that mean that every
> language that babel supports is not
Lawrence Bottorff writes:
> So it looks like Scheme is not a Babel language after all.
What do you mean? There is an ob-scheme.el but it's buggy: I suspect
that every ob-*.el is buggy to some extent. Does that mean that every
language that babel supports is not a babel language?
> Is there a fo
So it looks like Scheme is not a Babel language after all. Is there a
formal "bug report" to do?
On Mon, Sep 14, 2015 at 1:39 PM, Nick Dokos wrote:
> Lawrence Bottorff writes:
>
> > I think this
> > (
> https://mobiusengineering.wordpress.com/2015/01/11/using-emacs-org-with-mit-scheme/
> )
> >
Lawrence Bottorff writes:
> I think this
> (https://mobiusengineering.wordpress.com/2015/01/11/using-emacs-org-with-mit-scheme/)
> describes my problem. Basically, it's with ob-scheme.el. The article
> seems to say that my problem is scheme stuff being handled improperly
> by the elisp of ob-sche
I think this (
https://mobiusengineering.wordpress.com/2015/01/11/using-emacs-org-with-mit-scheme/)
describes my problem. Basically, it's with ob-scheme.el. The article seems
to say that my problem is scheme stuff being handled improperly by the
elisp of ob-scheme.el. I'll try his workaround and se
Lawrence Bottorff writes:
> Sorry, Nick, not following you. Could you elaborate more? As a rank
> beginner, I'm not sure what a backtrace is or how to produce one or
> how it read it. What do you mean by "master" and "maint"?
>
It's a debugging aid: it's a dump of the call stack at the time of t
Sorry, Nick, not following you. Could you elaborate more? As a rank
beginner, I'm not sure what a backtrace is or how to produce one or how it
read it. What do you mean by "master" and "maint"?
On Sun, Sep 13, 2015 at 5:41 AM, Nick Dokos wrote:
> Lawrence Bottorff writes:
>
> > Again, this code
Lawrence Bottorff writes:
> Again, this code
>
> #+BEGIN_SRC scheme :session ch1 :exports both
> (define (bool-imply a b)
> (if (or (not a) b) #t #f))
> #+END_SRC
>
> gives the error
>
> org-babel-scheme-execute-with-geiser: Invalid read syntax: "#"
>
> and this time attempting to use the funct
Again, this code
#+BEGIN_SRC scheme :session ch1 :exports both
(define (bool-imply a b)
(if (or (not a) b) #t #f))
#+END_SRC
gives the error
org-babel-scheme-execute-with-geiser: Invalid read syntax: "#"
and this time attempting to use the function
#+BEGIN_SRC scheme :session ch1 :exports bo
When I run this code:
#+BEGIN_SRC scheme :session ch1 :exports both
(define (check-it x)
(cond
((string? x) (string-length x))
((number? x) (if (<= x 0) x (sub1 x)))
((boolean? x) (if (and #t x) 10 20))
(else #f)))
#+END_SRC
I get this error message:
org-babel-scheme-execute-wi
18 matches
Mail list logo