This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [bug] readline completion


karlheg@inetarena.com (Karl M. Hegbloom) writes:

>  I guess it's not seeing the #\> as being of symbol syntax.

You're right.  Unfortunately, this is a limitation of readline.  When
readline calls the user callback, it provides information about what's
going to be completed.  Undortunately, there doesn't seem to be a way
to control what it considers a word, so one would need to convince it
that ">" is sometimes part of a word.  There is a global variable
which, when the callback is being called, stores the line so far; one
might be able to do something clever here.  But it would be
complicated.  

Andrew