[plt-scheme] Bug in readline?
On Apr 26, Dimitris Vyzovitis wrote:
>
> Speaking of which, the custom completion function is broken -
> set-completion-function! self loops. I posted a patch for it a while
> ago, but it probably fell through the cracks.
The bug was easy to fix (a silly typo), but I am not too happy with
the completion -- using the global namespace is often not too helpful.
But the default is to complete filenames which is almost always
useless. So I did the namespace-based completion, a little different
than the way you did it:
* it's done in "pread.ss", since "mzrl.ss" is just the interface file
* it does the kind of completion that matches all separate in the
current token, for example `def-stru' will complete to
`define-struct', and `q/r' to `quotient/remainder'
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!