CLIM mail archive
Date: Wed, 2 Sep 1992 08:50 CDT
From: Mark Nahabedian <naha@RIVERSIDE.SCRC.Symbolics.COM>
Date: Tue, 1 Sep 1992 22:51 EDT
From: "Donald H. Mitchell" <email@example.com>
Genera 8.1, Clim 1.1
On the Symbolics, there is no *completion-characters* but there is *complete-characters*.
Is the documentation wrong or ahead of the implementation?
binding *complete-characters* and declaring it special does not seem to affect
completing-from-suggestions. Is it only to affect complete-input? Do I have to bind it
outside of my accept method?
COMPLETING-FROM-SUGGESTIONS calls COMPLETE-INPUT to do the work.
CLIM:*COMPLETE-CHARACTERS* should already be declared special (it's
defined with DEFVAR). If it gave you a special variable warning for it
then perhaps you got the package wrong?
No. It just didn't seem to pay any attention to the additional characters that I put
into it. I did the clean, non-pervasive
(define-presentation-method accept (...)
(let ((CLIM:*COMPLETE-CHARACTERS* (append '(#\a #\u) CLIM:*COMPLETE-CHARACTERS*)))
(declare (special CLIM:*COMPLETE-CHARACTERS*))
Maybe CLIM:*COMPLETE-CHARACTERS* have to be whitespace? The documentation doesn't say.
Everyone who has used this part of my interface says it should automatically complete as
soon as it can.
Don Mitchell firstname.lastname@example.org
Amoco Production Company (918) 660-4270
Tulsa Research Center
P.O. Box 3385, Tulsa, OK 74102
Main Index |