[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting the readline prompt ...
From: |
Paul Jarc |
Subject: |
Re: Setting the readline prompt ... |
Date: |
Wed, 08 Jan 2003 13:04:56 -0500 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) |
address@hidden wrote:
> just a quick question: how can i change the readline
> prompt (after readline is activated).
> I found (set-readline-prompt! prompt . prompt2) in
> 'ice-9 readline'
AFAICT, set-readline-prompt! has no visible effect either in .guile or
in the REPL.
> BTW, i found '(set-repl-prompt! prompt)' which seems to be
> undocumented in the otherwise fine manual. How does this function
> relate to the one from 'ice-9 readline' ?
But this one works for me, even though I use readline.
Experimentation indicates you can use set-repl-prompt! from the REPL
and it will take effect immediately, or you can pass it a thunk which
returns a prompt string.
paul