From: Per Bothner <per@bothner.com>
To: Tony anon <tonys-mailbox@hotmail.com>
CC: ctdean@sokitomi.com, kawa@sources.redhat.com
Subject: Re: Using Emacs with Kawa
Date: Mon, 10 Apr 2006 18:03:48 -0700
Tony anon wrote:
Thanks for the info Chris.
I'm afraid that kawa is ignoring the change to the prompt in kawarc.scm.
I can confirm that the initialisation file is being read, as I tried
deliberately corrupting it and received an error from Kawa on startup.
However, when I change the prompt string in the initialisation file, there
is no apparent change to the prompt in the kawa repl.
It looks like the set-input-port-prompter! changes the prompt for
teh value (current-input-port) *at the time* while we're reading
the ~/.kawarc file. I.e. you're changing the prompter for the port
that is reading ~/.kawarc.
I'm not sure why that's not happening for Chris.
One option is to add a (interactive-input-port) or (standard-input-port)
function.
--
--Per Bothner
per@bothner.com http://per.bothner.com/