This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using Emacs with Kawa


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/

Sorry to keep troubling everyone like this, but could someone give me an example of how to "add a (interactive-input-port) or (standard-input-port) function."


Thankyou.

Tony

_________________________________________________________________
Win 1000s of music downloads and Party MeeGos instantly. Play now! http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clientID=689&referral=hotmailtagline&URL=http://partyfever.ninemsn.com.au/compintro.aspx?compid=209



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]