This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Bouncing parens and select()
- To: guile at sourceware dot cygnus dot com
- Subject: Bouncing parens and select()
- From: "Greg J. Badros" <gjb at cs dot washington dot edu>
- Date: 08 Mar 2000 10:48:41 -0800
In readline.c, the function match_paren() looks like it's trying to
"bounce" the paren until either the timeout occurs or there is input on
the rl_instream filehandle. This would be great if it works, but as it
is, the timeout always seems to delay my input, even as I continue
typing. Try typing:
()foo
^^^ type these characters quickly after the close paren.
and you'll see what I mean. Though this may not seem to be a problem,
it's a big deal when I'm cutting and pasting into a repl as it takes
bounce_timeout * [# of right parens] minimally.
Can anyone spot what's going wrong with the function or with
scm_internal_select (from iselect.c)?
Thanks,
Greg