unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Cc: guile-user@gnu.org
Subject: Re: Setting the readline prompt ...
Date: Wed, 08 Jan 2003 13:04:56 -0500	[thread overview]
Message-ID: <m3of6rikkh.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <20030107184239.GA26279@www> (rm@fabula.de's message of "Tue, 7 Jan 2003 19:42:39 +0100")

rm@fabula.de 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


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


  reply	other threads:[~2003-01-08 18:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-07 18:42 Setting the readline prompt rm
2003-01-08 18:04 ` Paul Jarc [this message]
2003-01-08 21:11   ` Neil Jerram
2003-01-08 21:35     ` Neil Jerram
2003-01-08 21:47       ` Marius Vollmer
2003-01-08 23:52         ` Neil Jerram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3of6rikkh.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).