[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using guile's readline module
From: |
Gene Pavlovsky |
Subject: |
Re: using guile's readline module |
Date: |
Tue, 30 Aug 2005 09:54:28 +0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050804 |
guile> (readline-set! bounce-parens 50)
<unnamed port>: In expression (readline-options-interface (append # #)):
<unnamed port>: Unbound variable: readline-options-interface
ABORT: (unbound-variable)
Type "(backtrace)" to get more information or "(debug)" to enter the debugger.
I'm using guile 1.6.7 on gentoo linux (kernel 2.6.12), readline 5.0
Neil Jerram wrote:
> Gene Pavlovsky <address@hidden> writes:
>
>
>>guile> (readline-set! 'bounce-parens 50)
>><unnamed port>: In expression (readline-options-interface (append # #)):
>><unnamed port>: Unbound variable: readline-options-interface
>>ABORT: (unbound-variable)
>
>
> Does it work if you omit the quote? In other words, like this:
>
> (readline-set! bounce-parens 50)
>
> (For some reason, possibly analogy with set!, the xxx-enable and
> xxx-disable procedures of the options interface take a quoted option
> name, but xxx-set! takes its option name unquoted.)
>
>
>>Maybe I'm doing it wrong, but I think that I follow the manual.
>
>
> The manual has examples which show this, but it isn't explicit on the
> point.
>
>
>>The second issue is that when I type something, during the time when
>>the matching paren is highlighted (and that is 500 ms by default),
>>guile doesn't accept any input, so every time I close a paren, I get
>>to wait 500 ms to type more. Both gauche and csi with readline
>>modules installed don't hang like this, so I think it's a
>>guile-specific bug.
>
>
> I probably can't help here, but what OS and Guile version are you
> using?
>
> Neil
>
>
--
The human knowledge belongs to the world