[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: readline eats previous text on line

From: Jon Wilson
Subject: Re: readline eats previous text on line
Date: Wed, 27 Sep 2006 20:50:04 -0500
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050324)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]