[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Geiser-users] Help associating source and REPL - "No prompt found!"
From: |
Jose A. Ortega Ruiz |
Subject: |
Re: [Geiser-users] Help associating source and REPL - "No prompt found!" |
Date: |
Wed, 13 Nov 2013 19:13:06 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Hi Jon,
On Wed, Nov 13 2013, Jon Miller wrote:
> Hello Geiser folks,
>
> I've just installed Geiser last evening and plan on using it while
> working through the SICP book with folks from work. Loving it so
> far. The other thing I'm trying to do is to incorporate it with
> literate notes within a org-mode file[1]. I'm having problems getting
> a geiser REPL running and communicating with that from my org file.
>
> I believe I've narrowed down the problem to a problem associating my
> source file with the geiser REPL. With a plain scheme file
> example.rkt, I have the example code: (define (cube x) (* x x x))
>
> When I run M-x run-geiser, it will start a REPL and split my window
> but I'll get a message in the minibuffer "No prompt found!" In my
> *Messages* buffer, I'm seeing the following:
> geiser-repl--wait-for-prompt: No prompt found!
That typically happens when the scheme interpreter version is not the
right one. What versions of Racket and Geiser are you using? You can
also try M-x run-racket to make sure that you're starting Racket.
> I've tried playing with various values for geiser-repl-startup-time
> from the smallest 1000 to the largest value of 20000. Same result each
> time.
>
> I later try M-x scheme-send-definition as well as M-x
> scheme-send-region and the simple cube definition never makes it's way
> to my REPL.
No, those functions are not part of Geiser, and you shouldn't be using
them (they're part of the standar emacs support for scheme that Geiser
supersedes, and won't work for a REPL started by Geiser). Once you get
Geiser up and running, there are replacements for them that you can use.
> So, I'm hopefully providing enough information and you can see why I
> might be concluding a communication and/or problem properly launching
> the Geiser REPL is likely my root problem. Any suggestions?
That seems to be the problem, yes. But i don't know how ob-scheme.el
works, so i'm not totally sure. At any rate, if you cannot start a
Geiser REPL, it's almost for sure *not* ob-scheme's fault.
Cheers,
jao
--
Every decent man is ashamed of the government he lives under.
-H.L. Mencken, writer, editor, and critic (1880-1956)
- [Geiser-users] Help associating source and REPL - "No prompt found!", Jon Miller, 2013/11/13
- Re: [Geiser-users] Help associating source and REPL - "No prompt found!",
Jose A. Ortega Ruiz <=
- Re: [Geiser-users] Help associating source and REPL - "No prompt found!", Jon Miller, 2013/11/13
- Re: [Geiser-users] Help associating source and REPL - "No prompt found!", Jon Miller, 2013/11/13
- Re: [Geiser-users] Help associating source and REPL - "No prompt found!", Jon Miller, 2013/11/13
- Re: [Geiser-users] Help associating source and REPL - "No prompt found!", Jon Miller, 2013/11/13
- Re: [Geiser-users] Help associating source and REPL - "No prompt found!", Jose A. Ortega Ruiz, 2013/11/13
- Re: [Geiser-users] Help associating source and REPL - "No prompt found!", Jon Miller, 2013/11/13
- Re: [Geiser-users] Help associating source and REPL - "No prompt found!", Jose A. Ortega Ruiz, 2013/11/13
- Re: [Geiser-users] Help associating source and REPL - "No prompt found!", Jon Miller, 2013/11/13