This is the mail archive of the guile@sourceware.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]

Bouncing parens and select()


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

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