From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Re: Setting the readline prompt ... Date: Wed, 08 Jan 2003 13:04:56 -0500 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <20030107184239.GA26279@www> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042049284 8928 80.91.224.249 (8 Jan 2003 18:08:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 18:08:04 +0000 (UTC) Cc: guile-user@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18WKcT-0002J1-00 for ; Wed, 08 Jan 2003 19:08:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WKcK-0000x0-04 for guile-devel@m.gmane.org; Wed, 08 Jan 2003 13:07:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18WKaG-0008OR-00 for guile-devel@gnu.org; Wed, 08 Jan 2003 13:05:44 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18WKa1-00080I-00 for guile-devel@gnu.org; Wed, 08 Jan 2003 13:05:33 -0500 Original-Received: from multivac.student.cwru.edu ([129.22.96.25] helo=multivac.cwru.edu) by monty-python.gnu.org with smtp (Exim 4.10.13) id 18WKZz-0007OY-00 for guile-devel@gnu.org; Wed, 08 Jan 2003 13:05:27 -0500 Original-Received: (qmail 7521 invoked by uid 500); 8 Jan 2003 18:05:19 -0000 Original-To: rm@fabula.de In-Reply-To: <20030107184239.GA26279@www> (rm@fabula.de's message of "Tue, 7 Jan 2003 19:42:39 +0100") Mail-Copies-To: nobody Mail-Followup-To: rm@fabula.de, guile-user@gnu.org, guile-devel@gnu.org Original-Lines: 20 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) Original-cc: guile-devel@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:1857 gmane.lisp.guile.user:1506 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1857 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