From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: rm@fabula.de Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Setting the readline prompt ... Date: Tue, 7 Jan 2003 19:42:39 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <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 1041985849 27315 80.91.224.249 (8 Jan 2003 00:30:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 00:30:49 +0000 (UTC) Cc: guile-devel@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 18W47L-00076R-00 for ; Wed, 08 Jan 2003 01:30:48 +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 18W3C2-0001fU-03 for guile-devel@m.gmane.org; Tue, 07 Jan 2003 18:31:34 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18W3Bl-0001eJ-00 for guile-devel@gnu.org; Tue, 07 Jan 2003 18:31:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18W3BF-0001WO-00 for guile-devel@gnu.org; Tue, 07 Jan 2003 18:31:16 -0500 Original-Received: from [217.22.192.104] (helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18VyLs-0006Cr-00; Tue, 07 Jan 2003 13:21:24 -0500 Original-Received: by www.elogos.de (Postfix, from userid 5001) id 1F5321407F; Tue, 7 Jan 2003 19:42:40 +0100 (CET) Original-To: guile-user@gnu.org Content-Disposition: inline User-Agent: Mutt/1.3.28i 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:1855 gmane.lisp.guile.user:1503 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1855 Hello and a happy new year, 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' but that does nothing more than (define-public (set-readline-prompt! p . rest) (set! prompt p) (if (not (null? rest)) (set! prompt2 (car rest)))) which of course doesn't really work since it doesn't affect the prompts of the current 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' ? tia Ralf Mattes _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel