This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Different behavior for -s argument in Kawa 2.0?
- From: Jamison Hope <jrh at theptrgroup dot com>
- To: "kawa at sourceware dot org list" <kawa at sourceware dot org>
- Date: Fri, 9 Jan 2015 17:31:14 -0500
- Subject: Re: Different behavior for -s argument in Kawa 2.0?
- Authentication-results: sourceware.org; auth=none
- References: <CAFVyn8RdRnhc9DGpzT=oA6sQ0oWcbRM71hYvVUROV+7grKkTMQ at mail dot gmail dot com> <CAFVyn8SzaE6Og3UT9+CXQJoPLRBZ7BD6pRSRznUcrxpZVXEC8w at mail dot gmail dot com> <54B03F22 dot 7050801 at bothner dot com> <CAFVyn8S9Tdzdwmczg883U2yXmZUmRMxArtf2sXBKA2HhjXTCNA at mail dot gmail dot com>
As a further data point, I think I'm seeing the same behavior. I'm using xscheme.el and defining xscheme-process-command-line to
"java -cp [a bunch of other JARs]:/path/to/kawa-2.0.1.jar kawa.repl -s"
The *scheme* buffer displays its usual preamble at the top, and then.. nothing.
BUT, if I try to evaluate a Scheme expression, it works. So the REPL is running, it just isn't displaying the "#|kawa:N|#" prompt:
> This is the Scheme process buffer.
> Type C-x C-e to evaluate the expression before point.
> Type C-c C-c to abort evaluation.
> Type C-h m for more information.
>
> (+ 1 2)^x^e
> 3
>
> java.lang.Math:PI^x^e
> 3.141592653589793
Jeff, can you try evaluating some expressions to see if you are also just missing the prompt?
-Jamie
On Jan 9, 2015, at 5:06 PM, Jeff Gonis <jeff.gonis@gmail.com> wrote:
> On Fri, Jan 9, 2015 at 1:50 PM, Per Bothner <per@bothner.com> wrote:
>> On 01/09/2015 08:48 AM, Jeff Gonis wrote:
>>>
>>> With kawa 2.0, and changing nothing else in my setup, I am unable to
>>> get kawa to create a repl within emacs.
>>> ...
>>> Anyway, please let me know if you need any additional details, or if I
>>> can do any other investigation for you.
>>
>>
>> Please give the exact commands you use to launch kawa.
>> --
>> --Per Bothner
>> per@bothner.com http://per.bothner.com/
>
> Hi Per,
>
> I launch kawa from emacs using the run-scheme function, which depends
> on the variable scheme-program-name. If I set this to the following:
> java -jar "d://jeffs Folder//kawa//kawa-2.0.jar" -s then I will not be
> able to get a repl inside of emacs.
>
> If I change scheme-program to: java -jar "d://jeffs
> Folder//kawa//kawa-1.90.jar" -s then I am able to successfully launch
> the repl. Nothing changes between the two commands besides the
> version of kawa. Same instance of emacs, same version of java, same
> folder location.
>
> Thanks for the follow up and please let me know if you need more information.
> Jeff
--
Jamison Hope
The PTR Group
www.theptrgroup.com