bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

readline option-interface broken: readline-set! causes Unbound variable:


From: Alan Grover
Subject: readline option-interface broken: readline-set! causes Unbound variable: readline-options-interface unbound
Date: Tue, 21 Jun 2005 12:20:31 -0400
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

Environment:
* Guile 1.6.4
* Linux xxxxx 2.6.8-24.14-default #1 Tue Mar 29 09:27:43 UTC 2005 i686
i686 i386 GNU/Linux
* SuSE 9.2
buildstamp = Fri Dec  3 18:43:57 UTC 2004
LIBS =  -lqthreads -lpthread -lcrypt -lm
libguileinterface = 15:0:3

Summary:
Use of readline-set! causes the error:
        Unbound variable: readline-options-interface

Steps to reproduce:
(use-modules (ice-9 readline))
(activate-readline)
(readline-set! bounce-parens 100)

Notes:
* Same error with bounce-parens, history-length, and history-file
* (readline-options 'full) works fine
* Same behavior with or w/o .guile file (explicitly loading/activating
readline)

Transcript:
% cat .guile
(use-modules (ice-9 readline))
(activate-readline)
% guile
guile> (readline-options 'full)
bounce-parens   500     Time (ms) to show matching opening parenthesis
(0 = off).
history-length  200     History length.
history-file    yes     Use history file.

guile> (readline-set! bounce-parens 100)
<unnamed port>: In expression (readline-options-interface (append # #)):
<unnamed port>: Unbound variable: readline-options-interface
ABORT: (unbound-variable)
guile> (backtrace)

Backtrace:
In current input:
   3: 0* (readline-set! bounce-parens 100)
   3: 1  (begin (readline-options-interface (append
(readline-options-interface) (list # 100))) (readline-options-interface))
   ?: 2* (readline-options-interface (append
(readline-options-interface) (list (quote bounce-parens) 100)))

-- 
Alan Grover
address@hidden
+1.734.476.0969

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]