From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jon Wilson Newsgroups: gmane.lisp.guile.user Subject: Re: readline eats previous text on line Date: Wed, 27 Sep 2006 20:50:04 -0500 Message-ID: <451B2A4C.2040000@fastmail.fm> References: <451AEC75.90200@fastmail.fm> <87y7s4ahvc.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1159408207 24921 80.91.229.2 (28 Sep 2006 01:50:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Sep 2006 01:50:07 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Sep 28 03:49:55 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GSl1z-000650-3Q for guile-user@m.gmane.org; Thu, 28 Sep 2006 03:49:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GSl1y-0007i9-Mm for guile-user@m.gmane.org; Wed, 27 Sep 2006 21:49:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GSl1v-0007hu-0e for guile-user@gnu.org; Wed, 27 Sep 2006 21:49:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GSl1u-0007hi-0D for guile-user@gnu.org; Wed, 27 Sep 2006 21:49:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GSl1t-0007hf-P1 for guile-user@gnu.org; Wed, 27 Sep 2006 21:49:37 -0400 Original-Received: from [131.225.111.11] (helo=mailgw1.fnal.gov) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GSl6s-0007Gu-Ix for guile-user@gnu.org; Wed, 27 Sep 2006 21:54:46 -0400 Original-Received: from mailav2.fnal.gov (mailav2.fnal.gov [131.225.111.20]) by mailgw1.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with SMTP id <0J6A000OB52EML@mailgw1.fnal.gov> for guile-user@gnu.org; Wed, 27 Sep 2006 20:49:35 -0500 (CDT) Original-Received: from mailgw2.fnal.gov ([131.225.111.12]) by mailav2.fnal.gov (SAVSMTP 3.1.7.47) with SMTP id M2006092720493507795 for ; Wed, 27 Sep 2006 20:49:35 -0500 Original-Received: from conversion-daemon.mailgw2.fnal.gov by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) id <0J6A00K014VPRP@mailgw2.fnal.gov> (original mail from j85wilson@fastmail.fm) for guile-user@gnu.org; Wed, 27 Sep 2006 20:49:35 -0500 (CDT) Original-Received: from [192.168.0.2] (cpe-24-162-120-52.hot.res.rr.com [24.162.120.52]) by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with ESMTPSA id <0J6A00CLE52MCI@mailgw2.fnal.gov>; Wed, 27 Sep 2006 20:49:35 -0500 (CDT) In-reply-to: <87y7s4ahvc.fsf@zip.com.au> Original-To: Kevin Ryde X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050324) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5555 Archived-At: Hi Kevin, > (readline "foo: ") This gives an error. (read-line (current-input-port) 'trim "foo: ") does not give an error, but "foo: " is ignored. The first two arguments are the port to read from and the handle-delim value. Any further arguments seem to be completely ignored. Sorry. > > Not sure if that's meant to be documented, seems like a pretty > sensible usage, even if reading current-input-port might be usual. It would be nice if that were it, I agree. Thanks, Jon _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user